Localize Your App with NG2-Translate!

By Justin

Localization is extremely important for software, especially as your app grows. Can you imagine not speaking the language in which an app is written and still trying to use it? In the past, it was hard to do localization in Ionic 2, as there were no solid Angular 2 localization libraries, but now, that has changed with NG2-Translate!

NG2-Translate Offers Simplicity

NG2-Translate is dead simple to use. It provides a pipe and a service with a few observables and methods that allow you to translate not only static HTML strings, but JavaScript values, too. This makes it very easy to implement into your existing Ionic 2 app and translate everything from the title of an alert to the name of your app in the navbar. Don’t you love it when things are this easy?

Angular 2 FTW

NG2-Translate is a perfect example of one of the biggest strengths of Ionic 2: being built with Angular 2. Because Ionic 2 is built with Angular 2, we get all the benefits of the Angular 2 ecosystem, including awesome libraries like this. And this means that as the Angular 2 ecosystem grows, the Ionic 2 ecosystem also grows, which provides nothing but benefits for Ionic 2 developers.

Read the full article...

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


  1. I would suggest using the app localization platform https://poeditor.com to localize Angular software. One can translate .xmb and .xtb files collaboratively using their own translators, crowdsourced translations or order professional human translations.