Replies: 2 comments 12 replies
-
Hi @halilb, I'm not sure if I understood everything correctly. I try to summarize it:
I'm not sure if this answers your questions 😅 |
Beta Was this translation helpful? Give feedback.
-
I just realized there is a VSCode plugin that solves some of the pain points I described: https://github.com/lokalise/i18n-ally We are using One thing that'd help us could be removing the translation from Example output: type RootTranslation = {
server: {
/**
* You need to post a comment first to be able to complete this lesson.
*/
needCommentFirst: string;
};
};
export type TranslationFunctions = {
server: {
/**
* You need to post a comment first to be able to complete this lesson.
*/
needCommentFirst: () => LocalizedString;
};
}; Is there a way to modify auto-generated |
Beta Was this translation helpful? Give feedback.
-
Thanks for the great library @ivanhofer!
My colleague told me about Elastic's kbn-i18n library while I was integrating this one into our project.
It has one requirement to keep the default English version right next to the template where the translation is used. This is because they want to fuzzy-find English texts in the project and jump right at where it's used. It also adds more context to template files so devs would know better what they're looking at.
It comes with a few trade-offs so we're not sure if using default values is worth the effort. So I wanted to ask you before going forward with this decision: can you think of a way to build it as a wrapper of
typesafe-i18n
?Beta Was this translation helpful? Give feedback.
All reactions