<commit_before>---
title: 'angular-gettext - Super-simple translation support for Angular'
template: wide.jade
---

section#home-header
    .container
        h1 angular-gettext
        p.lead Super-simple translation support for Angular.JS

        p: strong Key Features

        .row
            .col-sm-4 Globalize effortlessly
            .col-sm-4 Works seamlessly with Angular.JS
            .col-sm-4 Trivial to integrate
        .row
            .col-sm-4 Built on a rich ecosystem of gettext tools
            .col-sm-4 Tiny footprint
            .col-sm-4 Correct plurals in over 130 languages

section
    .container
        .row
            .col-md-6
                h2 Effortless translations
                p 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.
                p Marking a string as translatable is as simple as adding an attribute:
                :markdown
                    ```html
                    <a href="/" translate>Home</a>
                    ```
                p No need to maintain translation codes or magic values, that just causes headaches!
            .col-md-6
                h2 Seamless Angular.JS integration
                p Translating your application doesn't mean you have to give up any of the good stuff that Angular.JS provides. Interpolation and everything else we love and are used to just keep on working:
                :markdown
                    ```html
                    <a href="/" translate>Hello {{name}}</a>
                    ```
                p And with a minified footprint of less than 4kb, you don't have to worry about the size of your application. Add gzip compression and it amounts to less than 1.5kb.

section
    .container
        h2 Correct plurals in all languages
        p 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.

        :markdown
            ```html
            <span translate translate-n="msgCount" translate-plural="{{$count}} new messages">1 new message</span>
            ```

        p The <code>span</code> above will always show a correctly pluralized message, even if the language uses wildly different pluralization rules.

        p A full list of supported languages (over 130) can be found <a href="http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html?id=l10n/pluralforms">here</a>.

section#home-tools
    .container
        .row
            .col-sm-5.col-md-3.col-xs-12
                h2 Rich tool support
                p The widely used <a href="http://en.wikipedia.org/wiki/Gettext">gettext format</a> is used in angular-gettext (hence the name). This means you can use widely established translation tools like <a href="http://www.poedit.net/">Poedit</a>. Or you can use an online translation platform like <a href="http://pootle.translatehouse.org/">Pootle</a> or <a href="https://www.transifex.com/">Transifex</a>.
                p The upside of this? Non-technical users can help out by translating. Or you can use professional translation services. Better results, faster.

section#home-getstarted
    .container
        .text-center
            h2 Get going fast
            p.narrow Adding angular-gettext to your project only takes minutes. There's a sample application, a step-by-step guide and comprehensive documentation of all the tools you need.
            a.btn.btn-default.btn-lg(href="/dev-guide/getting-started/") Get started!

        hr
        p Angular-gettext was written by <a href="http://rocketeer.be"><NAME></a> and is licensed under the <a href="https://github.com/rubenv/angular-gettext/blob/master/LICENSE">MIT license</a>. You can get it on <a href="https://github.com/rubenv/angular-gettext">GitHub</a>.<commit_msg>Add Zanata as an available translation platforms.<commit_after>---
title: 'angular-gettext - Super-simple translation support for Angular'
template: wide.jade
---

section#home-header
    .container
        h1 angular-gettext
        p.lead Super-simple translation support for Angular.JS

        p: strong Key Features

        .row
            .col-sm-4 Globalize effortlessly
            .col-sm-4 Works seamlessly with Angular.JS
            .col-sm-4 Trivial to integrate
        .row
            .col-sm-4 Built on a rich ecosystem of gettext tools
            .col-sm-4 Tiny footprint
            .col-sm-4 Correct plurals in over 130 languages

section
    .container
        .row
            .col-md-6
                h2 Effortless translations
                p 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.
                p Marking a string as translatable is as simple as adding an attribute:
                :markdown
                    ```html
                    <a href="/" translate>Home</a>
                    ```
                p No need to maintain translation codes or magic values, that just causes headaches!
            .col-md-6
                h2 Seamless Angular.JS integration
                p Translating your application doesn't mean you have to give up any of the good stuff that Angular.JS provides. Interpolation and everything else we love and are used to just keep on working:
                :markdown
                    ```html
                    <a href="/" translate>Hello {{name}}</a>
                    ```
                p And with a minified footprint of less than 4kb, you don't have to worry about the size of your application. Add gzip compression and it amounts to less than 1.5kb.

section
    .container
        h2 Correct plurals in all languages
        p 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.

        :markdown
            ```html
            <span translate translate-n="msgCount" translate-plural="{{$count}} new messages">1 new message</span>
            ```

        p The <code>span</code> above will always show a correctly pluralized message, even if the language uses wildly different pluralization rules.

        p A full list of supported languages (over 130) can be found <a href="http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html?id=l10n/pluralforms">here</a>.

section#home-tools
    .container
        .row
            .col-sm-5.col-md-3.col-xs-12
                h2 Rich tool support
                p The widely used <a href="http://en.wikipedia.org/wiki/Gettext">gettext format</a> is used in angular-gettext (hence the name). This means you can use widely established translation tools like <a href="http://www.poedit.net/">Poedit</a>. Or you can use an online translation platform like <a href="http://pootle.translatehouse.org/">Pootle</a>, <a href="https://www.transifex.com/">Transifex</a>, or <a href="http://www.zanata.org">Zanata</a>.
                p The upside of this? Non-technical users can help out by translating. Or you can use professional translation services. Better results, faster.

section#home-getstarted
    .container
        .text-center
            h2 Get going fast
            p.narrow Adding angular-gettext to your project only takes minutes. There's a sample application, a step-by-step guide and comprehensive documentation of all the tools you need.
            a.btn.btn-default.btn-lg(href="/dev-guide/getting-started/") Get started!

        hr
        p Angular-gettext was written by <a href="http://rocketeer.be"><NAME></a> and is licensed under the <a href="https://github.com/rubenv/angular-gettext/blob/master/LICENSE">MIT license</a>. You can get it on <a href="https://github.com/rubenv/angular-gettext">GitHub</a>.
{'fraction_non_alphanumeric': 0.08515905433840822, 'fraction_numerical': 0.007921772496596114, 'mean_word_length': 2.2541280708819977, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 6, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7418271', 'n_tokens_mistral': 2175, 'n_tokens_neox': 2021, 'n_words': 835}