Frontend Language detection for Symphony CMS using .htaccess rules
PHP
Pull request Compare This branch is 4 commits behind DeuxHuitHuit:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lang
LICENCE.txt
README.md
extension.driver.php
extension.meta.xml

README.md

FLang detection gTLDs

Adds frontend language detection through .htaccess file.

Credits to @klaftertief for .htaccess manipulation.

1. About

This extension adds language detection to .htaccess file.

2 Installation

  1. Upload the flang_detection_gtlds folder found in this archive to your Symphony extensions folder.
  2. Enable it by selecting FLang detection gTLDs under System -> Extensions, choose Enable/Install from the with-selected menu, then click Apply.
  3. Everything is done behind the scenes.

3 Usage

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/