Re: Howto load i18n?

2004-09-13 Thread Achim Bohnet
[please cc debian-kde. Maybe others have an idea]

On Monday 13 September 2004 23:35, you wrote:
> Hi Achim,
> 
> Thanks for a quick reply. Now I understand it further. I have no idea why
> kcontrol didn't take effect when I change it to Laos.
> 
> As I looked under, per your suggestion, /.kde/share/config/kdeglobals, I
> found that all fonts had changed accordingly. But the following changed to:
> 
> [Locale]
> Country=la
> Language=

Was lo aka 'Loa' listed in kpersonalizer and in control center 
'Country/Region & Language'?

I doubt that there's anything hardcoded in the control center
module but that something is missing or miss configured.

Check ~/.xsession-error is, there's something about 'lo'.
> 
> 
> So I added lo to the language as 
> 
> [Locale]
> Country=la
> Language=lo
> 
> Issued this command 'KDE_LANG= kwrite', it works...
> 
> Open many KDE apps like kmail, konsole, kate, and etc...the Only program
> didn't work now is conqueror.
> 
> How do I report the problem where the language id didn't get assign from
> kcontrol.

As I wrote I still think it's a config problem not a control center
problem.  Double check if your /usr/share/locale/lo has entries
and contents like, e.g.,

$ l /usr/share/locale/de | grep -v cups_
total 52
-rw-r--r--  1 root root 6 2000-01-29 21:51 charset
-rw-r--r--  1 root root  1458 2004-05-28 11:39 entry.desktop
-rw-r--r--  1 root root   357 1999-05-31 15:48 flag.png
drwxr-xr-x  2 root root 32768 2004-09-13 23:00 LC_MESSAGES
drwxr-xr-x  2 root root  4096 2004-07-28 14:47 LC_TIME


If this does not help, ask on the general kde-i18n KDE
lists.

Achim

> 
> 
> Thanks so much for your good pointers.
> 
> Anousak
> 
> 
> -Original Message-
> From: Achim Bohnet [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 5:18 PM
> To: Anousak
> Cc: debian-kde@lists.debian.org
> Subject: Re: Howto load i18n?
> 
> On Monday 13 September 2004 22:32, you wrote:
> > Thanks, Achim.
> > 
> > When I issued KDE_LANG=lo kwrite, it shows the Lao menu. However, is there
> a
> 
> Well, at least now it's clear that the *.mo files are at the right location
> ;)
> Have you checked that for whatever reason you never define KDE_LANG?  In
> this case kcontrolcenter setting would be ignored.
> 
> > way to set it through Control Panel (center) such as menu fonts and
> > language? I tried to set it under Control Center, it didn't work. I mean I
> > don't really want to load any other applications manually, ie. KDE_LANG=lo
> > . 
> 
> I've almost no glue about this i18n business so my tips to debug
> the problem tips could be completely wrong.
> 
> Has your ~/.kde/share/config/kdeglobals a section like
> 
> [Locale]
> Country=lo
> Language=lo
> 
> Did you try setting the language with kpersonalizer (aka desktop settings
> wizard)?
> 
> Sorry, I've no idea why your Lao language setting via controlcenter
> does not work.
> 
> Achim
> > 
> > Thanks,
> > 
> > Anousak
> > 
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]




Re: Howto load i18n?

2004-09-13 Thread Achim Bohnet
On Monday 13 September 2004 22:32, you wrote:
> Thanks, Achim.
> 
> When I issued KDE_LANG=lo kwrite, it shows the Lao menu. However, is there a

Well, at least now it's clear that the *.mo files are at the right location ;)
Have you checked that for whatever reason you never define KDE_LANG?  In
this case kcontrolcenter setting would be ignored.

> way to set it through Control Panel (center) such as menu fonts and
> language? I tried to set it under Control Center, it didn't work. I mean I
> don't really want to load any other applications manually, ie. KDE_LANG=lo
> . 

I've almost no glue about this i18n business so my tips to debug
the problem tips could be completely wrong.

Has your ~/.kde/share/config/kdeglobals a section like

[Locale]
Country=lo
Language=lo

Did you try setting the language with kpersonalizer (aka desktop settings
wizard)?

Sorry, I've no idea why your Lao language setting via controlcenter
does not work.

Achim
> 
> Thanks,
> 
> Anousak
> 
> -Original Message-
> From: Achim Bohnet [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 3:50 PM
> To: Debian KDE
> Subject: Re: Howto load i18n?
> 
> On Sunday 12 September 2004 00:58, Anousak wrote:
> > Yes, I have that as shown:
> > $ head -n 2 /usr/share/locale/lo/entry.desktop
> > [KCM Locale]
> > Name=Lao
> > 
> > Any other suggestions?
> 
> This should show a translated kwrite 
> 
>   KDE_LANG=lo  kwrite
> 
> If not check
> 
>   kde-config --path locale
>   KDE_LANG=lo  strace -o lo.log kwrite
> 
> search lo.log to check were KDE tried to find *.mo files.
> 
> Achim
> > 
> > Sak
[...]
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]




Re: Howto load i18n?

2004-09-13 Thread Achim Bohnet
On Sunday 12 September 2004 00:58, Anousak wrote:
> Yes, I have that as shown:
> $ head -n 2 /usr/share/locale/lo/entry.desktop
> [KCM Locale]
> Name=Lao
> 
> Any other suggestions?

This should show a translated kwrite 

KDE_LANG=lo  kwrite

If not check

kde-config --path locale
KDE_LANG=lo  strace -o lo.log kwrite

search lo.log to check were KDE tried to find *.mo files.

Achim
> 
> Sak
> 
> 
> -Original Message-
> From: Hendrik Sattler [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, September 11, 2004 6:51 PM
> To: debian-kde@lists.debian.org
> Subject: Re: Howto load i18n?
> 
> Am Sonntag, 12. September 2004 00:45 schrieben Sie:
> > Yes, I am the team coordinator for Lao KDE. I created those mo files and
> > put them in /usr/share/locale/lo/LC_MESSAGES/*mo. The files are there, but
> > how do you tell the system, KDE, that there is kde-i18n-lo? Any particular
> > file(s) I need to create or tweak?
> 
> Probably something like this:
> $ head -n 3 /usr/share/locale/de/entry.desktop
> [KCM Locale]
> Name=German
> Name[af]=Duits
> 
> This file is part of the kde-i18n-de package
> 
> HS
> 
> -- 
> Mein GPG-Key ist auf meiner Homepage verfügbar:
> http://www.hendrik-sattler.de
> oder über pgp.net
> 
> PingoS - Linux-User helfen Schulen: http://www.pingos.org
> 
> 
> 
> 
> 
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]




Re: Howto load i18n?

2004-09-11 Thread Hendrik Sattler
Am Sonntag, 12. September 2004 00:58 schrieb Anousak:
> Yes, I have that as shown:
> $ head -n 2 /usr/share/locale/lo/entry.desktop
> [KCM Locale]
> Name=Lao
>
> Any other suggestions?

Hmm, not from me :-/

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org


pgp1b7ZjEZuN0.pgp
Description: signature


RE: Howto load i18n?

2004-09-11 Thread Anousak
Yes, I have that as shown:
$ head -n 2 /usr/share/locale/lo/entry.desktop
[KCM Locale]
Name=Lao

Any other suggestions?

Sak


-Original Message-
From: Hendrik Sattler [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 11, 2004 6:51 PM
To: debian-kde@lists.debian.org
Subject: Re: Howto load i18n?

Am Sonntag, 12. September 2004 00:45 schrieben Sie:
> Yes, I am the team coordinator for Lao KDE. I created those mo files and
> put them in /usr/share/locale/lo/LC_MESSAGES/*mo. The files are there, but
> how do you tell the system, KDE, that there is kde-i18n-lo? Any particular
> file(s) I need to create or tweak?

Probably something like this:
$ head -n 3 /usr/share/locale/de/entry.desktop
[KCM Locale]
Name=German
Name[af]=Duits

This file is part of the kde-i18n-de package

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar:
http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org







Re: Howto load i18n?

2004-09-11 Thread Hendrik Sattler
Am Sonntag, 12. September 2004 00:45 schrieben Sie:
> Yes, I am the team coordinator for Lao KDE. I created those mo files and
> put them in /usr/share/locale/lo/LC_MESSAGES/*mo. The files are there, but
> how do you tell the system, KDE, that there is kde-i18n-lo? Any particular
> file(s) I need to create or tweak?

Probably something like this:
$ head -n 3 /usr/share/locale/de/entry.desktop
[KCM Locale]
Name=German
Name[af]=Duits

This file is part of the kde-i18n-de package

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org




pgpIUj8pbz6mg.pgp
Description: signature


RE: Howto load i18n?

2004-09-11 Thread Anousak
Thanks, Hendrik.

Yes, I am the team coordinator for Lao KDE. I created those mo files and put
them in /usr/share/locale/lo/LC_MESSAGES/*mo. The files are there, but how
do you tell the system, KDE, that there is kde-i18n-lo? Any particular
file(s) I need to create or tweak?
Thanks,
Sak


-Original Message-
From: Hendrik Sattler [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 11, 2004 6:32 PM
To: debian-kde@lists.debian.org
Subject: Re: Howto load i18n?

Am Samstag, 11. September 2004 22:47 schrieb Anousak:
> I recently installed the latest Debian in Vmware as guest os. It works
like
> a charm. I really like it. But there couple of issues I have to deal with.
> Hoping you can help me out.  I have all Lao (KDE) mo files located under
> /usr/share/locale/lo/mo*. In Control Center, I changed language to Lao
then
> select Lao OT fonts for Menu under Appearance and Themes. Nothing happens.
> Though I try to shutdown the KDE apps and start them, but still nothing
> happens. How do you load any other languages in Debian? What are steps I
> need to accomplish this? I recall a friend saying that Debian is much more
> friendly then others in terms of internationalization.I recall that was
how
> I loaded Lao under Mandrake. Thanks for your help in advance.

At least my system doesn't know about a kde-i18n-lo package, so maybe you
need 
to get the necessary files from http://i18n.kde.org/teams/index.php?a=i&t=lo

first (looks like only for KDE-3.3 or later).
The directory for the .mo files is NOT /usr/share/locale/lo/*.mo 
but /usr/share/locale/lo/LC_MESSAGES/*.mo

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar:
http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org





Re: Howto load i18n?

2004-09-11 Thread Hendrik Sattler
Am Samstag, 11. September 2004 22:47 schrieb Anousak:
> I recently installed the latest Debian in Vmware as guest os. It works like
> a charm. I really like it. But there couple of issues I have to deal with.
> Hoping you can help me out.  I have all Lao (KDE) mo files located under
> /usr/share/locale/lo/mo*. In Control Center, I changed language to Lao then
> select Lao OT fonts for Menu under Appearance and Themes. Nothing happens.
> Though I try to shutdown the KDE apps and start them, but still nothing
> happens. How do you load any other languages in Debian? What are steps I
> need to accomplish this? I recall a friend saying that Debian is much more
> friendly then others in terms of internationalization.I recall that was how
> I loaded Lao under Mandrake. Thanks for your help in advance.

At least my system doesn't know about a kde-i18n-lo package, so maybe you need 
to get the necessary files from http://i18n.kde.org/teams/index.php?a=i&t=lo 
first (looks like only for KDE-3.3 or later).
The directory for the .mo files is NOT /usr/share/locale/lo/*.mo 
but /usr/share/locale/lo/LC_MESSAGES/*.mo

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org


pgpSlXr7m8Xmo.pgp
Description: signature


Howto load i18n?

2004-09-11 Thread Anousak
Hi folks,

I recently installed the latest Debian in Vmware as guest os. It works like
a charm. I really like it. But there couple of issues I have to deal with.
Hoping you can help me out.  I have all Lao (KDE) mo files located under
/usr/share/locale/lo/mo*. In Control Center, I changed language to Lao then
select Lao OT fonts for Menu under Appearance and Themes. Nothing happens.
Though I try to shutdown the KDE apps and start them, but still nothing
happens. How do you load any other languages in Debian? What are steps I
need to accomplish this? I recall a friend saying that Debian is much more
friendly then others in terms of internationalization.I recall that was how
I loaded Lao under Mandrake. Thanks for your help in advance.

Regards,

Anousak