Magento Certified Developer GuideCategory: 1. BasicsWhat is the priority of translation options
Manish Prakash Staff asked 1 year ago

Translation are loaded in ‘core/translate’ model in the init() function
The code written there is

foreach ($this->getModulesConfig() as $moduleName=>$info) {
            $info = $info->asArray();
            $this->_loadModuleTranslation($moduleName, $info['files'], $forceReload);
        }

$this->_loadThemeTranslation($forceReload);
$this->_loadDbTranslation($forceReload);

From here we can that “loading” priority for transaction files is
1. app/locale/{locale}/*.csv
2. app/design/{package}/{theme}/locale/{locale}/translate.csv
3. inline transaction from database (core_translate)

But when translation are applied, the priority is reversed.