Method | Description | |
---|---|---|
__construct ( |
||
createLanguage ( $language_code ) | ||
export ( $language ) | ||
installLanguageFile ( $file ) | ||
uploadLanguageFile ( $file ) : array | Upload the language file to server |
Method | Description | |
---|---|---|
copyLanguageFiles ( $language_code ) | Copy language files from default language(en) to the newly created language | |
writeConfig ( $language ) |
public __construct ( |
||
$translation_manager |
public uploadLanguageFile ( $file ) : array | ||
$file | ||
return | array |