ZenphotoCMS Forum
multilingual questions - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: multilingual questions (/thread-3399.html)



multilingual questions - flu - 2008-07-31

Hi,
I'm trying the multilingual stuff you made in the nightly build (seems great) and I have some questions :

  • is it possible to define a default language (for example if the locale string does not match for any reason) ?
  • is it easy to add some buttons for visitors to let them switch manually by clicking the languages in the menu bar ?

Thank you for your time !




multilingual questions - sbillard - 2008-07-31

If you set the language option from the admin page to something other than HTTP Accept Language that will the the language used. There is a plugin--dynamic_locale--that allows you to place a language selector on your pages.

With HTTP Accept Language, the browser provides a list in priority order of the languages the user wishes. Zenphoto will select the first language from the list for which we have a translation. When there is no match, no translatin will be done which results in English.




multilingual questions - flu - 2008-07-31

Thanks for your answer Stephen,
I've seen it, maybe I've missed something but the switcher only change the language interface of ZP but it doesn't change - for example - the title or the desc if they are translated.
Right ?




multilingual questions - flu - 2008-07-31

I answer to myself, it works perfectly !
Great job, Zen photo is the gallery script I was waiting for.
Thank you !