Author Topic: Want muti-language  (Read 4985 times)

0 Members and 1 Guest are viewing this topic.

Offline li

  • Pre-Newbie
  • Posts: 5
    • View Profile
Want muti-language
« on: May 27, 2003, 09:42:03 AM »
I have a few language pack in my lang folder.
How can I config the muti-language.

I mean:
In my standard_html_header,

text:english link:http://my4.com/index.php?|=english
text:chinese link:http://my4.com/index.php?|=chinese
text:deutsch link:http://my4.com/index.php?|=deutsch
.....

I have use the url like that, but the language did not change.
Need your help.

thank all.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Want muti-language
« Reply #1 on: May 27, 2003, 09:50:51 AM »
did u install the language packs?
also, this might be usefull:
http://www.4homepages.de/forum/viewtopic.php?t=4743
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Re: Want muti-language
« Reply #2 on: May 27, 2003, 10:33:44 AM »
Quote from: li
text:english link:http://my4.com/index.php?|=english

try to use ?l=english (L=language), not |  :wink:

Offline li

  • Pre-Newbie
  • Posts: 5
    • View Profile
Install the language packs?
« Reply #3 on: May 27, 2003, 11:20:20 AM »
I just unzip and put them into language folder ,and copy the php file needed.

drwxrwxrwx    4 root     root         4096  5月 18 18:00 chinese-bg
drwxrwxrwx    3 root     root         4096  5月 20 16:14 chinese-gb
drwxrwxrwx    3 root     root         4096  5月 18 08:16 deutsch
drwxrwxrwx    3 root     root         4096  5月 18 08:26 english
-rwxrwxrwx    1 root     root          196  5月 29  2002 index.html

I hope use cookie or database to make server remember the default language user selected.
what additional work?

Offline li

  • Pre-Newbie
  • Posts: 5
    • View Profile
To V@no & SLL: It works. Thank alot
« Reply #4 on: May 28, 2003, 02:54:49 AM »
Now I am going to translate the names and titles of cateogies.
I will show you a good site.