Search code examples
angularjsangular-translate

Dynamic create translations file. Angular translation


I'm in need of a way to dynamically create my translations file for my app.

Right now i can create the json object like this, in my app

{
    Name: 'User Name',
}

but i can't find a way to tell my $translateProvider to use this to translate my site, Do anyone know how this can be done?


Solution

  • Use angular-gettext translator

    angular-gettext.rocketeer.be