MST-SymphonyCMS / flang_detection_gtlds

Frontend Language detection for Symphony CMS using .htaccess rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

Frontend Language detection for Symphony CMS using .htaccess rules

License:MIT License