Add Persian language

Synchronize localizations from Transifex
This commit is contained in:
RainLoop Team 2016-09-07 00:46:23 +03:00
parent 17bdc999f6
commit 2f841524cb
17 changed files with 1139 additions and 27 deletions

View file

@ -1324,7 +1324,7 @@ class ServiceActions
private function convertLanguageNameToMomentLanguageName($sLanguage)
{
$aHelper = array('en_gb' => 'en-gb', 'fr_ca' => 'fr-ca', 'pt_br' => 'pt-br',
'uk_ua' => 'ua', 'zh_cn' => 'zh-cn', 'zh_tw' => 'zh-tw');
'uk_ua' => 'ua', 'zh_cn' => 'zh-cn', 'zh_tw' => 'zh-tw', 'fa_ir' => 'fa');
return isset($aHelper[$sLanguage]) ? $aHelper[$sLanguage] : \substr($sLanguage, 0, 2);
}