Skip to content
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

[Question]: How do I change the user interface language? #3569

Open
coolvitto opened this issue Jan 10, 2025 · 5 comments
Open

[Question]: How do I change the user interface language? #3569

coolvitto opened this issue Jan 10, 2025 · 5 comments

Comments

@coolvitto
Copy link

Where do I place the downloaded Japanese language files (codelite.mo, codelite.po)?
Even if I copy them to the installation folder and check "Enable localization" on the settings page, I cannot change the UI language.
sshot-16

@Jarod42
Copy link
Contributor

Jarod42 commented Jan 15, 2025

You have to set some environment variable IIRC: Gettext#Running:
LC_MESSAGES or LANGUAGE.

@coolvitto
Copy link
Author

set LANGUAGE=ja_JP
set LANGUAGE=ja_JP.UTF-8
set LC_MESSAGES=ja_JP
I tried all of these but I can't change it.

Where do I copy codelite.mo and codelite.po?

@Jarod42
Copy link
Contributor

Jarod42 commented Jan 15, 2025

Which platform do you use?

For *NIX, files should already be present in usr/share/locale.

Files (as ja_JP/LC_MESSAGES/codelite.mo) are looked up depending on platform in:

  • usr/share/locale
  • usr/local/share/locale
  • $(CodeliteInstallDir)/share/locale
  • $(CodeliteInstallDir)/locale

@coolvitto
Copy link
Author

coolvitto commented Jan 15, 2025

Solved
thanks

@eranif
Copy link
Owner

eranif commented Jan 15, 2025

On Windows, you will need to re-compile CodeLite. The icon is embedded in the .rc file:

https://github.com/eranif/codelite/blob/master/LiteEditor/code_parser.rc#L2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants