Angular Translator helps you translating your Angular application, including plurals and selects. Translation applications like this one are generally not specialized for a specific framework. This application prefers to specialize in the translation of Angular applications only, so it can integrate perfectly with the framework.
ng-xi18n Angular tool is responsible for extracting from the app sources the terms to translate. This tool creates a
messages.xlf) file containing all the necessary information for the human translator to do his job.
Angular Translator gets this
messages.xmb file and uses it at the reference for the terms that have to be translated. It is called the source file in the app.
In Angular Translator, you then have to declare the different file names where the different translations for specific languages will be stored. When you begin, you do not need to create these translation files, the app will do that for you. They all called the translations files in the app.
When you have finished translating for a specific language, you can export the translation file for this language and place it beside your source file in your sources repository. If you decide to work again on the translations for this same language, the translations you have made earlier will be extracted from this translation file.
When you update your app and add or remove terms to translate and regenerate the
messages.xmb source file with
ng-xi18n, you do not need to merge the differences to your translation files. Because Angular Translator gets the source file as the reference, it will handle correclty the terms removed or added.
First declare a new project in the application, with
New Project... in the sidenav. You will have to declare some information for this new project:
Hackbit/angularattack2017-feloyfor translating this app,
Once your project created, the app will load the contents of the source file and extract the terms to translate.
You then have to choose one language you want to work with, based on the list of files you have declared as translations files, using the select listing the different translations files names.
If the translation file exists in the repository, the app loads it and extracts the translations already done.
You can now begin to translate the different terms.
When you are done, you can use the
Extract button on the upper-right corner to extract the translations in the current language in a local file. You can now commit this file in your repository.
View the screencast:
Wow, this solves a real problem. Also, thanks for pointing me to latest angular i18n feature. I didn't know of this earlier.
An impressive feat for a one man team. Was actually able to use it in one of our projects :) Being able to save back directly into github would make it amazing, but hey, that's something for the next 48 hours I guess ;)
Great work!! Best of luck :)
Really useful :)
Clever and usefull app. You should make it available somewhere as a tool. I'm sure many developers will use to translate their angular app.
It's could be helpfull to me. Good job man.
I Liked it!!!
Really cool app with material design that you have developed in 48 hours.!! I like your Idea.!! good application. well done @Martin :)
It will be great if you are playing a game which is developed by me and providing a feedback :)
Good idea on working with a translator. Good luck!
Philippe, a lot of great work has been done! I would really see this useful for product owners in enterprise organisations, who are not developers, to perform translation.
UI looks really clean and convenient! Well done.
got lost at first, but got the premise eventually
Your feedback to our entry would be appreciated as well. GLHF!
This looks like an actually useful project,
Novel idea to provide easy angular translation. Great job!