ZenphotoCMS Forum
contact_form and multi-lingual language. - 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: contact_form and multi-lingual language. (/thread-4427.html)



contact_form and multi-lingual language. - Janusz - 09-01-2009

Hello,

I use zenphoto with the multi-lingual language mode.
When I try to make a contact form, there is a problem with the translation :

`
a:2:{s:5:"fr_FR";s:189:"

Fields with * are required. HTML or any other code is not allowed.
A copy of your e-mail will automatically be sent to the address
you provided for your own records.
";s:5:"en_US";s:182:"

Les champs avec * sont obligatoire. Les balises HTML ou autres
sont autorisées. Une copie sera automatiquement envoyé
à notre administrateur en sauvegarde.
";}
`
I don't want modify the plugin code.
So, for the moment, I deleted my translations in the contact_form option.

In fine, it's not a solution.

I don't know if this bug is know by the developers... so here is this post.




contact_form and multi-lingual language. - acrylian - 09-01-2009

That is what is displayed on the theme? That should not be and will likely be a bug. We will investigate that.




contact_form and multi-lingual language. - Janusz - 09-01-2009

OK thanks.

Just another explanations :

  • I use the defaut theme.
  • I copy the search.php page and modify as contact.php.
  • The message appears when I call the function printContactForm()
  • The system works. I receive the mail. It's just the translation of the message.

PS : There is also the "street" field who appear but the option is know as "no used".




contact_form and multi-lingual language. - Bruzas - 13-03-2009

for me is the same problem i guess, album description is shown in both languages instead of one wich is chosed in language selector. Default zenpage theme.

`

a:2:{s:5:"en_US";s:26:"

English description

";s:5:"lt_LT";s:42:"

Lietuviškas aprašymas

";}`

thanks




contact_form and multi-lingual language. - sbillard - 13-03-2009

The contact form problem has already been identified and fixed in the nightly build. THe description is a new one, but we can get that fixed.




contact_form and multi-lingual language. - Bruzas - 14-03-2009

ok thanks, and the same thing is with album description acctually.




contact_form and multi-lingual language. - sbillard - 14-03-2009

And probably a few other things as well. Only the print functions had the multi-lingual handling. We are searching and fixing these issues. But keep letting us know if as you find things so we can be sure to get them all.




contact_form and multi-lingual language. - Bruzas - 15-03-2009

ok, there's where i have noticed this problem:

domain.com/index.php: album name - problem; album description - no problem.

domain.com/index.php?album=x: album name in breadcumb - problem; album description - problem.

domain.com/index.php?album=x&image=x.jpg: album name in breadcumb - no problem; image name in breadcumb - problem; image description - problem.

Gallery name works well, exept it's not switching in breadcumb. Zenpage everything works well, at least i did't noticet this problem in zenpage.




contact_form and multi-lingual language. - sbillard - 15-03-2009

Can you do two things for me. First, try this with last night's build. Then, if it is still a problem, I need a better description of what is not working. Maybe the screen shots.




contact_form and multi-lingual language. - Bruzas - 15-03-2009

i'm not sure i know what exactly means "night buid", but if you talking about latest version, i have instaled zenphoto few days ago, and when i press 'check for update' it shows 'You are running the latest zenphoto version.'
and here is screenshots:
http://www.hobo.lt/screens/index.jpg
http://www.hobo.lt/screens/album.jpg
http://www.hobo.lt/screens/image.jpg

hope it will help.




contact_form and multi-lingual language. - sbillard - 16-03-2009

http://www.zenphoto.org/files/nightly/




contact_form and multi-lingual language. - Bruzas - 16-03-2009

seems that with the last night build everything is perfect.

thank you