\Pydio\Core\Utils\ReflectionLocaleExtractor

Class LocaleExtractor

Summary

Methods
Properties
Constants
extractConfStringsFromManifests()
updateAllI18nLibraries()
updateI18nFiles()
updateI18nFromRef()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

extractConfStringsFromManifests()

extractConfStringsFromManifests() : void

i18n utilitary for extracting the CONF_MESSAGE[] strings out of the XML files

updateAllI18nLibraries()

updateAllI18nLibraries(string  $createLanguage = "", string  $pluginId = "") : void

Browse the i18n libraries and update the languages with the strings missing

Parameters

string $createLanguage
string $pluginId

updateI18nFiles()

updateI18nFiles(  $baseDir, boolean  $detectLanguages = true, string  $createLanguage = "") 

Patch the languages files of an i18n library with the references strings from the "en" file.

Parameters

$baseDir
boolean $detectLanguages
string $createLanguage

updateI18nFromRef()

updateI18nFromRef(  $filename,   $reference) 

i18n Utilitary

Parameters

$filename
$reference