Super-simple translation support for Angular.JS
Questions tagged [angular-gettext]
23 questions
0
votes
0 answers
translate directive not work in angular
I'm currently working on an angular hybrib app (angular + angularJs).
The app use angular-gettext and ngx-translate for translation.
Both work in their own runtime but I can't make it work when I downgrade an Angular component into an angularJs…

lionelB
- 209
- 3
- 14
0
votes
1 answer
Angular Gettext: plural format in .po file
Suppose I have this snippet
1 item
What syntax do I have to have in .po file to translate it both for singular and plural?

knitevision
- 3,023
- 6
- 29
- 44
0
votes
1 answer
angular-gettext and translating strings in ternary conditions
Before I start rewriting my code:
Using angular-gettext, is there anyway to deal with these type of inline ternary condition? Applying the translate filter doesn't seem to be an option here...

Raymond Elferink
- 233
- 1
- 6
0
votes
1 answer
Use ui-sref in .po translation file for angular-gettext
everyone. Here is my issue.
I use angular-gettext for translations and in my HTML I got
in my en-EN.po file I have:
msgid "Text to translate"
msgstr "This is my text…

Leo
- 5,363
- 5
- 27
- 30
0
votes
1 answer
.pot file is overwritten everytime gettext.extract() is executed - old translations lost
I'm using angular-gettext to have a multi-language app in AngularJS
I cannot find the way to maintain the old translations and not overwrite them every time I extract them.
here is of my gulpfile.js
var gulp = require('gulp');
var gettext =…

Adrian Bolonio
- 517
- 4
- 17
0
votes
1 answer
Angular translate decimal numbers
I am using angular-gettext for a project. I was wondering if somehow I could translate decimal numbers. FX in some languages you write 2.5 and some other 2,5. Do you have any idea if this is doable via the angular-gettext?
What other workaround…

Potney Switters
- 2,902
- 4
- 33
- 51
0
votes
1 answer
Handling grammatical gender with Angular-Gettext
I'm looking for a simple-proper-elegant way to handle grammatical gender with Angular-Gettext.
Is it possible to do something with the translate-plural directive or by using ng-pluralize ?

Jade Hamel
- 1,360
- 1
- 15
- 30
0
votes
2 answers
angularjs: gettext not working in ngSwitch
I'm trying to use gettext in combination with ngSwithc, as follows:
...
...

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333