gettext-extractor
gettext-extractor copied to clipboard
A flexible and powerful Gettext message extractor with support for JavaScript, TypeScript, JSX and HTML.
https://github.com/XRFoundation/XREngine pls give me cheatsheet for use your app commands and paths pls
Hi, thanks for your great work! I encountered a smallish problem where the extractor fails to extract context strings that are not string literals from js/ts files. I like to...
Thank you for the module you've created. I have a problem with generating a .pot file for the code like ```i18nPlural(issuesAmount, `${issuesAmount} issue`, `${issuesAmount} issues`)```. i18nPlural is implemented with the...
I have the following angular template: ``` {{__('Import')}} ``` The 'Import' string is successfully extracted using your lib, but the 'Click to Import' text is ignored. I assume this happens...
The `addMessage` method on the `Extractor` class does not allow to add messages where some fields are null. But the definition of the `IMessage` interface allows `null` values for `text`,...
Gettext allows the following comments: ``` #| msgctxt previous-message-context #| msgid previous-untranslated-string-singular #| msgid_plural previous-untranslated-string-plural ``` It would be nice if these would be supported for custom extractors.
Since the current existing extractors didn't match our project, I've created an extractor to be used with regular expressions. I think this can be a good additional extractor for this...
This adds a `rawHtml` option to extract the actual source html instead of the parse5 roundtripped version; Not sure if its a good idea but I'm trying to replace a...
Hi, Is it possible to disable the output of line numbers in references field? The idea behind is to reduce the amount of noise in gettext catalogues because our codebase...
The generated POT file's messages are sorted alphabetically (i.e. `msgid "a"` is above `msgid "b"`) In other implementations such as Python's Babel (http://babel.pocoo.org) messages are sorted by source file path....