[i18n] Changes to .po files not showing in interface

Oleg Hanins olegs at latcard.lv
Fri Jun 14 14:12:41 UTC 2013


Hello and thank you for your reply.

I followed you advice and used horde-translation script. 
But another thing came up.

My default language is english.
If I change language select on login form
I get redirected to horde/login.php?new_lang=ru_RU
And in this case everything works and all my translateted files work

But if I put username or password and change the language after I am not redirected to horde/login.php?new_lang=ru_RU I still have in the url bar previous language.

I have checked it with FireFox and Chrome.

-----Original Message-----
From: i18n-bounces at lists.horde.org [mailto:i18n-bounces at lists.horde.org] On Behalf Of Arjen de Korte
Sent: Friday, June 14, 2013 1:50 PM
To: i18n at lists.horde.org
Subject: Re: [i18n] Changes to .po files not showing in interface

Citeren Oleg Hanins <olegs at latcard.lv>:

> Hello to every one!
>
>
>
> We use:
>
> CentOS 6
>
> Horde Groupware Webmail Edition 5.0.4
>
>
>
> I tried to update ./locale/ru/LC_MESSAGES/horde.po
>
> I have downloaded this file by filezilla SFTP protocol.
>
>
>
> To edit this file I used Poedit (http://www.poedit.net/)
>
> and the Poedit have created a new horde.mo file as well.

This is not recommended.

> I have uploaded (by fileZilla) all these two files horde.po, horde.mo 
> to ./locale/ru/LC_MESSAGES/
>
>
>
> And changes not showing up...

Chances are that the .po files are out of date. In that case you can modify whatever you want, if the strings are no longer used, translating them is useless.

> We have tried to restat Apache and it has not helped.
>
>
>
> How can I force horde to use new files?

You should merge the existing .po files with the latest .pot files first. The easiest way to deal with the translations is to use the 'horde-translation' tool which should be installed along with horde.  
Use 'horde-translation merge' to do the above mentioned merge, edit the .po files that are now updated and then use 'horde-translation make' to build the new .mo files.



More information about the i18n mailing list