Skip to content

Commit

Permalink
Dev Preparations for Sami translation
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 14, 2020
1 parent ecd03b2 commit db38a6e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions application/helpers/surveytranslator_helper.php
Expand Up @@ -694,6 +694,16 @@ function getLanguageData($bOrderByNative = false, $sLanguageCode = 'en')
$supportedLanguages['ru']['radixpoint'] = 1;
$supportedLanguages['ru']['momentjs'] = 'ru';

// Sami
/*
$supportedLanguages['smi']['description'] = gT('Sami');
$supportedLanguages['smi']['nativedescription'] = 'Sámi';
$supportedLanguages['smi']['rtl'] = false;
$supportedLanguages['smi']['dateformat'] = 4;
$supportedLanguages['smi']['radixpoint'] = 1;
$supportedLanguages['smi']['momentjs'] = 'sme';
*/

// Serbian
$supportedLanguages['sr']['description'] = gT('Serbian (Cyrillic)');
$supportedLanguages['sr']['nativedescription'] = 'Српски';
Expand Down Expand Up @@ -734,6 +744,15 @@ function getLanguageData($bOrderByNative = false, $sLanguageCode = 'en')
$supportedLanguages['sl']['radixpoint'] = 1;
$supportedLanguages['sl']['momentjs'] = 'sl';

// Somali
$supportedLanguages['so']['description'] = gT('Somali');
$supportedLanguages['so']['nativedescription'] = 'Af-Soomaali';
$supportedLanguages['so']['rtl'] = false;
$supportedLanguages['so']['dateformat'] = 9;
$supportedLanguages['so']['radixpoint'] = 1;
$supportedLanguages['so']['momentjs'] = null;


// Somali
$supportedLanguages['so']['description'] = gT('Somali');
$supportedLanguages['so']['nativedescription'] = 'Af-Soomaali';
Expand Down
Empty file added locale/smi/index.html
Empty file.
Empty file added locale/smi/smi.mo
Empty file.

1 comment on commit db38a6e

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 times $supportedLanguages['so']['description'] = gT('Somali'); this don't break anything but ;)

Please sign in to comment.