SVN 11957
Build: Feb 7 2020, 07:25:25-wx3.0.4-gcc 9.0.2 (Linux, unicode) - 64 bit
$ locale
LANG=ru_RU.utf8
...
Settings->View->Internationalization=off - English lang for UI
Switch keyboard layout from english to russian and pressing
on keys has no an effect (no input in editor).
If I set Settings->View->Internationalization=on, then it
works fine.
--
the best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you show me the settings dialog in a screen shot?
I'm confused. We don't ship any translation file with Code::Blocks, they are maintained by separate projects. If your interface is translated then you've installed something outside of the main distribution and this is problably causing problems.
Also it might be related to the gtk3 variant you're using. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps we have miss understood things which we are discussion...
When CB has setted translation different from my locale (e.g. EN),
I can not to input text into texteditor by keyboard with
russian layout (input from keyboard is not accepting pressed keys).
Maybe EN has ascii codes and it is not working with unicode, which are
pressed keys by my russian layout...
But I am sending the screenshoots to you anyway...
I undestand perfectly well.
The thing is that the combobox for you have the russian language in it, for me it is empty.
So obviously you've installed something which I don't have to reproduce the problem.
From the code it looks like it is in the /usr/share/codeblocks/locale.
What do you have in this folder?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Steps to reproduce? OS? CB version?
Thanks for the your fast reply !
OK. What I have are:
SVN 11957
Build: Feb 7 2020, 07:25:25-wx3.0.4-gcc 9.0.2 (Linux, unicode) - 64 bit
$ locale
LANG=ru_RU.utf8
...
Settings->View->Internationalization=off - English lang for UI
Switch keyboard layout from english to russian and pressing
on keys has no an effect (no input in editor).
If I set Settings->View->Internationalization=on, then it
works fine.
--
the best regards
Have you installed any translation? What is the full ouptut of the locale command?
Only russian translation for CB.
$ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC=POSIX
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=
Last edit: Dmitrij Volin 2020-02-09
How can I install such translation?
perhaps:
$ sudo locale-gen ru_RU.UTF-8
or like that.
You can install any locale different by you system, and then you will able reproduce the behaviour.
oh, you can try:
$ echo "ru_RU.utf8 UTF-8" >> /etc/locale.gen && locale-gen
Or you can download from this place KDE Edition: https://wiki.calculate-linux.org/desktop
and instal it into VirtualBox/Qemu (there are many locales) ...
and then:
$ ACCEPT_KEYWORDS="~amd64" emerge =dev-util/codeblocks-9999
Last edit: Dmitrij Volin 2020-02-09
the calculate linux has live cd mode (you can do all desribed things without any installation)
Last edit: Dmitrij Volin 2020-02-09
I'm not asking how to install a locale. I have one. I'm asking if you've installed a translation file for Code::Blocks. Is your interface translated?
If I choice russian translation in CB settings, then all works fine with russian comments (and UI translated as russian too)
If I have no chosen translation (UI translated on english), then I unable write text with russian keyboard layout, only in english.
Can you show me the settings dialog in a screen shot?
I'm confused. We don't ship any translation file with Code::Blocks, they are maintained by separate projects. If your interface is translated then you've installed something outside of the main distribution and this is problably causing problems.
Also it might be related to the gtk3 variant you're using. :(
Perhaps we have miss understood things which we are discussion...
When CB has setted translation different from my locale (e.g. EN),
I can not to input text into texteditor by keyboard with
russian layout (input from keyboard is not accepting pressed keys).
Maybe EN has ascii codes and it is not working with unicode, which are
pressed keys by my russian layout...
But I am sending the screenshoots to you anyway...
I undestand perfectly well.
The thing is that the combobox for you have the russian language in it, for me it is empty.
So obviously you've installed something which I don't have to reproduce the problem.
From the code it looks like it is in the /usr/share/codeblocks/locale.
What do you have in this folder?
https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks/
I have attached the ru_RU to here...