Outdated i18n example
See original GitHub issue📚 Docs or angular.io bug report
Description
The example i18n project referenced in the latest documentation is using old (<9) style localization configuration, and the source code does not match the documented instructions
🔬 Minimal Reproduction
What’s the affected URL?**
https://angular.io/guide/i18n#translate-attributes
Expected vs Actual Behavior**
Would have expected a section in the angular.json similar to:
"i18n": {
"sourceLocale": "en-US",
"locales": {
"fr": "src/locale/messages.fr.xlf"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Outdated POT file and other i18n issues - WordPress.org
I came across an issue with the language files where a lot of strings where not translated and not in the locale files....
Read more >Angular i18n: internationalization & localization with examples
In this article you will learn with examples how to get started with Angular I18n using the built-in internationalization module.
Read more >i18n: languages, countries and character sets - W3C
Most popular charsets. A study during the first half of 1997 by the Babel team gave these counts on a sample of 3239...
Read more >How To Use Internationalization (i18n) in Angular | DigitalOcean
Navigate to the newly created project directory: cd angular-internationalization-example. To create the basis for the translation project, open ...
Read more >Migration Guide - i18next documentation
To enforce old behaviour you can set skipOnVariables = false on i18next ... It can be used as primary used language, for example...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The current docs also indicates to use the parameter
--i18nLocale
withng serve
orng build
that is no longer available since v9https://angular.io/guide/i18n#i18n-pipes
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.