baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux
http://www.nixnote.org
Other
1.11k stars 157 forks source link

Unable to modify language settings #480

Closed 0x7a7a closed 5 years ago

0x7a7a commented 5 years ago

I found that I can't switch languages. After rebooting, it doesn't work. I switched Chinese, and I tried other languages as well. By the way, how to set the language node in the configuration file, I want to try to modify it directly in the configuration file to see if it can take effect.

0x7a7a commented 5 years ago

nixnote2 version:2.1.0 system: arch linux

robert7 commented 5 years ago

Pls. provide more info... The locale only switches after app restart.. See screenshoots how I switched from "System default" to "Czech"... and where its in config.

screen_20190429_04 screen_20190429_05 screen_20190429_06 screen_20190429_07

0x7a7a commented 5 years ago

Robert, thank you for your reply I tried to modify the settings again according to your instructions. I found that it can only be set to English or Czech, these two can be effective (after restarting the application) Other languages have been shown in the configuration file, but the nixnote is still in English. I doubt if there is a lack of language files?

Here is the log of loglevel=1 Recorded the process from opening the app to switching to Chinease and then exiting nixnote.log

robert7 commented 5 years ago

your logfile says you are trying to load "en_US" which was not found, so it reverted to default.. screen_20190507_25

you can try following 1, install newest version (you are using 2.1.0 where 2.1.3 is current -. see https://github.com/robert7/nixnote2/releases ) 2, then look what translations you have actually installed 3, the you can manually set "translations" in config file to one of installed translations 4, then check in log file the lines starting with "Looking for translations"

screen_20190507_23

screen_20190507_24

as you see I activated german translation

and now chinese screen_20190507_26

robert7 commented 5 years ago

I doubt if there is a lack of language files?

in one of the older versions, there was problem with missing translations this has been corrected long ago maybe 2.1.0 was affected.. so try 2.1.3 :)

0x7a7a commented 5 years ago

Thank you for your help, my version is too backward. Because the archive of arch is only 2.1.0 Finally, I used the latest version of appimage without this problem. thank you very much