View Issue Details

IDProjectCategoryView StatusLast Update
0007386OXID eShop (all versions)4.06. Language and translationspublic2024-05-27 14:05
Reporterb.blasius Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version7.0.0-rc1 
Fixed in Version7.1.1 
Summary0007386: Missing directory seperator in custom theme language files path
DescriptionIn 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 Reproduceadded 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
)
        
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2022-12-06 16:35

administrator   ~0014932

Dear B.Blasius,

thank you for your report. I could verify your behaviour.

Best Regards

QA - SG -