2.0.0releasedFLang detection gTLDs

Detects the frontend language from .htaccess rules.

Clone URLhttps://github.com/DeuxHuitHuit/flang_detection_gtlds.git

Add as a submodulegit submodule add https://github.com/DeuxHuitHuit/flang_detection_gtlds.git extensions/flang_detection_gtlds --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
NoNoNo1.2.01.2.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.02.0.0

Readme

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/

Version history

Symphony 2.5.0 to 2.x.x

  • Updated compatibility info.

Symphony 2.3 to 2.x.x

  • Updated compatibility info.

Requires Symphony 2.3

  • Frontend Localisation 1.5 compatibility.

Requires Symphony 2.3

  • Initial release