This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Installing translated po files

Tags: None
(comma "," separated)
vgezer
Registered Member
Posts
47
Karma
0
OS

Installing translated po files

Thu Jan 31, 2013 11:17 am
Hello,

I have followed the steps here to build and install language files:

http://techbase.kde.org/Development/Tut ... 10n_Module

Installation finished successfully but I cannot see the newly localized Apps. Even I use KDE_LANG variable. I restarted the pc but it is still not working.

How can I solve this?
vgezer
Registered Member
Posts
47
Karma
0
OS
Ok I found the solution and posting below:

On kde-i18n channel i posted my question and got the answer from Yuri Chornoivan. Then I found commands to process all files in translation directory and test it by copying all files into locale folder.

Code: Select all
echo "Find PO files, process each with msgfmt and rename the result into filename.MO"

for file in `find . -name "*.po"` ; do msgfmt -o `echo $file | sed 's/\.po$/.mo/'` $file ; done

echo "Move all MO files to locale folder"

sudo find . -iname '*.mo' -exec mv '{}' /usr/share/locale/<your language code here>/LC_MESSAGES/ \;


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]