Menu

#918 Unable to write comments on russian when CB has EN lang for UI

Undefined
open
nobody
None
Bug_Report
2020-02-10
2020-02-08
No

I like UI of the CB on EN lang, but sometimes I have to write comments on russian lang...

Discussion

  • Teodor Petrov

    Teodor Petrov - 2020-02-09

    Steps to reproduce? OS? CB version?

     
    • Dmitrij Volin

      Dmitrij Volin - 2020-02-09

      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

       
  • Teodor Petrov

    Teodor Petrov - 2020-02-09

    Have you installed any translation? What is the full ouptut of the locale command?

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-09

    Have you installed any translation?

    Only russian translation for CB.

    What is the full ouptut of the locale command?

    $ 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
  • Teodor Petrov

    Teodor Petrov - 2020-02-09

    How can I install such translation?

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-09

    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.

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-09

    oh, you can try:

    $ echo "ru_RU.utf8 UTF-8" >> /etc/locale.gen && locale-gen

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-09

    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
  • Dmitrij Volin

    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
  • Teodor Petrov

    Teodor Petrov - 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?

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-09

    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.

     
  • Teodor Petrov

    Teodor Petrov - 2020-02-09

    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. :(

     
  • Dmitrij Volin

    Dmitrij Volin - 2020-02-10

    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...

     
  • Teodor Petrov

    Teodor Petrov - 2020-02-10

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.