- Publish (as `@kemdict/gettext`) - Extractors - Support anything that converts into JS - Transpiled JS: pass into xgettext - Some kind of sourcemaps: (TODO) map output line numbers in xgettext back to source line numbers - Glob: how to find files in that language in a directory - Runtime - Plurals: update data (use the cldr-plurals program like msginit) - Plurals: make sure we understand every file from eg. KDE - #5 Fallback to specified languages, not just to source text (gettext behavior), perhaps as an option - ~~Remove the events system, I don't think it's useful enough~~ done in 9af9283ecfb4e96ecc3cb29919f5b2aabee6b62b - #3 Remove domains (like how Python's gettext doesn't have domains, see #2) - Just initialize another instance of the main class - Simplifies the set of translation functions
@kemdict/gettext)Remove the events system, I don't think it's useful enoughdone in 9af9283