Angular-gettext let's you focus on developing your application. Just write everything in English and annotate which parts should be translated. The tools do the rest.
Marking a string as translatable is as simple as adding an attribute:
<a href="/" translate>Home</a>No need to maintain translation codes or magic values, that just causes headaches!
Not every language works like English. Did you know that Polish uses three plural forms? Or that Irish uses five? No worries, angular-gettext handles all of this for you. Just provide a plural string where needed.
<span translate translate-n="count" translate-plural="There are {{count}} messages">There is {{count}} message</a>The span above will always show a correctly pluralized message, even if the language uses wildly different pluralization rules.
A full list of supported languages (over 130) can be found here.
Your new post is loading...