Good day everyone,
is there a way to switch language setting for the GUI directly, i.e. not by clicking through TDE-Menu -> Trinity Control Center -> Regional & Access. -> Country/Region & Language -> Language List -> Move Up to have a particular program start with a different language? Something like TDE Keyboard Tool in Systray? Or via an command line option?
Thanks.
Kind regards, Stefan
On Tuesday 11 September 2018 07:22:15 Stefan Krusche wrote:
Good day everyone,
is there a way to switch language setting for the GUI directly, i.e. not by clicking through TDE-Menu -> Trinity Control Center -> Regional & Access. -> Country/Region & Language -> Language List -> Move Up to have a particular program start with a different language? Something like TDE Keyboard Tool in Systray? Or via an command line option?
Thanks.
Kind regards, Stefan
This might help, if pertinent to your question: Have you tried localepurge? You can choose more precise language settings, and discard others that don't apply. (I count 15 choices under "de" for German, for example, 35 under "en" for English.) Most users will only want one or two items, such as "en" and "en-us-utf8".
I assume that localepurge would also affect TDE, even though it is not TDE-specific software. Install that package, then run sudo dpkg-reconfigure localepurge, and you will get a list of locales.
Otherwise, I would say TCC, etc., as you have already tried.
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
Bill
Hello William,
thanks for your reply.
Am Dienstag, 11. September 2018 schrieb William Morder:
This might help, if pertinent to your question: Have you tried localepurge? You can choose more precise language settings, and discard others that don't apply. (I count 15 choices under "de" for German, for example, 35 under "en" for English.) Most users will only want one or two items, such as "en" and "en-us-utf8".
I assume that localepurge would also affect TDE, even though it is not TDE-specific software. Install that package, then run sudo dpkg-reconfigure localepurge, and you will get a list of locales.
No, my question wasn't about purging language files I don't use. That's about saving disk space automatically at installation. FIW, quite a while ago I checked out localpurge to purge the many TDE language files I never need, but you would have to configure the paths of those manually etc. which I didn't try.
Otherwise, I would say TCC, etc., as you have already tried.
Yep.
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
Kind regards, Stefan
On Tuesday 11 September 2018 15:34:10 Stefan Krusche wrote:
Hello William,
thanks for your reply.
Am Dienstag, 11. September 2018 schrieb William Morder:
This might help, if pertinent to your question: Have you tried localepurge? You can choose more precise language settings, and discard others that don't apply. (I count 15 choices under "de" for German, for example, 35 under "en" for English.) Most users will only want one or two items, such as "en" and "en-us-utf8".
I assume that localepurge would also affect TDE, even though it is not TDE-specific software. Install that package, then run sudo dpkg-reconfigure localepurge, and you will get a list of locales.
No, my question wasn't about purging language files I don't use. That's about saving disk space automatically at installation. FIW, quite a while ago I checked out localpurge to purge the many TDE language files I never need, but you would have to configure the paths of those manually etc. which I didn't try.
Otherwise, I would say TCC, etc., as you have already tried.
Yep.
If I understand what you want, then you are on the right track with TCC / Regional & Accessibility / Country/Region & language, but maybe you didn't pursue it far enough.
Go to / locale (following the sequence above in TCC). Add whatever languages you want to have available, then you should be able to switch languages by right-clicking on the country flag in your taskbar at bottom.
However, I did just try this, and no countries or languages were available except US English ... but I think this is perhaps I have disabled other choices in localepurge. I used to enable Greek, for example, because I was setting some text for a translation; but this was back in the old KDE3.
I don't know if there is a way to do this by command-line, but, yes, that would be very useful. In the meanwhile, if all you want is to make it useful for yourself, then I think that you will find your solution in these places.
Bill
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
Kind regards, Stefan
P.S. regarding login with umlaut:
The heading and date of that thread:
Re: [trinity-users] Login into accounts with german umlaut Date: 2018-08-23 00:58 From: Stefan Krusche linux@stefan-krusche.de
I don't know if it goes back earlier, but I see your name again. Just trying either to narrow down the problem, or to connect the dots (if they do connect) to that earlier thread.
Bill
On Tuesday 11 September 2018 15:34:10 Stefan Krusche wrote:
Hello William,
thanks for your reply.
Am Dienstag, 11. September 2018 schrieb William Morder:
This might help, if pertinent to your question: Have you tried localepurge? You can choose more precise language settings, and discard others that don't apply. (I count 15 choices under "de" for German, for example, 35 under "en" for English.) Most users will only want one or two items, such as "en" and "en-us-utf8".
I assume that localepurge would also affect TDE, even though it is not TDE-specific software. Install that package, then run sudo dpkg-reconfigure localepurge, and you will get a list of locales.
No, my question wasn't about purging language files I don't use. That's about saving disk space automatically at installation. FIW, quite a while ago I checked out localpurge to purge the many TDE language files I never need, but you would have to configure the paths of those manually etc. which I didn't try.
Otherwise, I would say TCC, etc., as you have already tried.
Yep.
If I understand what you want, then you are on the right track with TCC / Regional & Accessibility / Country/Region & language, but maybe you didn't pursue it far enough.
Go to / locale (following the sequence above in TCC). Add whatever languages you want to have available, then you should be able to switch languages by right-clicking on the country flag in your taskbar at bottom.
However, I did just try this, and no countries or languages were available except US English ... but I think this is perhaps I have disabled other choices in localepurge. I used to enable Greek, for example, because I was setting some text for a translation; but this was back in the old KDE3.
I don't know if there is a way to do this by command-line, but, yes, that would be very useful. In the meanwhile, if all you want is to make it useful for yourself, then I think that you will find your solution in these places.
P.P.S. WHOOPS! Also look under TCC / Regional & Accessibility / Country / keyboard layout,
Bill
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
Kind regards, Stefan
P.S. regarding login with umlaut:
The heading and date of that thread:
Re: [trinity-users] Login into accounts with german umlaut Date: 2018-08-23 00:58 From: Stefan Krusche linux@stefan-krusche.de
I don't know if it goes back earlier, but I see your name again. Just trying either to narrow down the problem, or to connect the dots (if they do connect) to that earlier thread.
Bill
Am Mittwoch, 12. September 2018 schrieb William Morder:
On Tuesday 11 September 2018 15:34:10 Stefan Krusche wrote: If I understand what you want, then you are on the right track with TCC / Regional & Accessibility / Country/Region & language, but maybe you didn't pursue it far enough.
Go to / locale (following the sequence above in TCC). Add whatever languages you want to have available, then you should be able to switch languages by right-clicking on the country flag in your taskbar at bottom.
Yes, that's what I did. And I was looking for exactly something like this country-flag in taskbar, but I don't have that on my system. Mmh. How do you get that? Can you enable that in TCC? I only know the one for keyboard layouts.
However, I did just try this, and no countries or languages were available except US English ... but I think this is perhaps I have disabled other choices in localepurge. I used to enable Greek, for example, because I was setting some text for a translation; but this was back in the old KDE3.
P.P.S. WHOOPS! Also look under TCC / Regional & Accessibility / Country / keyboard layout,
Keyboard layout is not the issue here.
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
P.S. regarding login with umlaut:
The heading and date of that thread:
Re: [trinity-users] Login into accounts with german umlaut Date: 2018-08-23 00:58 From: Stefan Krusche linux@stefan-krusche.de
I don't know if it goes back earlier, but I see your name again. Just trying either to narrow down the problem, or to connect the dots (if they do connect) to that earlier thread.
OK. I didn't remember that one. It's not related, it's about entering passwords in tdm.
Kind regards, Stefan
On Tuesday 11 September 2018 17:07:49 Stefan Krusche wrote:
Am Mittwoch, 12. September 2018 schrieb William Morder:
On Tuesday 11 September 2018 15:34:10 Stefan Krusche wrote: If I understand what you want, then you are on the right track with TCC / Regional & Accessibility / Country/Region & language, but maybe you didn't pursue it far enough.
Go to / locale (following the sequence above in TCC). Add whatever languages you want to have available, then you should be able to switch languages by right-clicking on the country flag in your taskbar at bottom.
Yes, that's what I did. And I was looking for exactly something like this country-flag in taskbar, but I don't have that on my system. Mmh. How do you get that? Can you enable that in TCC? I only know the one for keyboard layouts.
However, I did just try this, and no countries or languages were available except US English ... but I think this is perhaps I have disabled other choices in localepurge. I used to enable Greek, for example, because I was setting some text for a translation; but this was back in the old KDE3.
P.P.S. WHOOPS! Also look under TCC / Regional & Accessibility / Country / keyboard layout,
Keyboard layout is not the issue here.
I believe that, actually, yes, this is where you need to add the language setting. That's how I could add other language GUIs. Then go to the next tab, Switching Options, and you can enable option "Show Country Flag", and you have further choices, e.g., Global, or per Application or per Window.
Then you get the country flag in your taskbar, and after that, all you need to do is right-click and change. I just enabled (as an experiment), Greek, Russian, etc. (so that I would have an entirely different alphabet), and it works like that.
Bill
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
P.S. regarding login with umlaut:
The heading and date of that thread:
Re: [trinity-users] Login into accounts with german umlaut Date: 2018-08-23 00:58 From: Stefan Krusche linux@stefan-krusche.de
I don't know if it goes back earlier, but I see your name again. Just trying either to narrow down the problem, or to connect the dots (if they do connect) to that earlier thread.
OK. I didn't remember that one. It's not related, it's about entering passwords in tdm.
Kind regards, Stefan
On Tuesday 11 September 2018 17:22:15 William Morder wrote:
On Tuesday 11 September 2018 17:07:49 Stefan Krusche wrote:
Am Mittwoch, 12. September 2018 schrieb William Morder:
On Tuesday 11 September 2018 15:34:10 Stefan Krusche wrote: If I understand what you want, then you are on the right track with TCC / Regional & Accessibility / Country/Region & language, but maybe you didn't pursue it far enough.
Go to / locale (following the sequence above in TCC). Add whatever languages you want to have available, then you should be able to switch languages by right-clicking on the country flag in your taskbar at bottom.
Yes, that's what I did. And I was looking for exactly something like this country-flag in taskbar, but I don't have that on my system. Mmh. How do you get that? Can you enable that in TCC? I only know the one for keyboard layouts.
However, I did just try this, and no countries or languages were available except US English ... but I think this is perhaps I have disabled other choices in localepurge. I used to enable Greek, for example, because I was setting some text for a translation; but this was back in the old KDE3.
P.P.S. WHOOPS! Also look under TCC / Regional & Accessibility / Country / keyboard layout,
Keyboard layout is not the issue here.
I believe that, actually, yes, this is where you need to add the language setting. That's how I could add other language GUIs. Then go to the next tab, Switching Options, and you can enable option "Show Country Flag", and you have further choices, e.g., Global, or per Application or per Window.
Then you get the country flag in your taskbar, and after that, all you need to do is right-click and change. I just enabled (as an experiment), Greek, Russian, etc. (so that I would have an entirely different alphabet), and it works like that.
Bill
It could be that I am dense, and have missed what you are really asking. (Sorry, I will blame it on lack of sleep and not enough coffee. Yeah, that sounds believable....)
If you mean to change the language settings for the whole TDE desktop ... so that all headers - that is, in the programs themselves, are in German (for example) - then I think you need to set the locale in the TCC / System Administration / login manager / Adminstrator Mode. It has been awhile since I played with these settings, but I did try some different language settings there. That locale setting changes the GUI for the whole desktop (not just, as I was thinking, in Kmail, or in your web browser, or message boxes in chat programs, etc.).
Sorry if I was misunderstanding your question. But this won't *instantly* change the whole GUI for the desktop; for that, you would need to reboot after making the change.
Bill
Does this concern the problem from an earlier thread, about logging in using non-English characters (e.g., an umlaut), or is it a separate issue?
I dunno. Which thread?
P.S. regarding login with umlaut:
The heading and date of that thread:
Re: [trinity-users] Login into accounts with german umlaut Date: 2018-08-23 00:58 From: Stefan Krusche linux@stefan-krusche.de
I don't know if it goes back earlier, but I see your name again. Just trying either to narrow down the problem, or to connect the dots (if they do connect) to that earlier thread.
OK. I didn't remember that one. It's not related, it's about entering passwords in tdm.
Kind regards, Stefan
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Am Mittwoch, 12. September 2018 schrieb William Morder:
It could be that I am dense, and have missed what you are really asking. (Sorry, I will blame it on lack of sleep and not enough coffee. Yeah, that sounds believable....)
If you mean to change the language settings for the whole TDE desktop ... so that all headers - that is, in the programs themselves, are in German (for example) - then I think you need to set the locale in the TCC / System Administration / login manager / Adminstrator Mode. It has been awhile since I played with these settings, but I did try some different language settings there. That locale setting changes the GUI for the whole desktop (not just, as I was thinking, in Kmail, or in your web browser, or message boxes in chat programs, etc.).
Sorry if I was misunderstanding your question. But this won't *instantly* change the whole GUI for the desktop; for that, you would need to reboot after making the change.
Bill
Dear Bill,
I want the menus etc. of one program inside the GUI/TDE changed to another language, only that. Right, you can do that only globally in TCC, and that effects only programs started thereafter (or the whole TDE if you logout / login). That is possible in TDE TCC the way I described. I think, we agree so far, and that's what I do.
I switch language in TCC, start a program and switch language back. I've one programming running with a different language GUI. That's fine, but not convenient and rather quite fiddling for my taste. It would be nice to be able to switch the UI language for a particular single program only and, more conveniently so.
So, the function is there. Question: how to access it directly? A method with one click (like the systray symbol for keyboard layouts), one command (some kcmshell or dcopserver thing, haven't tried so far) or one prepended env Variable like proposed in other mails would be much appreciated, but as of now it seems we haven't found it yet.
Thanks for trying!
Kind regards, Stefan
PS: the point of switching language for one program is when I encounter problems or questions I want to report to MLs etc. I feel the need to denominate menus etc. in English language...
Stefan Krusche wrote:
is there a way to switch language setting for the GUI directly, i.e. not by clicking through TDE-Menu -> Trinity Control Center -> Regional & Access. -> Country/Region & Language -> Language List -> Move Up to have a particular program start with a different language? Something like TDE Keyboard Tool in Systray? Or via an command line option?
I do not think that application will reread somehow the settings - usually application has to be restarted.
I was thinking if you start app with the language variable set, it would work, but I just tested and it does not
regards
Am Dienstag, 11. September 2018 schrieb deloptes:
Stefan Krusche wrote:
is there a way to switch language setting for the GUI directly, i.e. not by clicking through TDE-Menu -> Trinity Control Center -> Regional & Access. -> Country/Region & Language -> Language List -> Move Up to have a particular program start with a different language? Something like TDE Keyboard Tool in Systray? Or via an command line option?
I do not think that application will reread somehow the settings - usually application has to be restarted.
Yes, it has. My use case is: running the GUI with my native language and when I need to start an application with English language. So the way would be just as described: switch global language settings and thereafter start the application, switch back and I would have a running german language GUI with one application with English language.
I was thinking of a quicker, one command way to switch global language settings. Now dcopserver comes to mind, too, but I haven't investigated the possibilities yet.
I was thinking if you start app with the language variable set, it would work, but I just tested and it does not
Ok, didn't think of that one. Maybe it's possible to work that out.
Thanks.
Cheers, Stefan
On Wed, 12 Sep 2018 00:42:03 +0200 Stefan Krusche linux@stefan-krusche.de wrote:
Am Dienstag, 11. September 2018 schrieb deloptes:
Stefan Krusche wrote:
is there a way to switch language setting for the GUI directly, i.e. not by clicking through TDE-Menu -> Trinity Control Center -> Regional & Access. -> Country/Region & Language -> Language List -> Move Up to have a particular program start with a different language? Something like TDE Keyboard Tool in Systray? Or via an command line option?
I do not think that application will reread somehow the settings - usually application has to be restarted.
Yes, it has. My use case is: running the GUI with my native language and when I need to start an application with English language. So the way would be just as described: switch global language settings and thereafter start the application, switch back and I would have a running german language GUI with one application with English language.
I was thinking of a quicker, one command way to switch global language settings. Now dcopserver comes to mind, too, but I haven't investigated the possibilities yet.
I was thinking if you start app with the language variable set, it would work, but I just tested and it does not
Ok, didn't think of that one. Maybe it's possible to work that out.
"LANG=x your_app" will start a program with a different language settings. But beware of LANG interaction with LC_ - LC_ overrides LANG. Use LC_ALL instead of LANG if you want to be 100% sure, but this can be undesirable... For example if you want to start application with english GUI, but have german sorting and dates, use "LANG=en_US.UTF-8 LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 your_app"
Hi Nick,
Am Mittwoch, 12. September 2018 schrieb Nick Koretsky:
I was thinking if you start app with the language variable set, it would work, but I just tested and it does not
Ok, didn't think of that one. Maybe it's possible to work that out.
"LANG=x your_app" will start a program with a different language settings. But beware of LANG interaction with LC_ - LC_ overrides LANG. Use LC_ALL instead of LANG if you want to be 100% sure, but this can be undesirable... For example if you want to start application with english GUI, but have german sorting and dates, use "LANG=en_US.UTF-8 LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 your_app"
As promising as that looked it didn't work when I start kwrite in konsole.
$ LANG=en_US.UTF-8 kwrite
starts kwrite with german GUI.
$ locale LANG=de_DE.UTF-8 LANGUAGE= LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=
Even when I switch to english locale:
$ export LANG=C; locale LANG=C LANGUAGE= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=
$ kwrite
...still has german GUI unfortunately.
Thanks, Stefan
On Wed, 12 Sep 2018 02:17:26 +0200 Stefan Krusche linux@stefan-krusche.de wrote:
Hi Nick,
Am Mittwoch, 12. September 2018 schrieb Nick Koretsky:
I was thinking if you start app with the language variable set, it would work, but I just tested and it does not
Ok, didn't think of that one. Maybe it's possible to work that out.
"LANG=x your_app" will start a program with a different language settings. But beware of LANG interaction with LC_ - LC_ overrides LANG. Use LC_ALL instead of LANG if you want to be 100% sure, but this can be undesirable... For example if you want to start application with english GUI, but have german sorting and dates, use "LANG=en_US.UTF-8 LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 your_app"
As promising as that looked it didn't work when I start kwrite in konsole.
$ LANG=en_US.UTF-8 kwrite
starts kwrite with german GUI.
It seems that tde programs ignore locale settings. It works with anything that is not from trinity.
Am Mittwoch, 12. September 2018 schrieb Nick Koretsky:
It seems that tde programs ignore locale settings. It works with anything that is not from trinity.
OK. Good to know. That would be the expected behaviour when programs are started in a shell, no?
I was suspecting that tde programs somehow are started in the environment TDE provides even when launched in a shell. But I don't know how this mechanism works.
Regards, Stefan
Nick Koretsky wrote:
"LANG=x your_app" will start a program with a different language settings. But beware of LANG interaction with LC_ - LC_ overrides LANG. Use LC_ALL instead of LANG if you want to be 100% sure, but this can be undesirable... For example if you want to start application with english GUI, but have german sorting and dates, use "LANG=en_US.UTF-8 LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 your_app"
FYI
LANG=en_US.UTF-8 LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 kwrite
did not show the menu in kwrite in english or german.
regards
Getting closer... :-)
$ tdecmshell language
starts the mentioned TCC dialog directly. I'll investigate further and report what I find.
Regards, Stefan
Am Mittwoch, 12. September 2018 schrieb Stefan Krusche:
Getting closer... :-)
$ tdecmshell language
starts the mentioned TCC dialog directly. I'll investigate further and report what I find.
tdecmshell also offers a "--lang <language>" option to "Specify a particular language". I haven't found more information, the man page is scarce and says nothing about how to specify or format "<language>". So I tried with commonly used strings. However, instead of what I would have expected, neither of the following starts the language settings dialog differently from what is configured globally:
$ tdecmshell --lang en language $ tdecmshell --lang en_EN language $ tdecmshell --lang C $ tdecmshell --lang C language $ tdecmshell --lang en_US language $ tdecmshell --lang en_US.UTF8 language $ tdecmshell language --lang en_US.UTF8 $ tdecmshell language --lang en_US $ tdecmshell language --lang C
The command "kcmshell somemodule --lang en_US" is found a few times on the web.
Do I understand correctly that
1.) option "--lang en_US" should start a control center module with US American English language interface (like the menus, items, drop down lists etc. in English) ?!
2.) "en_US" or "C" is the default integrated language of the default installation of TDE without additional language packages? I have tde-i18n-de-trinity installed as the only additional language package. Accordingly I get offered "US English" and "German" in TCC language modul -> "Add Language"
If 1.) and 2.) applies then "tdmshell ... --lang ..." doesn't seem to work on my system. I would like to know because if it would that would exactly match what I originally was looking for -- at least for this one program, tcmshell.
Any hint is appreciated.
Kind regards, Stefan
I'm at work and I don't have any systems with Trinity on them here but this works for standard applications "LC_ALL=ru_RU.UTF-8 firefox" no quotes will launch Firefox in Russian on my system. At least it looks like Russian I don't speak it.
I should add you have to have the language installed. The box I'm on right now only has english language enabled so the above does nothing but generate an error and launch app in English.
$ LC_ALL=ru_RU.UTF-8 firefox
(process:12242): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
On Wed, Sep 12, 2018 at 8:19 AM, Pisini, John pisinij@csps.com wrote:
I'm at work and I don't have any systems with Trinity on them here but this works for standard applications "LC_ALL=ru_RU.UTF-8 firefox" no quotes will launch Firefox in Russian on my system. At least it looks like Russian I don't speak it.
Am Mittwoch, 12. September 2018 schrieb Pisini, John:
I should add you have to have the language installed. The box I'm on right now only has english language enabled so the above does nothing but generate an error and launch app in English.
$ LC_ALL=ru_RU.UTF-8 firefox
(process:12242): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
Thanks, John. I guess you haven't read the whole thread. This has been suggested before and the foundings are that that sadly works only with non-TDE programs.
Kind regards, Stefan
You got me I only skimmed the thread try this I am going to try and attach a picture see if it comes through. On a KDE box I have I had to add a KDE package first as system language didn't affect them like you said but once I installed the Russian KDE package this does. "KDE_LANG=ru kwrite" You may need to tweak it to work with Trinity.
On Wed, Sep 12, 2018 at 8:38 AM, Stefan Krusche linux@stefan-krusche.de wrote:
Am Mittwoch, 12. September 2018 schrieb Pisini, John:
I should add you have to have the language installed. The box I'm on
right
now only has english language enabled so the above does nothing but generate an error and launch app in English.
$ LC_ALL=ru_RU.UTF-8 firefox
(process:12242): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
Thanks, John. I guess you haven't read the whole thread. This has been suggested before and the foundings are that that sadly works only with non-TDE programs.
Kind regards, Stefan
To unsubscribe, e-mail: trinity-users-unsubscribe@ lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists. pearsoncomputing.net Read list messages on the web archive: http://trinity-users. pearsoncomputing.net/ Please remember not to top-post: http://trinity. pearsoncomputing.net/mailing_lists/#top-posting
On Wed, 12 Sep 2018 08:51:32 -0400 "Pisini, John" pisinij@csps.com wrote:
You got me I only skimmed the thread try this I am going to try and attach a picture see if it comes through. On a KDE box I have I had to add a KDE package first as system language didn't affect them like you said but once I installed the Russian KDE package this does. "KDE_LANG=ru kwrite" You may need to tweak it to work with Trinity.
Just checked TDE_LANG=ru kwrite works.
P.S. Please dont top post.
Sorry I don't post often I forgot.
Am Mittwoch, 12. September 2018 schrieb Pisini, John:
You got me I only skimmed the thread try this I am going to try and attach a picture see if it comes through. On a KDE box I have I had to add a KDE package first as system language didn't affect them like you said but once I installed the Russian KDE package this does. "KDE_LANG=ru kwrite" You may need to tweak it to work with Trinity.
Cool. I like that, it's what I was looking for :-)
Thank you.
Stefan
Am Mittwoch, 12. September 2018 schrieb Stefan Krusche:
If 1.) and 2.) applies then "tdmshell ... --lang ..." doesn't seem to work
s/tdmshell/tdecmshell/
on my system. I would like to know because if it would that would exactly match what I originally was looking for -- at least for this one program, tcmshell.
s/tdmshell/tdecmshell/
Sorry
Am Mittwoch, 12. September 2018 schrieb Stefan Krusche:
$ tdecmshell --lang en language $ tdecmshell --lang en_EN language $ tdecmshell --lang C $ tdecmshell --lang C language
don't work because language specification is wrong or not installed
$ tdecmshell language --lang C $ tdecmshell --lang en_US.UTF8 language $ tdecmshell language --lang en_US.UTF8
don't work
Tdecmshell doesn't seem to recognize "C" though it is listed as that in the language settings dialog -> Country or Region --> drop down menu.
$ tdecmshell --lang en_US language $ tdecmshell language --lang en_US
Now, these two do work, but... the effect is that only the text in the title bar is changed to english, but not the text strings inside the window. I don't know if that is the intended behaviour. Anyone does?
Stefan
On a VM running live TDE_LANG=es kwrite works for me. Launches kwrite menus in Spanish.
Am Mittwoch, 12. September 2018 schrieb Pisini, John:
On a VM running live TDE_LANG=es kwrite works for me. Launches kwrite menus in Spanish.
I can't "see" this variable in a bash env. It seems to be only "there" when explicitly set.
BTW, that does not work with
$ TDE_LANG=en tdecmshell language &
the dialog still comes up with german language.
Maybe that's why tdecmshell has this option "--lang <language>" (which doesn't do exactly the same unfortunately, as I found out, see previous mail.
Cheers, Stefan
Does anyone know where the documentation for tdecmshell is or even the old KDE version from way back? I tried searching for it and couldn't find it.
Am Donnerstag, 13. September 2018 schrieb Pisini, John:
Does anyone know where the documentation for tdecmshell is or even the old KDE version from way back? I tried searching for it and couldn't find it.
man:tdecmshell-trinity is the only thing I found.
There's also TDE Admininstrator Guide in the help system. Maybe you need to install first.
HTH Stefan
Pisini, John wrote:
Does anyone know where the documentation for tdecmshell is or even the old KDE version from way back? I tried searching for it and couldn't find it.
This is just two files! It looks like it talks to dcop from what I see.
http://mirror.git.trinitydesktop.org/cgit/tdelibs/tree/tdecmshell
It says
const TQCString lang = args->getOption("lang"); if( !lang.isNull() ) TDEGlobal::locale()->setLanguage(lang);
so when I run
tdecmshell --lang en_US language
I see window title and buttons in english, but the dialogs are shown in the whatever language is set.
regards
Hello deloptes,
Am Donnerstag, 13. September 2018 schrieb deloptes:
Pisini, John wrote:
Does anyone know where the documentation for tdecmshell is or even the old KDE version from way back? I tried searching for it and couldn't find it.
This is just two files! It looks like it talks to dcop from what I see.
http://mirror.git.trinitydesktop.org/cgit/tdelibs/tree/tdecmshell
It says
const TQCString lang = args->getOption("lang"); if( !lang.isNull() ) TDEGlobal::locale()->setLanguage(lang);
Does this code check for option "--lang .."? And if its not there take global language settings?
so when I run
tdecmshell --lang en_US language
I see window title and buttons in english, but the dialogs are shown in the whatever language is set.
Same here as reported.
Do you know if there's a way to start a program with dcop and a different language than configured globally?
Kind regards, Stefan
Stefan Krusche wrote:
Hello deloptes,
Am Donnerstag, 13. September 2018 schrieb deloptes:
Pisini, John wrote:
Does anyone know where the documentation for tdecmshell is or even the old KDE version from way back? I tried searching for it and couldn't find it.
This is just two files! It looks like it talks to dcop from what I see.
http://mirror.git.trinitydesktop.org/cgit/tdelibs/tree/tdecmshell
It says
const TQCString lang = args->getOption("lang"); if( !lang.isNull() ) TDEGlobal::locale()->setLanguage(lang);
Does this code check for option "--lang .."? And if its not there take global language settings?
It checks if lang option is set (not null) and uses the value to set language in TDEGlobal::locale, which (unfortunately it looks like) does not affect dialog and a like, but window title and buttons are set properly to use the specified language.
so when I run
tdecmshell --lang en_US language
I see window title and buttons in english, but the dialogs are shown in the whatever language is set.
Same here as reported.
Do you know if there's a way to start a program with dcop and a different language than configured globally?
Sorry, this is beyond my knowledge. But is TDE_LANG not a solution for you? I had the feeling it is exactly what you need.
BTW I now tried
tdecmshell --lang en_US icons and tdecmshell icons
and it behaves properly, so could it be something specific to the language module?
Same for printers Same for useragent
hwmanager does not work
you can go on with the rest if you wish and file a bug for what is not displayed properly. IMO icons, printers, useragent and perhaps more work with the --lang option, but language, hwmanager and may be other do not.
But our expectation is that all should honor the language set with tdecmshell --lang
BTW for German use tdecmshell --lang de
regards
Am Donnerstag, 13. September 2018 schrieb deloptes:
But is TDE_LANG not a solution for you? I had the feeling it is exactly what you need.
Yes, it is usable, I haven't checked for many programs yet, though. But it doesn't affect tdecmshell. That's why I speculated that there is this "--lang" option which unfortunately doesn't affect "tdecmshell language" properly IMO, only the title.
BTW I now tried
tdecmshell --lang en_US icons and tdecmshell icons
and it behaves properly, so could it be something specific to the language module?
Confirmed. That works.
Same for printers Same for useragent
hwmanager does not work
you can go on with the rest if you wish and file a bug for what is not displayed properly. IMO icons, printers, useragent and perhaps more work with the --lang option, but language, hwmanager and may be other do not.
OK.
But our expectation is that all should honor the language set with tdecmshell --lang
Yes.
BTW for German use tdecmshell --lang de
Found that already, but thanks anyways.
Thanks for checking.
Cheers, Stefan
Am Donnerstag, 13. September 2018 schrieb Stefan Krusche:
Am Mittwoch, 12. September 2018 schrieb Pisini, John:
On a VM running live TDE_LANG=es kwrite works for me. Launches kwrite menus in Spanish.
I can't "see" this variable in a bash env. It seems to be only "there" when explicitly set.
BTW, that does not work with
$ TDE_LANG=en tdecmshell language &
the dialog still comes up with german language.
Maybe that's why tdecmshell has this option "--lang <language>" (which doesn't do exactly the same unfortunately, as I found out, see previous mail.
Cheers, Stefan
Same here, I have english and derman languagepack installed. TDE is on 14.0.6~pre<something>
Nik