View Issue Details

IDProjectCategoryView StatusLast Update
0005176OXID eShop (all versions)2.3. Extensions (modules, themes)public2015-02-25 18:07
Reporterd3 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005176: the forgotten functions of metadata.php
DescriptionAs a developer i want to define the file-structure in a module by myself.


KH
Steps To ReproduceFor example we have a base folder of a module:
/modules/vendorid/modid/
hereinafter referred to as /base/

So we want to put the menu.xml in there.
So i have to create the file in /base/menu.xml.
i can't declare the file in the metadata.php:
'menu' => array('theme' => 'path/to/menu.xml'),
examle:
'menu' => array('admin' => 'menu/admin/menu.xml'),

Now we want translate some strings.
like in http://www.shoptimax.de/blog/technisches/sprachdateien-bei-modulen-in-4-75-0/ explained.
I have to use the following structure:
frontend: /modules/mymodule/translations/de/mymodule_lang.php
backend: /modules/mymodule/views/admin/de/mymodule_lang.php

'lang' => array('theme' => array('langid' => 'path/to/lang.php')),
examle:
'lang' => array('admin' => array('de' => 'translations/de/lang.php')),
or
this can be used for all themes:
'lang' => array('global' => array('de' => 'translations/de/lang.php')),

Additional Informationthanks to marat for the title :-)
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Relationships

related to 0004886 resolvedLinas Kukulskis module language translations structure 
related to 0005042 assignedflorian.auer metadata-blocks doesn't support multiple themes 

Activities

ray

2013-06-18 21:48

reporter   ~0008787

related: https://bugs.oxid-esales.com/view.php?id=4886

svetlana

2014-03-28 10:06

reporter   ~0009765

waiting for the PO decision.

dajoho

2014-04-29 11:36

reporter   ~0009864

Any progress on this? We'd like to see this feature too.