multilingual questions

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 !

Comments

  • 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.
  • flu Member
    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 ?
  • flu Member
    I answer to myself, it works perfectly !
    Great job, Zen photo is the gallery script I was waiting for.
    Thank you !
Sign In or Register to comment.