angular-gettext
angular-gettext copied to clipboard
Gettext support for Angular.js
Removed $http from factory dependency and dynamically inject it only when user actually changes language.
Hi, Interpolation works fine for me in Chrome/Firefox for rtl languages such as Arabic, but when I tested in IE 11, they did not get interpolated ie. this: Hello {{name}}...
` 1 hour` I have this and activity.length initial value is 1 ->"1 hour" is show. When activity.length increases -> "{{$count}} hours" is shown, but when returns to 1 ->...
New to this, possibly making all kind of errors. That said, it seems that the nggettext_extract grunt task silenlty drops any input pattern not ending in 'html'. E. g. ,...
This article http://blog.altoros.com/speed-up-i18n-in-angularjs.html describes how to speed up angular applications that heavily use translate libraries like this one. Article gives example for angular-translate. I wanted it work with _angular-gettext_. In...
Is there any way to be able to put translation comments for attributes? e.g. ``` html X ```
Hello and thanks for this awesome tool! I need to annotate strings so that I can then translate them via gettextCatalog.getString(var). But I am not using grunt. How can I...
Suppose I have (index.html) ``` html Hello, world! ``` and (scenarios.js) ``` js describe('index', function() { it('should say hello', function() { expect($('h1').getText()).toBe('Hello, world!'); }); }); ``` How do I ensure...
Replace HTML special () chars to make them usable in keys ``` & = & < = < > = > ```
This is not obvious how to use non-breaking space with Angular and Angular-gettext. They are required in some languages, like in french before each question, exclamation mark, semicolon, thousands separator,...