Re: I am looking for laboratory rats!
  • 2008/12/2 1:36

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13

This took me a bit longer, because I had to move some furniture over the weekend (lame excuse).

This module is really simple, because it is only meant as a techdemo.

What you have to do: XOOPS 2.3.2 (required), install the module, install xlanguage 3.01 (set up German and English as base languages).

Define categories, write content. If you find bugs, keep them.

How it works: It is rather simple and more a "hack". The annoying part with the multilingual solutions was the fact, that you always had to type in the markup for each language. Now you do not have to type the markup, but it is invisibly there.

En detail: Every time you write something multilingual, a config-file of xlanguage will be read. The base language are read and will be displayed as flags or input fields. When it comes to saving the content, the language markup will be added by the script. When you edit this content, it is going the other way round. The markup will be deleted and assigned to the input fields for each language.

This is "just a hack" and far away from being a multilingual system. The advantage is, that this hack is simple to implement (even in XOOPS-Core-areas, you also have to do some database work to change database fields for being bigger). A true multilingual is everything but trivial. Who is interested might have a look at the "code", which is far from being optimised.

Have fun testing and reading spaghetti-code.

You can get the module HERE



Lost Password? Register now!

Who's Online

74 user(s) are online (39 user(s) are browsing Support Forums)

Members: 0

Guests: 74



Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits