Download the PHP package victoire/localeswitcher-widget without Composer
On this page you can find all versions of the php package victoire/localeswitcher-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download victoire/localeswitcher-widget
More information about victoire/localeswitcher-widget
Files in victoire/localeswitcher-widget
Package localeswitcher-widget
Short Description Victoire DCMS LocaleSwitcher widget
License MIT
Informations about the package localeswitcher-widget
Victoire LocaleSwitcher Bundle
What is the purpose of this bundle
This bundles gives you access to the LocaleSwitcher Widget which enables a language switcher on your website.
Set Up Victoire
If you haven't already, you can follow the steps to set up Victoire here
Install the bundle
php composer.phar require victoire/localeswitcher-bundle
Do not forget to add the bundle in your AppKernel !
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new Victoire\Widget\LocaleSwitcherBundle\VictoireWidgetLocaleSwitcherBundle(),
);
return $bundles;
}
}
Add some extra localized links in the locale switcher
Sometimes, for example for a large company with some subsidiaries which aren't manage by this website, we would like to add extra localized links in the locale switcher.
Just add some config to get things done:
You can have the complete list of managed countries in Resources/public/images/flags
.
All versions of localeswitcher-widget with dependencies
symfony/framework-bundle Version ~2.8|~3.0
victoire/victoire Version ~2 | ~3.0