Translation - making .mo files

khaman

Joined: 2006-01-08
Posts: 15
Posted: Wed, 2006-01-11 10:55

Hi,

After I installed G 2.0.2 on a website I found out the Polish translation is quite poor and incomplete. The server the website is on is hosted by hosting company. So I believe there is no possible to "make install" (I am linux newbie so I don't know hot to check it) I there any way to make .mo files on Win XP - I tried PoEdit (I am not using Linux... yet)?

Other question: can I simply delete unused po files - languages I do not need, and the language selector will display the languages I left?

Thanks for any answer.

Regards
Kamil

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-01-11 11:57

I also am using PoEdit to make my .mo files but you still need to get a based .po file to be able to create your translation.

One solution is to use the already existing file located in \modules\core\po\ then you edit it in PoEdit.

Once the edit is done, the program -will- create a .mo file right in the same directory named pl_PL.mo (i think it's the polish code but not quite sure there)

If the program doesn't create it when you hit save, it means you have some error in your file (like funny character and the sort) :)

When you are satisfied with the translation and ready tio use it, just rename the .mo file into modules_core.mo and place it in \modules\core\locale\pl_PL\LC_MESSAGES

Let us know if you still have issue.

PS: sometimes, you need to reboot the webserver for the .mo file to be applyed (not always but it happens)

See you
-------------------------
The Termite :-)

 
khaman

Joined: 2006-01-08
Posts: 15
Posted: Wed, 2006-01-11 19:06

Hi,

Yes, right it makes .mo files authomatically... I have to try to localize some files. There might be problem with rebooting server as it is in a hosting company :)

------------------------------------------------

Gallery URL: galeria.khaman.net
Gallery version: 2.02
Apache version: Apache/2.0.50
PHP version: 4.3.8
Graphics Toolkit: gd
Operating system: SUSE Linux