[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: why isnt language 'te' not tagged for release?
From:       "Sahachart Anukulkitch" <drrider () gmail ! com>
Date:       2007-05-24 13:57:31
Message-ID: d84f999d0705240657o1321f607wc1624cab57c71fbf () mail ! gmail ! com
[Download RAW message or body]

In Kubuntu, the locale files for KDE are in
/usr/share/locale-langpack/<lg>/LC_MESSAGES. Other distros, such as
PCLinuxOS, they are in /usr/share/locale/<lg>/LC_MESSAGES.

On 24/05/07, Kevin Donnelly <kevin@dotmon.com> wrote:
>
> On Thursday 24 May 2007 11:41, pavithran wrote:
> > I actually did the same 'above thing' !!! Using KDE SDK . I actually
> used
> > some language like en_GB and copied all the mo files which I generated
> > using SDK into /usr/share/locale/en_GB
> > But the menu and other files are all still displaying in english only
> not
> > telugu.
>
> Hmm.  I think the /usr/share/locale/<lg>/LC_MESSAGES are for X apps in
> general, and not for KDE.  There are separate folders for KDE and GNOME
> messages, so copying your files into  /usr/share/locale/<lg>/LC_MESSAGES
> will
> have no effect - KDE will not be looking there.  I don't know which distro
> you're using as a base, but try doing a find on LC_MESSAGES, and see what
> other folders come up.
>
> Just to confirm this, I just went through this process on my own machine
> here,
> and it works fine.
> (1) Install the KDE pack for your chosen language - for openSUSE 10.0 this
> was
> kde3-i18n-da; your distro may be different.
> (2) In the KDE Control Center (kcontrol) -> Regional and Accessibility ->
> Country/Region & Language, add Danish, Apply and close.
> (3) Rename the Danish files in /opt/kde3/share/locale/da (your distro by
> changing LC_MESSAGES to LC_MESSAGES_da.
> (4) Make a new folder LC_MESSAGES, and copy your own files into that.
> (5) Relaunch the Control Center, and move Danish up to be the default
> language, Apply and close.
> (6) New apps opened will use the language (in my case Welsh) aliased as
> "Danish".
>
> Can you try the above and see what happens?  Don't use any English
> variant,
> but some other language, and make sure you are putting the files in the
> right
> dir for KDE (you should see lots of files named after KDE apps in there,
> rather than the 4 or 5 that would be in
> /usr/share/locale/<lg>/LC_MESSAGES).
>
> >>This is a bit of a hack - I'm sure you could also manually set up Telugu
> >> with a desktop file too (so that you choose "Telugu")
>
> > please help me out in this regard especially with desktop file.
>
> The entry.desktop file in the language folder (eg
> /opt/kde3/share/locale/da)
> is actually just a text file with the following format:
> [KCM Locale]
> Name=Telugu  <---name of Telugu in English
> Name[af]=whatever  <---name of Telugu in Afrikaans (af)
> Name[cy]=whatever   <---name of Telugu in Welsh (cy)
> etc etc
> So you could just fill in as many of these as you think would be relevant
> for
> the time being (English and Telugu?), and add the file to that dir.
>
> --
> Pob hwyl / Best wishes
>
> Kevin Donnelly
>
> www.kyfieithu.co.uk - KDE yn Gymraeg
> www.klebran.org.uk - Gwirydd gramadeg rhydd i'r Gymraeg
> www.eurfa.org.uk - Geiriadur rhydd i'r Gymraeg
> www.rhedadur.org.uk - Rhedeg berfau Cymraeg
>

[Attachment #3 (text/html)]

In Kubuntu, the locale files for KDE are in /usr/share/locale-langpack/&lt;lg&gt;/LC_MESSAGES. \
Other distros, such as PCLinuxOS, they are in \
/usr/share/locale/&lt;lg&gt;/LC_MESSAGES.<br><br><div><span class="gmail_quote">On 24/05/07,  \
<b class="gmail_sendername">Kevin Donnelly</b> &lt;<a \
href="mailto:kevin@dotmon.com">kevin@dotmon.com</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt \
0.8ex; padding-left: 1ex;"> On Thursday 24 May 2007 11:41, pavithran wrote:<br>&gt; I actually \
did the same &#39;above thing&#39; !!! Using KDE SDK . I actually used<br>&gt; some language \
like en_GB and copied all the mo files which I generated<br>&gt; using SDK into \
/usr/share/locale/en_GB <br>&gt; But the menu and other files are all still displaying in \
english only not<br>&gt; telugu.<br><br>Hmm.&nbsp;&nbsp;I think the \
/usr/share/locale/&lt;lg&gt;/LC_MESSAGES are for X apps in<br>general, and not for \
KDE.&nbsp;&nbsp;There are separate folders for KDE and GNOME <br>messages, so copying your \
files into&nbsp;&nbsp;/usr/share/locale/&lt;lg&gt;/LC_MESSAGES will<br>have no effect - KDE \
will not be looking there.&nbsp;&nbsp;I don&#39;t know which distro<br>you&#39;re using as a \
base, but try doing a find on LC_MESSAGES, and see what <br>other folders come up.<br><br>Just \
to confirm this, I just went through this process on my own machine here,<br>and it works \
fine.<br>(1) Install the KDE pack for your chosen language - for openSUSE 10.0 this \
was<br>kde3-i18n-da; your distro may be different. <br>(2) In the KDE Control Center (kcontrol) \
-&gt; Regional and Accessibility -&gt;<br>Country/Region &amp; Language, add Danish, Apply and \
close.<br>(3) Rename the Danish files in /opt/kde3/share/locale/da (your distro by <br>changing \
LC_MESSAGES to LC_MESSAGES_da.<br>(4) Make a new folder LC_MESSAGES, and copy your own files \
into that.<br>(5) Relaunch the Control Center, and move Danish up to be the \
default<br>language, Apply and close.<br> (6) New apps opened will use the language (in my case \
Welsh) aliased as<br>&quot;Danish&quot;.<br><br>Can you try the above and see what \
happens?&nbsp;&nbsp;Don&#39;t use any English variant,<br>but some other language, and make \
sure you are putting the files in the right <br>dir for KDE (you should see lots of files named \
after KDE apps in there,<br>rather than the 4 or 5 that would be in \
/usr/share/locale/&lt;lg&gt;/LC_MESSAGES).<br><br>&gt;&gt;This is a bit of a hack - I&#39;m \
sure you could also manually set up Telugu <br>&gt;&gt; with a desktop file too (so that you \
choose &quot;Telugu&quot;)<br><br>&gt; please help me out in this regard especially with \
desktop file.<br><br>The entry.desktop file in the language folder (eg \
/opt/kde3/share/locale/da) <br>is actually just a text file with the following format:<br>[KCM \
Locale]<br>Name=Telugu&nbsp;&nbsp;&lt;---name of Telugu in \
English<br>Name[af]=whatever&nbsp;&nbsp;&lt;---name of Telugu in Afrikaans \
(af)<br>Name[cy]=whatever&nbsp;&nbsp; &lt;---name of Telugu in Welsh (cy) <br>etc etc<br>So you \
could just fill in as many of these as you think would be relevant for<br>the time being \
(English and Telugu?), and add the file to that dir.<br><br>--<br>Pob hwyl / Best \
wishes<br><br>Kevin Donnelly <br><br><a \
href="http://www.kyfieithu.co.uk">www.kyfieithu.co.uk</a> - KDE yn Gymraeg<br><a \
href="http://www.klebran.org.uk">www.klebran.org.uk</a> - Gwirydd gramadeg rhydd i&#39;r \
Gymraeg<br><a href="http://www.eurfa.org.uk"> www.eurfa.org.uk</a> - Geiriadur rhydd i&#39;r \
Gymraeg<br><a href="http://www.rhedadur.org.uk">www.rhedadur.org.uk</a> - Rhedeg berfau \
Cymraeg<br></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic