dynamic-locale Nov 14, 2009 / Updated: Jan 19, 2015
Allow the site viewer to select a localization (language).
Only the zp-core and theme gettext() strings are localized by this facility.
If you want to support image descriptions, etc. in multiple languages you will have to enable the multi-lingual option found next to the language selector on the admin Gallery configuration page. Then you will have to provide appropriate alternate translations for the fields you use. While there is a field for strings for all Zenphoto supported languages you need supply only those you choose. The others language strings will default to your local language.
Locale selection may occur in several ways:
- A cookie stored when the user chooses his language
- The URI language selection provided by the seo_locale plugin
- The subdomain locales option
This plugin applies only to the theme pages--not Admin. The <em>language cookie, if set, will carry over to the admin pages. As will using subdomains.
This extension is included in the ZenphotoCMS release.