Angular native i18n
antfu opened this issue ยท 6 comments
What framework do you want to have? Please provide links of its i18n solution/package.
Angular
Please provide some overall screenshots about how the i18n usage would be like
<h1 i18n="site header|An introduction header for this sample@@introductionHeader">Hello i18n!</h1>
Please provide a minimal starter project
Already included in the examples
https://github.com/antfu/i18n-ally/tree/i18n-ally/examples/angular
Additional context
Things to be done to support angular
- XLFF parser
- BCP47 locale code format, and an option to switch between different format
- Angular frameworks
Vote
This extension is supporting ngx-translate
now. I am not an Angular user and I am not sure what's the community favor.
If you would like to see this get supported, please hit
Hey guys, any good XLFF parser in js recommended?
Hey guys, any good XLFF parser in js recommended?
How about https://github.com/locize/xliff?
Any update on this?
Yeah, it's very hard to implement the support of the native Angular localization approach which involves attributes instead of translation functions. Let's close the issues as it's already over two years old.
I mean it has 15 upvotes ;) @antfu
Just returning to the past and realizing that angular i18n has absolutely ZERO tooling , and thirdparty tools like ngx-translate are everywhere listed as "deprecated", and "outdated", "unmaintained" - but do their job just fine.
If you start a new angular project: please just use ngx translate and dont look back.