seo_locale 21 April 2010 / Updated: 19 January 2015
Forces language selection via an URI parameter.
This filter will detect a language setting from the URI and set the locale accordingly.
In addition, theme URLs will have the language-id inserted into them so that the above processing will result in the language being set.
This plugin should not be used if you are using subdomain locales (See the dynamic_locales plugin.)
The URL format is:
/ language-id / standard url
Where language-id is the local identifier (e.g. en, en_US, fr_FR, etc.)
NOTE: the implementation of these URIs requires that Zenphoto parse the URI, save the language request to a cookie, then redirect to the "native" URI. This means that there is an extra redirect for EACH page request!
If your site will support it, we suggest you use the dynamic_locales plugin subdomain locales option instead for better performance.
This extension is officially supported but not included in the ZenphotoCMS release.