Skip to content

Commit

Permalink
Item13280: add mapping for newly supported langs
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Feb 25, 2015
1 parent 48520ea commit 38475dc
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions lib/Foswiki/Plugins/SolrPlugin/Config.spec
Expand Up @@ -79,23 +79,38 @@ $Foswiki::cfg{SolrPlugin}{SearchUrl} = '';
# Entries in the list below are key => value pairs mapping a cleartext language label to the used locale ID
# used in the schema.
$Foswiki::cfg{SolrPlugin}{SupportedLanguages} = {
'en' => 'en', 'en-us' => 'en', 'en-gb' => 'en', 'english' => 'en',
'cjk' => 'cjk', 'zh-cn' => 'cjk', 'zh-tw' => 'cjk', 'ja' => 'cjk', 'ko' => 'cjk', 'chinese' => 'cjk', 'japanese' => 'cjk', 'korean' => 'cjk',
'ar' => 'ar', 'arabic' => 'ar',
'bg' => 'bg', 'bulgarian' => 'bg',
'ca' => 'ca', 'catalan' => 'ca',
'cjk' => 'cjk', 'zh-cn' => 'cjk', 'zh-tw' => 'cjk', 'ko' => 'cjk', 'chinese' => 'cjk', 'korean' => 'cjk',
'ckb' => 'ckb', 'kurdish' => 'ckb',
'cz' => 'cz', 'czech' => 'cz',
'da' => 'da', 'danish' => 'da',
'de' => 'de', 'german' => 'de',
'el' => 'el', 'greek' => 'el',
'en' => 'en', 'en-us' => 'en', 'en-gb' => 'en', 'english' => 'en',
'es' => 'es', 'spanish' => 'es',
'eu' => 'eu', 'basque' => 'eu',
'fa' => 'fa', 'persian' => 'fa',
'fi' => 'fi', 'finish' => 'fi',
'fr' => 'fr', 'french' => 'fr',
'ga' => 'ga', 'irish' => 'ga',
'gl' => 'gl', 'galician' => 'gl',
'hi' => 'hi', 'hindi' => 'hi',
'hu' => 'hu', 'hungarian' => 'hu',
'hy' => 'hy', 'armenian' => 'hy',
'id' => 'id', 'indonesian' => 'id',
'it' => 'it', 'italian' => 'it',
'ja' => 'ja', 'japanese' => 'ja',
'lv' => 'lv', 'latvian' => 'lv',
'nl' => 'nl', 'dutch' => 'nl',
'no' => 'no', 'norwegian' => 'no',
'pt' => 'pt', 'pt-br' => 'pt', 'portuguese' => 'pt',
'ro' => 'ro', 'romanian' => 'ro',
'ru' => 'ru', 'russian' => 'ru',
'sv' => 'sv', 'swedish' => 'sv',
'th' => 'th', 'thai' => 'th',
'tr' => 'tr', 'turkish' => 'tr',
'cs' => 'detect',
'no' => 'detect',
'pl' => 'detect',
'uk' => 'detect',
};

# **STRING**
Expand Down

0 comments on commit 38475dc

Please sign in to comment.