forked from coral-erm/coral
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Redesigned, Translatable Landing Page / New Auth Module (#4)
- Loading branch information
Showing
39 changed files
with
2,014 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* @author: Cesar Hernandez | ||
* getLanguage: This method return the name of the language according to the language code | ||
*/ | ||
class LangCodes{ | ||
public function getLanguage($code){ | ||
$all_lang=array( | ||
'fr_FR'=>'fr_FR', | ||
'en_US'=>'en_US'//, | ||
//'zh_CN'=>'zh_CN', | ||
//'zh_TW'=>'zh_TW', | ||
//'de_DE'=>'de_DE' | ||
); | ||
return $all_lang[$code]; | ||
} | ||
public function getNameLang($code_lang){ | ||
$name_lang=array( | ||
'fr_FR'=>'Français', | ||
'en_US'=>'English'//, | ||
//'zh_CN'=>'中文 (中国)', | ||
//'zh_TW'=>'中文 (台灣)', | ||
//'de_DE'=>'Deutsch' | ||
); | ||
return $name_lang[$code_lang]; | ||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
admin/configuration.ini | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.