Adds frontend language detection through .htaccess file.
- Version: 1.1
- Date: 2012-05-14
- Requirements:
- Symphony 2.3
- Frontend Localisation
- Author: Vlad Ghita
- GitHub Repository: http://github.com/vlad-ghita/flang_detection_gtlds
Credits to @klaftertief for .htaccess
manipulation.
This extension adds language detection to .htaccess file.
- Upload the
flang_detection_gtlds
folder found in this archive to your Symphonyextensions
folder. - Enable it by selecting
FLang detection gTLDs
underSystem -> Extensions
, chooseEnable/Install
from the with-selected menu, then click Apply. - Everything is done behind the scenes.
An URL must follow this convention:
www.site.com/$LANGUAGE_CODE$/...
$LANGUAGE_CODE$ = $LANGUAGE$-$REGION$
$LANGUAGE$ = mandatory
$REGION$ = optional
Valid URLs:
www.site.com/en/
www.site.com/en-us/