Hi Arshpreet,
I have to run to work, but here are a few thoughts.
1. Looks like "pa" is the correct two-char abbreviation, so the file should
be "pa.po"
2. You have to add pa to the list in po/LINGUAS
3. Make sure your translation got installed - look in
/usr/local/share/locale, there will be a directory for each language. There
should be one for pa, under that should be LC_MESSAGES, under that should
be tuxmath.gmo. Also, if the translation is there, make sure you are
calling your customized tuxmath rather than the one from apt-get by typing
"which tuxmath" - it should say "/usr/local/bin/tuxmath".
4. It sounds like you definitely have the pa_IN.UTF-8 locale installed
already, but otherwise that would be something you could confirm by running
"sudo dpkg-reconfigure locales"
5. From the command line, I test different languages by setting the LANG
variable directly, e.g. instead of just typing "tuxmath", type
"LANG=pa_IN.UTF-8 tuxmath". But it looks below like you have the LANG
environmental variable set correctly.
6. You might test running tuxmath in a different translation known to work,
for example make sure you have the French locale on your machine (can add
it by "sudo dkpg-reconfigure locales" as listed above), then run
"LANG=fr_FR.UTF-8 tuxmath".
My best bet is that you could have overlooked the po/LINGUAS step, but
maybe not.
Hope that helps,
David Bruce
On Sat, Jan 19, 2013 at 7:15 AM, arshpreet singh <ar...@gm...> wrote:
> hello sir
> thanks for help in tuxmath translation in punjabi.
> i have successfully completed the translation file name pa_IN.po and able
> to re-run make and make install.both the commands worked correctly without
> error. :)
> i also changed my local language to punjabi but when i do run TuxMath it
> runs only in english language.(my other apps firefox or gedit runs in
> punjabi)
> as all the steps we discussed in chat have completed but TuxMath still
> runs in default English language.
> here is the $locale command output from my terminal:
>
> *root@mercymachine:/home/mercy-machine# locale
> LANG=pa_IN.UTF-8
> LANGUAGE=pa_IN
> LC_CTYPE=pa_IN.UTF-8
> LC_NUMERIC="pa_IN.UTF-8"
> LC_TIME="pa_IN.UTF-8"
> LC_COLLATE=pa_IN.UTF-8
> LC_MONETARY="pa_IN.UTF-8"
> LC_MESSAGES=pa_IN.UTF-8
> LC_PAPER="pa_IN.UTF-8"
> LC_NAME="pa_IN.UTF-8"
> LC_ADDRESS="pa_IN.UTF-8"
> LC_TELEPHONE="pa_IN.UTF-8"
> LC_MEASUREMENT="pa_IN.UTF-8"
> LC_IDENTIFICATION="pa_IN.UTF-8"
> LC_ALL=
>
> *should i need to change the name of file ".po" file. i tried with *pu.po,
> pa.po, pa_IN.po, pa_PK.po and pa_IN.UTF-8.po*
>
> --
>
> Thanks
> Arshpreet singh
> http://arshpreetsingh.wordpress.com/
--
David Bruce
For all your software needs, visit The Apt Store:
deb http://ftp.us.debian.org/debian stable main
|