Extensions

seo_locale

    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:
    mod_rewrite
    / language-id / standard url
    else
    standard url?locale=language-id
    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.

     

    Usage information

    Included in the Zenphoto release.

    For questions and comments please use the forum or discuss on the social networks.


    More by author:

    Related items