View Issue Details

IDProjectCategoryView StatusLast Update
0005853OXID eShop (all versions)4.06. Language and translationspublic2015-12-01 11:02
ReporterBergfreunde 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformOSWindowsOS Version7
Product Version4.7.4 / 5.0.4 revision 57063 
Target VersionFixed in Version 
Summary0005853: Translation of non language-parameter
DescriptionOXID is trying to translate words, which are not part of the language-files, via function "$oLang->translateString".
e.g.: core/oxemail.php - line 628
$this->setRecipient( $oShop->oxshops__oxowneremail->value, $oLang->translateString("order") );

"order" is just a parameter and not a language variable, so there is no translation for it.
Additional InformationIn order to find missing language-parameters I have written a little function which logs parameter when OXID is trying to translate parameters with no translation.
TagsLanguages
ThemeAzure
BrowserAll
PHP Version5.3
MySQL VersionNot defined

Activities

jurate.baseviciene

2014-08-21 14:32

reporter   ~0010084

Reminder sent to: Bergfreunde


Hi,

Thank you a lot for submitting this issue, but for us is no clear which behaviors is incorrect. Please give us more details about the case?

Best regards,
Jurate

Bergfreunde

2014-08-22 08:35

reporter   ~0010085

Hi,

I mean Oxid is trying to translate the parameter "order" which is not part of the translation-files. So there is no result by $oLang->translateString("order") and that's incorrect.
There will be display no error, but the behaviour is wrong.