How to make languages of the main page?

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

How to make languages of the main page?

Postby polopolo » Fri Nov 26, 2004 11:42 pm

Hello,

How is possible to give the user the possibility to choose which languge to use in the homepage of the redirection service.

By default the script is in English but would it be a possibility to have some links at the bottom of the homepage with links to the tranlated versions of the service like: Portuguese, spanish, French and so on?

How can I setup this?? There is no explanation on this...

Thanks.
polopolo
Newbie
Newbie
 
Posts: 4
Joined: Sat Nov 06, 2004 1:09 am

Postby jissa » Mon Nov 29, 2004 5:08 pm

hello..

the script work in one langlage for each time, you configure this in Administration.


But...

look for :
include/mysql.php
$language = $row[language];

and other problem is the Category, you have just one Data Base to insert.

to work in many languages you need to change the script, and Category table.

if the table is not problem for you,, create a link/image language, and send in a querystring like (mysql.php?lang=language)

and in mysql.php you put .
$language = $_GET['lang'];

(MAYBE works fine)

regards,
jissa
Newbie
Newbie
 
Posts: 6
Joined: Mon Nov 29, 2004 4:35 pm
Location: Brasil


Return to Support

Who is online

Users browsing this forum: No registered users and 32 guests

cron