The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.osmooz.com/gallery/
Gallery version: 1.5.7
Apache version: 2.0.59
PHP version (don't just say PHP 4, please): 5.2.1
Graphics Toolkit: Netpbm
Operating system: Gentoo
Web browser/version (if applicable):
(excuse me for my english / I 'm french)
Hello
I try to translate the gallery with "fr_FR-1.5.2.tar.gz" file.
As i know, there is no earlier translate for gallery version 1.5.7.
I have problems with some text.
Specialy this own "Created on %s, last changed on %s."
I check the .po file => it's ok (find the text and translate in frecnh)
I debug lang.php and see that dgettext doesn't find the english text.
If someone have any idea ?
thks
Posts: 6818
Hi,
maybe the .po file is out of date and not in sync with 1.5.7
Go to http://jems.de/archive/1.5.7/langpacks/
I synced all available langpacks. Maybe that french package is better.
Have a look and tell me if it works, or not.
Also, you know that modifying ONLY the .po is not enough?
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 3
Thks to answer so quickly and so well.
with this download, it works fine. (I take the old one - 1.5.2 - on sourceforge - it was the lastest)
But, just for information, I try it and I found 1 error on the login.php
the msg was blank even it works on 1.5.2 pack.
I correct it and do "sh make_mo_files.sh -po fr_FR" (like you say in your doc) and it works fine.
"fr_FR-gallery_core.po" :
msgid "Logging in gives you greater permission to view, create, modify and delete albums."
msgstr "Se connecter vous donne plus de droits pour voir, créer, modifier et supprimer des albums."
that's all
Posts: 6818
Hello,
if you are ready with your changes, you could email me the updated french version back and i will release an official 1.5.7 fr_FR langpack.
Thanks,
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 3
hello
I don't find / know / how to send you a private email with attachments.
I find another error in the search.php page.
It doesn't translate the words :
=> "search" in the class="head"
=> "Return" to gallery
=> "gallery"
I had a gtranslate rather than _() in line 55 ($adminbox['text'] = '<span class="head">'. _("Search") .'</span>';) and it works fine know.
I attach you the 2 files.
I rename .po in .txt because it was forbidden to download a .po
If you have an update for this file, I will update it with pleasure.
All