By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1596 - [i18n] TDM should use system-defined language by default
Summary: [i18n] TDM should use system-defined language by default
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 enhancement
Assignee: Francois Andriot
URL:
Depends on:
Blocks:
 
Reported: 2013-07-26 10:24 CDT by Francois Andriot
Modified: 2015-10-15 12:41 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
tdebase: make tdm use LANG variable to detect language in login banner (874 bytes, patch)
2014-10-12 23:54 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2013-07-26 10:24:06 CDT
Hello, when installing a new Linux distribution with translations (e.g: trinity-tde-i18n-XXXX), we can see that these translations are proposed in kpersonalizer (first login assistant), with default proposed language set to system-defined language. So, the TDE session opens in the correct language by default.

But, TDM does not have such default setting. By default, it has no "Language=" line in tdmrc, so it always defaults to english.

It would be interesting that TDM use, if no language is defined in tdmrc, the system-defined language instead of english.

Also, when using kcontrol / tdm configuration, we can set the TDM language here. But when I select "Francais (fr)", it writes "Language=fr" in tdmrc.
Then in "tdm.log" I see messages complaining that "fr" is not a correct value for xkb stuff ...
In fact, the correct setting would be "Language=fr_FR.UTF-8 , as set in the $LANG variable.
Comment 1 Francois Andriot 2013-09-22 05:17:02 CDT
More annoying: on recent distributions, where the 'xorg.conf' is no more mandatory, the X server defaults to US QWERTY keyboard layout.

TDM offers no option to change the keyboard layout, so I have to type my password with english layout instead of local layout !
Comment 2 Francois Andriot 2014-10-12 23:54:04 CDT
Created attachment 2319 [details]
tdebase: make tdm use LANG variable to detect language in login banner

This patch allows to use the system-wide LANG environment variable to choose the language of TDM login greeter.

It allows having TDM displaying in the correct language by default, provided the language package is installed.

It avoids the common problem that the user chooses a language in its TDE session (using kpersonalizer), but still has the login messages in english.
Comment 3 Slávek Banko 2015-10-15 12:39:08 CDT
Pushed to GIT in hash bd35f1ef (master) and 38bdca2b (r14.0.x).
Comment 4 Slávek Banko 2015-10-15 12:41:01 CDT
(In reply to Francois Andriot from comment #1)
> More annoying: on recent distributions, where the 'xorg.conf' is no more
> mandatory, the X server defaults to US QWERTY keyboard layout.
> 
> TDM offers no option to change the keyboard layout, so I have to type my
> password with english layout instead of local layout !

If I'm not mistaken, now is usual common keyboard configurations for console and Xserver.