You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose adding i18n support to ALIEN and would appreciate some initial feedback. Considering two approaches.
Option A: _(key) + JSON
_("Energy") wraps strings, looks up translations from a JSON file at runtime, falls back to the original text if not found.
Option B: gettext
GNU standard with .po files and xgettext for automatic string extraction.
I lean toward Option A since it keeps things simple and works well on Windows without extra dependencies. A complete Chinese translation (~600 strings, full GUI coverage) is already done in a fork and can be contributed once the approach is settled.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to propose adding i18n support to ALIEN and would appreciate some initial feedback. Considering two approaches.
Option A: _(key) + JSON
_("Energy") wraps strings, looks up translations from a JSON file at runtime, falls back to the original text if not found.
Option B: gettext
GNU standard with .po files and xgettext for automatic string extraction.
I lean toward Option A since it keeps things simple and works well on Windows without extra dependencies. A complete Chinese translation (~600 strings, full GUI coverage) is already done in a fork and can be contributed once the approach is settled.
Looking forward to your feedback.
Beta Was this translation helpful? Give feedback.
All reactions