Author Topic: How to show more language to users?  (Read 5007 times)

0 Members and 1 Guest are viewing this topic.

Offline Giorgiogg

  • Pre-Newbie
  • Posts: 2
    • View Profile
How to show more language to users?
« on: February 07, 2003, 12:30:43 PM »
I would like use this script in my site, but i need double language, so is possibile to give the possibility to users to select their language? For example English and Spanish (like postnuke or phpnuke) when they enter in 4homepages?
Is possible to create an hack?
Tnx

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
How to show more language to users?
« Reply #1 on: February 07, 2003, 04:21:47 PM »
No hack is needed.

Just create a link and have it point to your 4images index.php and add the language parameter like this:
Code: [Select]
http://www.domain.com/4images/index.php?l=spanish
http://www.domain.com/4images/index.php?l=english

After the letter L (in lowercase) you just tack on the spelling of the language pack.  Every subsequent call to 4images will retain the language selection.

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
How to show more language to users?
« Reply #2 on: February 07, 2003, 08:05:45 PM »
there is a good MOD for that, but for some reason it still in "chit chat" forum... :roll:
http://4homepages.de/forum/viewtopic.php?t=3351
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 Giorgiogg

  • Pre-Newbie
  • Posts: 2
    • View Profile
How to show more language to users?
« Reply #3 on: February 19, 2003, 12:25:12 PM »
Tnx very much ;)