![]() These last strings can then be imported to supply the bootstrapModule with its translation provider options.Ĭaveat: I have not used this exact solution (and code) myself, but I was able to expose generated xlf as TypeScript strings and use them in an app in a manner similar to what he described. Specifically it runs ng-xi18n to extract the messages creates an English translation with sources copied to targets updates existing translations by adding new trans-units, keeping existing ones, and removing missing ones and then exposes all xlf files as TypeScript string constants. To summarize, in a few dozen lines of Gulp code he created the tooling to handle some of the challenges you faced. The best workflow automation solution I have seen described so far is from Roland Oldengarm's blog entry "Angular 2: Automated i18n workflow using gulp". Thanks for any help in advance, I really appreciate it Googling did not help, as every hit seems to be related to XCode or something.Virtaal works great for merging new strings from a template, but the UI in general is very poorly designed.I also tried OmegaT, which does not work at all on my platform (Ubuntu 16.04).However, now the "Update file from template" option is greyed out, and I don't know why. After downgrading my version of Lokalize to the suggested one, many issues (including the ones mentioned in the question) disappeared. Turns out, I had similar issues as in this question.Even though there is a tooltip in Lokalize's primary sync tab, notifying me about "x unmatched entries", I just couldn't find anything to append those unmatched entries to my. This seems to be a function to merge two similar files (by multiple translators) rather than a tool to update the translation file from a template. I did not find anything in the handbook to explain this function. I see a lot of functions that sound promising, like: The Lokalize handbook was not helpful at all.What are proof of concept tools to work with. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |