Search
Login
Username:

Password:



Lost Password?
Register now!
Share this on...


Exclusive offers!
XOOPS Professional Services by INBOX Solutions
INBOX International Web Hosting
Ads by Google
SmartSection is developed by The SmartFactory (http://www.smartfactory.ca), a division of INBOX International (http://inboxinternational.com)
Library > The SmartFactory Projects > XOOPS Multilanguages > Learn more about XOOPS Multilanguages

Learn more about XOOPS Multilanguages

Published by Marc-André Lanciault [marcan] on 2004/9/22 (53378 reads)
What's this hack all about ?

XOOPS Multilanguages is a heavily hacked version of XOOPS allowing the implementation of multilingual XOOPS sites.

XOOPS Multilanguages has 2 main functionnalities. First, it allows the user to easily change the language of the site. A Select your language block is provided with this package but you can also adapt your site theme (as this site did : look at the top right corner of the site !).

The second functionnality is the Language Tags. This is what will make the content of the site multilingual. It works as any other Xoops Code, ie with brackets [], and in nearly every text area !

When language tags are used, the site will only return the content placed inside the language tags of the selected language.

Here is an example. Let's suppose I write this in a forum post :
Quote:
[.fr]Ceci est un texte en français[./fr][.en]This is some english text[./en]

When this post is viewed by a user, the hack will hide everything that is not inside the tags of the selected language. If the user has selected the french language, only this line will be displayed :
Quote:
Ceci est un texte en français

However, if the selected language was english, then only this text would be displayed :
Quote:
This is some english text

Please note that in this example, I used dots (.) in the language tags. This would not work on a XOOPS Multilanguages site. I had to used them in order to show you how it is working.

What is SmartLanguage ?[adsense]8f2094c223bafef17f88e17668f3cff0[/adsense]

SmartLanguage is the module managing the different functionnalities of XOOPS Multilanguages.

This module allows the webmaster to configure the language tags for each language installed on the site.

It also manages custom smarty tags. With this functionnality, the webmaster can create unlimited smarty tags in every languages. Those smarty tags can then be used in themes and templates and they will be displayed according to the language selected by the user.

Finally, this module manages the Select your language block allowing user to select their prefered language.

What's the current version ?

The current release of XOOPS Multilanguages can be found here.

Where could I get some help ?

Please use our forum : XOOPS Multilanguages Support Forum.

Where can I see this module in action

As you would probably have noticed it, SmartFactory is running XOOPS Multilanguages. Take a look around : this is what this hack does !

There is also a developpement site ???

XOOPS Multilanguages has its own project on the XOOPS Developers Forge. The different trackers are hosted there.

Should you have a feature request, you can post it here : Submit a Feature Request.

Should you find a bug, please report it here : Submit a Bug.

Enjoy XOOPS Multilanguages !
Copyright © The SmartFactory 2004-2008
  View this article in PDF format Print article Send article

Navigate through the articles
Previous article XOOPS Multilanguages 1.4.4 for XOOPS 2.0.9.2
The SmartFactory's Partners
Google Search
Google
Web smartfactory.ca
The SmartFactory is better viewed with
Donate ???
You feel generous ? You would like to encourage the efforts of the SmartFactory in developping a better XOOPS ? You can now make a donation using PayPal ! Be assured that every dollars received will be used to develop better modules, better hacks, all for the benefit of the XOOPS Community ! :-)

Developed by INBOX International inc. with ImpressCMS
Donate to The SmartFactory! XHTML 1.0 Compliant XHTML 1.0 Compliant RSS Feed Except where otherwise noted, this site is licensed under a Creative Common License Powered by PHP Powered by MySQL Powered by INBOX Solutions
The SmartFactory is a division of INBOX International inc.
Copyright © The SmartFactory 2004-2009