Generating and managing the translations files for large scale applications like ERP etc is very cumbersome.

Aperta
#23,428 26 commenti 15 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
angular, typescript

Direzione di ricerca

Inizia esaminando il workflow di internazionalizzazione di Angular CLI che genera messages.xlf e l’alternativa ngx-Translate menzionata. Definisci l’ambito previsto per i file a livello di modulo o componente rispetto agli aggiornamenti automatici delle locale; il lavoro sarà considerato completato quando sarà richiesta una modalità specificata e manutenibile per generare o sincronizzare nuove trans-units tra i file di locale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

devkit/build-angular:i18n feature feature: under consideration

🚀 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.

Lingua principale
TypeScript
Stelle
27k
Fork
11.8k
Merge medio
16h 35m
PR unite (30g)
176

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di angular/angular-cli

Tutte le issue di angular/angular-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.