angular-gettext-tools
angular-gettext-tools copied to clipboard
Tools for extracting/compiling angular-gettext strings.
See rubenv/angular-gettext#103 Pull requests welcome ``` js {{"1 car" | translate:"context"}} ```
Our translators seem to have a thing for translating English to English even if they change nothing (maybe they like 100% completion in their tool of choice?). After extraction, we...
Given two consecutive attributes in a DOM node, only the first one gets extracted. For example in the following div only `string1` will get extracted: ``` ``` However if there...
This adds support to extract strings from `translatePlural` filter. This is together with rubenv/angular-gettext#122
Hi everyone, I just grab the code and i am trying to use the extractor and compiler to run on every js code, some places we are using Angular and...
Hi! If we'll try to process such html with `angular-gettext-tools`: ``` html ``` It will produce duplicate keys: - `"BlahBlahBlah"` - `"{{'BlahBlahBlah"` As you see, in html attribute we have...
See rubenv/angular-gettext#103 Pull requests welcome ``` js {{"1 car" | translatePlural:n:"$count cars"}} {{"1 car" | translatePlural:n:"$count cars":"context"}} // With a context ```
Since #49 we support extracting line numbers from JS. But if the JS has been transpiled from something like CoffeeScript, those line numbers won't correspond to the actual source line...
Could you support xml as extracting files?