| Re: new localisation in xoops 2.3.3 for themes ( morphogenesis ) |
| by noo-b on 2009/2/20 16:20:13 there should be a clear documentation about this in the 2.33rc coming release!!! |
| Re: new localisation in xoops 2.3.3 for themes ( morphogenesis ) |
| by Burning on 2009/2/15 23:37:59 Sorry, my english is very poor. But I will try to explain a little more, basing on my own experience. When I share a theme (morhpogenesis only, don't know other way to do), users had to do two things : - hack core, by editing www/include/common.php file - add theme.php file, in www/language/.../ So, now I can share theme : - without hacking core - with theme.php file Then, theme is ready to use ![]() (I repeat to be clear : it only concerns morphogenesis themes) |
| Re: new localisation in xoops 2.3.3 for themes ( morphogenesis ) |
| by icomuser on 2009/2/15 23:16:25 there already is language/<language>/theme.php or even global.php having 2 language folders is counter productive. the point is, there's already a language folder, so why create another new language folder? if the point is to add custom language defines for themes, then create a custom language folder that is actually located in the language folder. that way you keep everything together..and a newbie doesn't have to scour through multiple directories in order to find a language define that he might want to change.. if they're all in 1 place, then all he needs to do is look in the logical place (the folder named languages) |
| Re: new localisation in xoops 2.3.3 for themes ( morphogenesis ) |
| by Burning on 2009/2/15 22:51:48 hi, @icomuser : tell me how do you manage to get a navbar in several languages ? And if you need some new defines to put in your theme ? So, having 1 more file (called theme.php) for languages may be very useful. It's not required, just something that you can use : if you need and if you use themes based on morphogenesis templates. |
| Re: new localisation in xoops 2.3.3 for themes ( morphogenesis ) |
| by icomuser on 2009/2/15 22:29:42 why add language files to a theme? they aren't actually part of a theme, they are language files, that's what the language folder is for. so now you have 2 places where you upload languages? 2 places with class files, and so on. nice and confusing for the newbies. what next? 2 includes and 2 kernel folders aswell? |