wfk/wfk-locale

There is no license information available for the latest version (dev-master) of this package.

Adds locale to URL and a locale selector

dev-master 2013-09-14 16:16 UTC

This package is not auto-updated.

Last update: 2024-12-21 14:12:14 UTC


README

Adds locale detection based on url and a locale selector.

Installation

From the root of your ZF2 Skeleton Application run

./composer.phar require wfk/wfk-locale

You can add the locale selector by calling the wfkLocale view helper. This generates an ul with all available locales and there url.

$this->wfkLocale();