A tiny little webapp to quick and dirty translate XLIFF 2.0, XLIFF 1.2 or xmb/xtb files before Angular CLI officially supports built-in translations.
- Tiny Translator (English)
- Tiny Translator (Deutsch)
- Tiny Translator (Google traduit Français)
- Tiny Translator (Русский Google переведен)
The French and Russian instances may be incomplete as I do not have a paid Google Translate API key.
Latest version now uses Angular 7 CLI. You can still onload .xlf files from Angular 6 and below into the running app.
$ npm install
$ npm run start-en
Go to localhost:4200
$ npm run extract
$ npm run publish:ghpages
-
This is forked from martinroob/tiny-translator.
-
Notes from original repo/author: This project has moved to the monorepo ngx-i18nsupport.
Here can find the actual Tiny-Translator README.
The ready to use application can be found on the following GitHubPages:
- Tiny Translator (English)
- Tiny Translator (Deutsch)
- Tiny Translator (Google traduit Français)
- Tiny Translator (Русский Google переведен)
Bugs can be reported using the issue tracker of this repo or using the issue tracker of the new monorepo.
-
-
For extracting and generating xlf files, I had revised npm scripts made by martinroob into new ones that use ngx-translate/i18n-polyfill.
- NOTE: this is just used for translating tiny-translator itself, NOT for what it does (.xlf load, parse, export, etc).
- This setup (I mean the
npm run extract
scripts andangular.json
) can be imitated for other Angular 6/7 projects that require i18n. Please follow the i18n-polyfill docs for a full explanation.