seo_locale Apr 21, 2010
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 languageid 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:
/ languageid / standard url
Where languageid 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.
Included in the Zenphoto release.