Generating and managing the translations files for large scale applications like ERP etc is very cumbersome.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 27k
- Forks
- 11.8k
- Ø Merge
- 14 Std. 23 Min.
- Gemergte PRs (30 T.)
- 162
Beschreibung
# 🚀 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.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Überprüfung des Internationalisierungs-Workflows der Angular CLI, der messages.xlf generiert, sowie der erwähnten ngx-Translate-Alternative. Lege den vorgesehenen Umfang für Dateien auf Modul- oder Komponentenebene im Vergleich zu automatischen Locale-Aktualisierungen fest; als erledigt gilt die Aufgabe, wenn eine spezifizierte, wartbare Möglichkeit zum Generieren oder Synchronisieren neuer trans-units über Locale-Dateien hinweg erforderlich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- internationalization, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100