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.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
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