-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Merged] Choose the language in Preferences #165
Conversation
Modify the shortcut 'Backspace' with 'Delete'.
Hi :) As a general rule, when you develop a new feature to merge in one of the upstream breaches ( As for the code, we can improve a few things:
|
9f7f5de
to
40cf0b0
Compare
Thanks for the advice ! I follow what you said but the only thing that I didn't know is that we have to sync our works with the upstream (I thought that a simple
Done !
Done ! And I completely agree with you.
I create a dictionary as you said, but I put it in general.py. I hesitated to create the dictionary into a file but I prefer to let you handle that (I don't think that general.py is the right place to put the dictionary). Hope it will help you ! |
I don't know if you thought about using translated language names or if it's a good idea to do so. (Like to use the local language names instead of international ones, German gets translated into Deutsch, French into Français etc) |
Yes, I do that : it's easier. I think it's not necessary to translate into each languages. |
@Gajenthran I've look into the
For Anyway I'll suggest to have a "custom" widget to keep things cleaner, something like |
Thanks for your suggestions @FrancescoCeruti ! And I create also a "custom" widget (it's clearly better because it avoids mixing |
Merged #165 Update: refactored ts/qm file generation Update: refactored locale-select widget Update: improved translations searching Various changes
I've merged it manually, with a few changes, see the commit reference above. Thanks 😄 |
Concerning the issue #158, I put the option to change the language.
I make sure that the --locale option on the command line still work. I put it in "General" below the "Icons theme" and "UI theme".
However, I think there is a little problem (UI problem): for the language in the combobox, I put only the 2 first letters of the language. For example, for "French", I put "fr". I don't know if it's really annoying for 9 languages but it might be annoying if we decide to add more languages.
PS: I only touch general.py, main.py, default.json and lisp.json. Extremely sorry, I create another pull request for the same issue. That's my first time so I forgot to use the command to pull.