Inheritance diagram for TranslationImportXaraya:
Importing Xaraya works the following way:
Directories will be created as projects without documents, XML files will be stored as projects with document. XML files are parsed for English and Translated strings.
If directory or file project already exist, the timestamp and in the later case the original and skeleton documents are updated. (Name, parentid and localeid identifies the existing projects.) If the timestamp of a project is smaller than the root project's, that project was not found while the last import, thus won't be exported and considered to be dead project file.
If the same project contains the same English original string already, the string entry will be updated. If there is no such string yet in this project, a new string will be created and indexed.
Definition at line 43 of file TranslationImportXaraya.php.
Public Member Functions | |
__construct () | |
ProcessDir (RecursiveDirectoryIterator $dirIterator, TranslationProject $parentProject) | |
Import ($localeName) | |
Private Member Functions | |
ImportFile ($fullName, TranslationProject $thisProject) | |
Private Attributes | |
$LocaleID |