Re: Changes to .po files not showing in interface
Jan Schneider <[email protected]> Mon, 17 Jun 2013 10:20:42 +0200
| Newsgroups | gmane.comp.horde.internationalization |
|---|---|
| Message-ID | <[email protected]> |
That's by design. Zitat von Oleg Hanins <[email protected]>: > 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: [email protected] > [mailto:[email protected]] On Behalf Of Arjen de Korte > Sent: Friday, June 14, 2013 1:50 PM > To: [email protected] > Subject: Re: [i18n] Changes to .po files not showing in interface > > Citeren Oleg Hanins <[email protected]>: > >> 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. -- Jan Schneider The Horde Project http://www.horde.org/ -- i18n mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]