Configuration of the LANGDET plugin is very simple. However, a novice may be puzzled with "language mapping", "codes" etc. Therefore, below I show some examples of language mapping configuration.
EXAMPLE 1:We have a site that uses 2 languages:
English
Chinese
Default language:
English
(Default is set in Admin->Configuration->Languages.)
We are using these JJB language files (containing text translation):
EN ... English
CN ... Chinese language, simplified script
Code-to-Language Mapping'en*' => 'EN'
'zh*' => 'CN'
Country-to-Language Mapping'cn' => 'CN'
'sg' => 'CN'
'hk' => 'CN'
'mo' => 'CN'
'tw' => 'CN'
EXAMPLE 2:We have a site that uses 5 languages:
English
Chinese
Japanese
German
Czech
Default language:
English
(Default is set in Admin->Configuration->Languages.)
We are using these JJB language files (containing text translation):
EN ... English
CN ... Chinese language, simplified script
JA ... Japanese
DE ... German
CS ... Czech
Code-to-Language Mapping'en*' => 'EN'
'zh*' => 'CN'
'ja*' => 'JA'
'de*' => 'DE'
'cs*' => 'CS'
Country-to-Language Mapping'cn' => 'CN'
'sg' => 'CN'
'hk' => 'CN'
'mo' => 'CN'
'tw' => 'CN'
'jp' => 'JA'
'at' => 'DE'
'ch' => 'DE'
'de' => 'DE'
'li' => 'DE'
'lu' => 'DE'
'cz' => 'CS'
'sk' => 'CS'
If you have any questions or need assistance, let me know!