Member
Member
flu   2008-07-31, 19:00
#1

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 !

Member
Member
sbillard   2008-07-31, 19:07
#2

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.

Member
Member
flu   2008-07-31, 19:24
#3

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 ?

Member
Member
flu   2008-07-31, 19:32
#4

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

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