-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gettext support #97
gettext support #97
Conversation
@ksqsf do you want to use fcitx’s transifex for gettext? We have many scripts to pull, merge, and update pot files |
Yes we'd like to use it later when it is ready for initial release. Currently the default implementation doesn't recognize that option value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a huge step. LGTM!
gettext
only affects C++ sources.Run Fcitx5 withThe locale is determined by system settings, not from envvars.LANG=zh_CN.UTF-8
orLANG=en_US.UTF-8
, and the option names (from domainsfcitx5
andfcitx5-macos
) should appear in the specified language.Please also take a look at my translations.
(NOTE: text domains from plugins (e.g.(Addon text domains are hardcoded for now. The text domain should be read from metadata in the future.)fcitx5-chinese-addons
andfcitx5-rime
) are not registered successfully due to hardcoded locale dir, so option names from e.g. Pinyin are still English.)