1
slaxx
Full Multilingual Setup
  • 2004/8/2 12:23

  • slaxx

  • Just popping in

  • Posts: 7

  • Since: 2004/7/19


Dear guys
I wanna setup XOOPS for a bilingual/bidirectional site. On its way these supports is required (minimal):

- bilingual content
- bidirectional theme
- bilingual/bidirectional images
- dynamic localized date/time

Ok . i did some works and i need your comment

Marcan's ML hack was great after its install I added these lines to the header.php around line 80 :

if ($fd = @fopen(XOOPS_THEME_URL.'/'.$xoopsConfig['theme_set'].'-'.$xoopsConfig['language'].'/theme.html','ro')){
fclose($fd);
$xoopsConfig['theme_set'] = $xoopsConfig['theme_set'].'-'.$xoopsConfig['language'];
}

and then I created language based different themes for my goal e.g. themes/default-persian this works good , what is your oppinion ? plzzz

next I did some dirty works after adding below lines at the end of include/common.php :

if ($fd = @fopen(XOOPS_URL.'/images-'.$xoopsConfig['language'].'/image.gif','ro')){
fclose($fd);
define('XOOPS_URL_IMAGE', XOOPS_URL.'/images-'.$xoopsConfig['language']);
} else{
define('XOOPS_URL_IMAGE', XOOPS_URL.'/images');
}

I changed ALL XOOPS_URL."/images by XOOPS_URL_IMAGE." around the XOOPS ! this works not too bad , I need your clean soloutions ...

I am going to change date and calendar by language switching ,, Jalali calendar is persians only way to ...

thats enough ! .. helps required
Have FUN

2
slaxx
Re: Full Multilingual Setup
  • 2004/8/2 13:07

  • slaxx

  • Just popping in

  • Posts: 7

  • Since: 2004/7/19


Oh .. sorry
That was my first post and it looks that i had forget something ... :

I must thanks XOOPS developers , XOOPS is GREAT

I am a newbie to XOOPS just 3 weeks ago I started ,surprised and interested in your work, community, ideas, ... ;)

have a gOOd time



3
slaxx
Re: Full Multilingual Setup
  • 2004/8/5 4:18

  • slaxx

  • Just popping in

  • Posts: 7

  • Since: 2004/7/19




Re Hi ... and I am sOrry for mysElf !
I found XOOPS.Org a great Community -- But 2 days after My posT .... there is nO responce !? YeT
Y guys ? do U RealY have No Comment ?
have phUn

4
Chado
Re: Full Multilingual Setup
  • 2004/8/5 11:24

  • Chado

  • Not too shy to talk

  • Posts: 113

  • Since: 2003/6/6 7


Hello Slaxx,

Welcome to XOOPS and to the challenging world of multi-lingual xoops!
Maybe you could rephrase your question in a more simple way....

For persian support, check out this site that has the persian language packs: http://www.jadoogaran.com/

For more specific multi-language help, you might check out Marcan's site at http://www.notrevie.ca/. He has really advanced the whole multi-language thing.

Hope that helps....

Chad

5
slaxx
Re: Full Multilingual Setup
  • 2004/8/7 7:56

  • slaxx

  • Just popping in

  • Posts: 7

  • Since: 2004/7/19


Thx for U'r responce .. Dear CHadO :)

http://www.jadoogaran.com/ 's people is my near friends ... I need some more than a regular Multingual XoopS , I solved our problem of language based XOOPS Theme and Image selection in my own way ! and there r some additional problems ---

I need the comments of XoopErs in the multilingual Arena ... your idea can help me , If I have a clean solution It is easy to implemenet ...

we need some discussion ... ;)

have fUn .. thxxxx

Login

Who's Online

445 user(s) are online (328 user(s) are browsing Support Forums)


Members: 0


Guests: 445


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