Member
Member
Damino   2009-11-20, 17:50
#1

Hi everyone. Since I'm on the 1.2.6 I have some problem with encoding buyt just with the album date callled by the function

The rest of my text on the same page (index.php) is correctly encoded.

Even if I change the encoding with my browser, the problem remains.

Any idea ? So to understand the process how the date with numbers is translated in date with letters and where is the localization for my language just for date (it is not in the zenphoto.po file).

Thanks.

Member
Member
sbillard   2009-11-20, 18:11
#2

Did setup give you any warning messages? PHP does the data formatting based on your locale, but if the proper PHP parts are not installed, no translation takes place.

Member
Member
Damino   2009-11-20, 18:52
#3

The translation is correct but there is an encoding problem. And as changing encoding with browser doesn't change anything I supposed the problem came upstream (in the generated HTML the date is already like this : "février" instead of "février".

Any warning with setup.

I must say that this problem is just for dates. All the rest is Ok (front and back stage).

Member
Member
sbillard   2009-11-20, 23:59
#4

That very much sounds like you do not have mbstring support.

Member
Member
Damino   2009-12-15, 12:37
#5

Hi, how can I check if I have the mbstring support ?
The problem is still there with the 1.2.7 and on my weberver AND on my local install with MAMP (on a Mac).

Thanks.

Administrator
Administrator
acrylian   2009-12-15, 15:07
#6

Setup will tell you actually and the problem is on your server. MAMP on Mac does have mbstring (I use that myself).

Member
Member
Damino   2009-12-15, 15:24
#7

Thanks for answering my question.
I've changed what suggested by the setup but no changes.
More over I've notice that the dates from the archives pages are OK but not the one on the search page result or on the index galerie.

Weird ...

I've got other scripts like Wordpress and there's no problem. BEfore the 1.2.6 I had no problem with this with zenphoto.

Administrator
Administrator
acrylian   2009-12-15, 16:03
#8

Wordpress translates the months names manually (I think it was at least that way) while we rely on the gettext and locale stuff installed on your server. You might need to restart the LAMP server to see any effect. Also clear the browser cache and make sure that you don't have the html cache enabled.

Make also sure that everything is in the right encoding, especially the theme files ifself.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.