Hi, I'm using the Stopdesign theme in my website and I used the french zenphoto.po file to create a portuguese translation. I've deleted all unnecessary (to me) language directories except English, French and Portuguese. They are all correctly placed under zp-core/locale, each with its own folder (en_US, fr_FR and pt_PT),
It all worked fine until this afternoon. All of sudden, everything I've translated is missing (I'm not talking about things like album or photo descriptions and titles).
In the main page (fotos.adrifil.net), whatever the language you choose you can read "RECENTLY UPDATED GALLERIES", "RECENT IMAGES" and "GALLERY DATA" instead of its translations.
Did this happened to someone else? My PHP Server version is 5.0.51. Two weeks ago was 4.4.6 and nothing of this happened. Could it be related?
Thanks for all the help you can give me.
Comments
Once I made the corrections asked by the setup everything went fine.
The strange thing is that the translations worked very well for several days until today. I haven't changed anything but it seems that none of the po files is now recognised by zenphoto.
Since it is not working something must have changed. Whatever that turns out to be will lead us to the root problem.
You could check if the portuguese locale maybe got lost when the server got updated. You'll find a script to test that here: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#24
I checked the locale folder and the 3 language folders are there: the en_US (with the placeholder text file) and the fr_FR and pt_PT with the LC_MESSAGES folders and the zenphoto mo and po files.
I'll check the script you mentioned as soon as possible.
Thanks.
Zenphoto has detected that you're upgrading to a new version.
Systems Check:
PHP version 5.2.6
PHP Safe Mode
PHP magic_quotes_gpc [is enabled]
You should consider disabling magic_quotes_gpc. For more information click here.
PHP GD support
PHP glob() support
PHP gettext() support [is not present]
Localization of Zenphoto currently requires native PHP gettext() support
PHP mbstring package [is not present]
Strings generated internally by PHP may not display correctly. (e.g. dates)
PHP MySQL support
zp-config.php file
MySQL setup in zp-config.php
connect to MySQL
MySQL version 5.0.51a
connect to the database adrifil_zenphoto
MySQL access rights
MySQL show tables found: zp_administrators, zp_admintoalbum, zp_albums, zp_captcha, zp_comments, zp_images, zp_obj_to_tag, zp_options, zp_tags
Zenphoto core files [Some filemtimes seem out of variance.]
Perhaps there was a problem with the upload. You should check the following files:
../themes/stopdesign/404.php
../themes/stopdesign/album.php
../themes/stopdesign/albumarchive.php
../themes/stopdesign/image.php
../themes/stopdesign/index.php
../themes/stopdesign/search.php
../themes/stopdesign/slideshow.php
../themes/stopdesign/theme_description.php
../themes/stopdesign/themeoptions.php
.htaccess file (RewriteEngine is ON)
.htaccess RewriteBase is /
albums folder
cache folder
locale folders
Could the problem be here? What should I check in the files above?
Localization of Zenphoto currently requires native PHP gettext() support
So you need to contact your host to install/enable that.
And what about the files that I should check because there was (perhaps) a problem with the upload?
Thank you very much for your help.