Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Strange localization effects  (Read 2286 times)

Offline jaegermeister

  • User
  • Posts: 222
Strange localization effects
« on: 2017/01/29, 22:44:27 »
Hello,

after installing patience 2016.1 KDE5 on my Z800 (great success) and fine-tuning lotsa stuff, there is still something which I cannot explain to myself.

My machine has been configured from install for Italian localisation; in KDE I have also added, just as KEYBOARDS, German and Russian. Now there is some CLI software (up to now apt and lftp) which shows a strange phenomenon: instead of showing output just in Italian, or, if not available, in English, in some outputs also German and Russian get in, sometimes even on the same line! Here follows an extreme example from lftp.

Code: [Select]
[ftp] root@10.1.0.181:/vmfs/volumes/DD01> put SERVIZIO.ova
4145543168 Bytes übertragen in 217 Sekunden (18.23 Миб/с)

My env output shows:

Code: [Select]
LANG=it_IT.UTF-8

Actually, I have no clue why this funny thing happens.
It's not causing me difficoulties, as I speak both languages, but... looks like a bug to be addressed.

THX
---------------------------------------
SI VIS PACEM PARA BELLVM
---------------------------------------

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Strange localization effects
« Reply #1 on: 2017/01/29, 22:56:09 »
what does
Code: [Select]
localectl status talking to you?

Offline jaegermeister

  • User
  • Posts: 222
Re: Strange localization effects
« Reply #2 on: 2017/01/29, 23:23:08 »
Well, the output is the following:

Code: [Select]
   System Locale: LANG=it_IT.UTF-8
       VC Keymap: n/a
      X11 Layout: it
       X11 Model: pc102
     X11 Options: lv3:ralt_switch,compose:lwin
---------------------------------------
SI VIS PACEM PARA BELLVM
---------------------------------------

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Strange localization effects
« Reply #3 on: 2017/01/30, 12:09:46 »
Try this
Code: [Select]

localectl set-keymap it

or
Code: [Select]
localectl set-x11-keymap it pc102 lv3:ralt_switch,compose:lwin

Offline jaegermeister

  • User
  • Posts: 222
Re: Strange localization effects
« Reply #4 on: 2017/01/30, 16:58:18 »
I just tried both settings without any result.

Testbed was uploading a file with lftp.
During transfer it mixed Italian with German, at the end  of transfer it was German with speed unit measure in Russian.

Pretty much phun, ain't it?
---------------------------------------
SI VIS PACEM PARA BELLVM
---------------------------------------