ZenphotoCMS Forum
wierd characers with french translation with 1.4.1 - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Translating (https://forum.zenphoto.org/forum-8.html)
+--- Thread: wierd characers with french translation with 1.4.1 (/thread-8792.html)



wierd characers with french translation with 1.4.1 - vincent3569 - 2011-06-29

Hi,

Michel Gagnon have reported an issue with the french translation with zenphoto 1.4.1, but I create this new topic, for french user of zenphoto.

there is an opened ticket http://www.zenphoto.org/trac/ticket/1918, and I have saw a discussion about it on zenphoto-translate.

so, can I download the latest night buid (zenphoto-2011-06-28-trunk.zip for exemple) to have a fixed issue of this translation issue?

thanks in advance for the response.




wierd characers with french translation with 1.4.1 - acrylian - 2011-06-29

I think so. You should be able to use just the newer translation file with the standard 1.4.1 release.




wierd characers with french translation with 1.4.1 - binoyte - 2011-06-29

Quite easy to fix it. You have to convert [b]twice[/b] to UTF-8 encoding the locale file :

…\zp-core\locale\fr_FR\LC_MESSAGES\zenphoto.po

I used scite (text editor) to do this. http://opensource.ebswift.com/SciTEInstaller/

How to proceed :

  1. open the file in scite
  2. Menu File > encoding> utf-8
  3. ctrl + A ; ctrl + C
  4. new scite document
  5. ctrl + V
  6. Menu File > encoding> utf-8
  7. save and it's done



wierd characers with french translation with 1.4.1 - acrylian - 2011-06-29

It should actually not necessary to do that. After parsing the Zenphoto files using Poedit (or else) with the proper catalog setting it should do all that. At least I never had this issue with the translation maintained by myself.




wierd characers with french translation with 1.4.1 - vincent3569 - 2011-06-29

maybe I don't understand.
I have downloaded the official release 1.4.1 by following the link http://zenphoto.googlecode.com/files/zenphoto-1.4.1.zip.

but the problem is still the same.

which "standard" release should I download ?




wierd characers with french translation with 1.4.1 - binoyte - 2011-06-29

The French translation is weird in the official release (.zip or .tar.gz). I have installed ZP despite the setup was affected. No way to fix it, while and after the setup. Fixing with scite takes less than 5 minutes.

NB : I didn't know poedit.




wierd characers with french translation with 1.4.1 - sbillard - 2011-06-29

The correction for this (and for anything that gets fixed) is found in the nightly builds. So download the nightly build and install it.




wierd characers with french translation with 1.4.1 - binoyte - 2011-06-29

Sorry my method doesn't work and I really don't understand why. But I am still 'tweaking' the .po file et compiling the *.mo

While browsing the back-end, sometimes encoding is good sometimes encoding is weird again. I purged my browser cache. Strange behaviour.




wierd characers with french translation with 1.4.1 - binoyte - 2011-06-30

OK, translation files in the nightly build work fine.

Thanks




wierd characers with french translation with 1.4.1 - man-d - 2011-07-03

Hi,

Same behaviour after 1.4.1 update.
Using nightly build's translation solved the problem.
Thank you for posting!