Generating and managing the translations files for large scale applications like ERP etc is very cumbersome.
- Dominant language
- TypeScript
- Stars
- 27k
- Forks
- 11.8k
- Avg merge
- 14h 23m
- Merged PRs (30d)
- 162
Description
# 🚀 feature request.
Generating and managing the translations files for large scale applications like ERP etc is very cumbersome.
### Relevant Package
This feature request is for @angular/....
### Description
Using the angular's builtin translation which the angular platform provides, managing and generating the translation files for multiple locale is very cumbersome , error prone and very difficult to manage as the application size scales, as generating the translation files after adding new i18n tags , generates the a default file *messages.xlf* and it becomes very difficult to dig into this default file (because of size .. lines of code.) and parse out the new trans-units and then move them to each locale files manually , and paste the target tag for the new trans-units .
### Describe the solution you'd like
Either the translation file should be provided for each module or component level, or there must be some version control system used to check the differences/changes in the default messages.xlf file and these changes automatically being added to other locale files . Means atleast the new trans-units must be appended automatically to the locale files that the intended developer needs to create.
### Describe alternatives you've considered
We have gone through ngx-Translate etc tools that provides run-time translation using pipes, but if the angular's builtin internalization module provides additional updates in near future to ease the internationalization process for developers , its far better than other third party packages.
Contributor guide
Research direction
Start by reviewing the Angular CLI internationalization workflow that generates messages.xlf and the mentioned ngx-Translate alternative. Define the intended scope for module- or component-level files versus automatic locale updates; done would require a specified, maintainable way to generate or synchronize new trans-units across locale files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- internationalization, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100