Code layout

Architecture

Three parsers feed a single index, with no Composer dependency. Each parser produces "compact entries" in the same format, aggregated then serialised to JSON.

ClassRole
TranslationIndexBuild, search, write a translation, patch an entry. Heart of the module.
XliffParserReads XLIFF 1.2 (PS 8/9): locale and domain detection, source↔target fallback.
LegacyPhpParserReads legacy $_MODULE[...] files; inclusion bounded to the PrestaShop root.
TemplateParserExtracts strings from Smarty ({l s= d=}) and Twig (|trans, {% trans %}) templates.
Loading...
Back to top