mix gettext.export_csv
(game_server_web v1.0.940)
Copy Markdown
Exports all PO translations and theme JSON config for a locale to CSV.
Usage
mix gettext.export_csv LOCALE [--output FILE] [--config BASE_PATH]Examples
mix gettext.export_csv es
mix gettext.export_csv es --output translations/es.csv
mix gettext.export_csv es --config modules/example_config.jsonThe CSV has columns: domain, msgid, source, translation, fuzzy.
- For PO messages:
sourceis empty (themsgiditself is the English source text),translationis themsgstrvalue. fuzzyis"yes"when the entry is marked fuzzy, otherwise empty.- For JSON config: domain is
_config,msgidis the JSON key path,sourceis the English reference text from the base config,translationis the locale text. Edittranslationto change.
Empty translation cells indicate untranslated strings that need work.