-
Notifications
You must be signed in to change notification settings - Fork 169
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
How to change UI language #176
Comments
I have provided the procedure for linux and Windows on my blog (in French) to switch from French to English and vice versa. Feel free to use it to update the documentation. |
I was exactly in this case. I couldn't find your tutorial with my search words. So I'll add this in the english and french version. |
It works perfectly for Windows too, not just for Linux. I simply renamed "locale" to "FontForge,mo" and after restarting it worked like a charm. Thank you ! |
I am a Linux Ubuntu system. The file is located at: ❌ /usr/share/locale/[your os language]/LC_MESSAGES/FontForge.mo
✅ /usr/local/share/locale/zh_TW/LC_MESSAGES/FontForge.mo If it isn't found, you can search for it using the sudo find / -type f -name FontForge.mo After locating it, you can rename it accordingly. For example, if the language is you can rename sudo mv -v /usr/local/share/locale/zh_TW/LC_MESSAGES/FontForge.mo /usr/local/share/locale/zh_TW/LC_MESSAGES/orgFontForge.mo
|
Seems a little bit harsh to be modifying files in root mode, but as the saying goes, there is more than one road to Rome :-) See if this works for you (providing 4 examples below):
Note: Before you can do this, you will need to import the locale(s) for the languages of interest if you don't have them on your computer already. |
It's may be interisting to share a trick to change language of UI in "Configuring FontForge" topic.
FontForge use automaticly the OS localisation (explain here) and I don't know how to change this without rebuild app. But it's easy to hack this and force to use the english version in linux :
remove or rename the file
/usr/share/locale/[your os language]/LC_MESSAGES/FontForge.mo
tadam ! And maybe a solution for Windows but I can't test for now.
If you validate the idea, I can write this and propose a pull request.
Have a nice end of year !
The text was updated successfully, but these errors were encountered: