1
voltan
new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/9 11:23

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


In XOOPS 2.3.3 D.J added new localisation system for themes .
now you can have one local css and local java file for each language in themes . also you can have a local language file for each theme .

in morphogenesis themes we have one hack for add theme.php in language folder .now you can add your language file in
themes/morphogenesis/language//main.php

I update morphogenesis package and add language files in the theme .
you can download from here
http://xoopspersian.svn.sourceforge.net/viewvc/xoopspersian/themes/template/morphogenesis/

please use new localisation system for design your themes.
( work in XOOPS 2.3.3 and upper !! )

2
noo-b
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/13 1:43

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


what about image localization ?
I Love Xoops

3
voltan
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/15 10:17

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


you can add image link in local style ( you have to add your image in your language folder )

4
icomuser
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/15 22:29

  • icomuser

  • Just popping in

  • Posts: 8

  • Since: 2009/1/21


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?

5
Burning
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/15 22:51

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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.
Still learning CSS and... english

6
icomuser
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/15 23:16

  • icomuser

  • Just popping in

  • Posts: 8

  • Since: 2009/1/21


there already is

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)

7
Burning
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/15 23:37

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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)
Still learning CSS and... english

8
noo-b
Re: new localisation in xoops 2.3.3 for themes ( morphogenesis )
  • 2009/2/20 16:20

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


there should be a clear documentation about this in the 2.33rc coming release!!!
I Love Xoops

Login

Who's Online

341 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 341


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits