View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007386 | OXID eShop (all versions) | 4.06. Language and translations | public | 2022-12-06 14:54 | 2024-05-27 14:05 |
Reporter | b.blasius | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 7.0.0-rc1 | ||||
Fixed in Version | 7.1.1 | ||||
Summary | 0007386: Missing directory seperator in custom theme language files path | ||||
Description | In oxideshop-ce/source/Core/Language.php:683 getThemeLanguageFiles() a directory seperator between theme path and language folder is missing. $themePath . 'translations/' . $languageAbbreviation $themePath . $languageAbbreviation The generated paths look like source/Application/views/customthemetranslations/de/lang.php source/Application/views/customthemede/lang.php | ||||
Steps To Reproduce | added by QA - SG - : 1. Install new Shop 2. create custome theme 3. create custom language 4. create files accordingly 5. let you get the variables, e.g.: file_put_contents(dirname(__FILE__).'/_files.txt',PHP_EOL.PHP_EOL.print_r($files,true), FILE_APPEND); 6. activate custom theme, clear cache, call frontend cleared output: Array ( [0] => ./source/Application/views/customtranslations/fr/lang.php [1] => ./source/Application/views/customfr/lang.php ) | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||