Posted: 2008-10-16 09:07:24
Category: Localization and Translations
Version: 1.1.6
Priority: normal
Status: closed
Reported By: Keints
Translations in template "customer/logout.phtml" are called with "Mage_Core" scope. The translation are actually in file "Mage_Customer.csv" which is in "Mage_Customer" scope.
The translations only works right now because translation code side-effect.
With side-effect, i mean the feature that if scope translation is not found, existing translation without scope will be returned.
If in some case, these translations will get also scope (duplicate translation keys in different translation files for example), logout translations will stop working.
It' would be good to log translations that matched without scope, so it would be easier to track possible translation bugs.
Category: Localization and Translations
Version: 1.1.6
Priority: normal
Status: closed
Reported By: Keints
Translations in template "customer/logout.phtml" are called with "Mage_Core" scope. The translation are actually in file "Mage_Customer.csv" which is in "Mage_Customer" scope.
The translations only works right now because translation code side-effect.
With side-effect, i mean the feature that if scope translation is not found, existing translation without scope will be returned.
If in some case, these translations will get also scope (duplicate translation keys in different translation files for example), logout translations will stop working.
It' would be good to log translations that matched without scope, so it would be easier to track possible translation bugs.