angular / angular/angular-cli

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

Aberta
#23,428 26 comentários 15 reações 0 responsáveis Ver no GitHub
devkit/build-angular:i18n feature feature: under consideration
Linguagem predominante
TypeScript
Estrelas
27k
Forks
11.8k
Merge médio
14h 23min
PRs com merge (30d)
162

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece revisando o fluxo de trabalho de internacionalização do Angular CLI que gera messages.xlf e a alternativa ngx-Translate mencionada. Defina o escopo pretendido para arquivos no nível de módulo ou componente em comparação com atualizações automáticas de locale; o trabalho estará concluído quando for necessária uma forma especificada e sustentável de gerar ou sincronizar novas trans-units entre os arquivos de locale.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
angular, typescript
Domínio
internationalization, tooling
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.