xi18n should parse index.html and build should fill in the translated texts in index.html
- Langage dominant
- TypeScript
- Étoiles
- 27k
- Forks
- 11.8k
- Merge moyen
- 14 h 23 min
- PR mergées (30 j)
- 162
Description
### Versions
```
Angular CLI: 1.6.0
Node: 8.9.1
OS: darwin x64
Angular: 5.1.0
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic, router
... service-worker
@angular/cdk: 5.0.0
@angular/cli: 1.6.0
@angular/material: 5.0.0
@angular-devkit/build-optimizer: 0.0.35
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.41
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.0
@schematics/angular: 0.1.10
@schematics/schematics: 0.0.10
typescript: 2.4.2
webpack: 3.10.0
```
### Repro steps
* in index.html, use the i18n marker like
please wait...
* run ng xi18n
* the 'please wait' does not popup in the gererated .xlf files
* run ng build ng build -prod --aot --output-path=dist/de --base-href /de/ --i18n-file=src/i18n/messages.de.xlf --i18n-format=xlf --locale=de;
### Observed behavior
```
```
### Desired behavior
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par l’exemple index.html contenant le marqueur i18n, puis exécutez ng xi18n et la commande ng build indiquée pour reproduire l’entrée manquante et la sortie non traduite. Suivez la façon dont les fichiers .xlf générés et la sortie du build sont produits ; c’est terminé lorsque le texte de index.html apparaît dans le fichier de traduction et que le texte traduit est inséré dans le index.html généré.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- build-system, localization
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100