View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005176 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2013-06-17 11:29 | 2022-02-02 09:19 |
Reporter | d3 | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | assigned | Resolution | open | ||
Summary | 0005176: As a developer i want to define the file-structure in a module by myself | ||||
Description | For 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 Information | thanks to marat for the title :-) -- Sorry for removing the bad title - Sven | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
related to | 0004886 | resolved | Linas Kukulskis | module language translations structure |
related to | 0005042 | resolved | SvenBrunk | metadata-blocks doesn't support multiple themes |
|
related: https://bugs.oxid-esales.com/view.php?id=4886 |
|
waiting for the PO decision. |
|
Any progress on this? We'd like to see this feature too. |
|
Replaced the bad title by something more clear |