Skip to content

Commit 8a4c7b4

Browse files
committed
Corrected langcode for Southern Sami
1 parent c99e59f commit 8a4c7b4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/SimpleSAML/Locale/Language.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,18 @@ class Language
7070
private $customFunction;
7171

7272
/**
73-
* A list of languages supported with their names localized, indexed by ISO 639-2 code.
73+
* A list of languages supported with their names localized.
74+
* Indexed by something that mostly resembles ISO 639-1 code,
75+
* with some charming SimpleSAML-specific variants...
76+
* that must remain before 2.0 due to backwards compatibility
7477
*
7578
* @var array
7679
*/
7780
private $language_names = array(
7881
'no' => 'Bokmål', // Norwegian Bokmål
7982
'nn' => 'Nynorsk', // Norwegian Nynorsk
8083
'se' => 'Sámegiella', // Northern Sami
81-
'sam' => 'Åarjelh-saemien giele', // Southern Sami
84+
'sma' => 'Åarjelh-saemien giele', // Southern Sami
8285
'da' => 'Dansk', // Danish
8386
'en' => 'English',
8487
'de' => 'Deutsch', // German

0 commit comments

Comments
 (0)