• [MOD] Language select 4 0 5 1
Currently:  

Author Topic: [MOD] Language select  (Read 296266 times)

0 Members and 1 Guest are viewing this topic.

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Language select
« Reply #105 on: March 24, 2006, 06:57:08 PM »
I have a question.

If a member choose a language that not complete is (there were missing some rules in the lang file)
what do a member or visitor see then, a "blank place" or the "default language" (in my case dutch)
I hope you will understand my english  :lol:

thanks



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
Re: [MOD] Language select
« Reply #106 on: March 24, 2006, 11:57:40 PM »
the default language
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 wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Language select
« Reply #107 on: March 25, 2006, 12:11:46 PM »
thanks V@no.
I install the mod soon.



Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Language select
« Reply #108 on: March 26, 2006, 06:25:37 PM »
I have the mod installed on a 1.7.2 version and it works perfect :D
thanks V@no :lol:



Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [MOD] Language select
« Reply #109 on: May 22, 2006, 07:55:37 PM »
ik i installed it, but is it possible to make categories names in two languages?  (in english: cats, in lithuanian: kates)...

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
Re: [MOD] Language select
« Reply #110 on: May 23, 2006, 03:02:04 AM »
there is another mod for that "multi-language for any text"
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 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
Re: [MOD] Language select
« Reply #111 on: July 21, 2006, 03:27:24 AM »
Replace
Code: [Select]
  if ($requested_l != $config['language_dir'] && file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
With:
Code: [Select]
  if (file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
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 son_gokou

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [MOD] Language select
« Reply #112 on: September 26, 2006, 03:47:21 PM »
Allright, I Have the language select on my 4images page. But the categories are still in "default language". How can I change that just for language 2?

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
Re: [MOD] Language select
« Reply #113 on: September 27, 2006, 03:30:44 AM »
[MOD] Multi-language for any text
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 tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Language select
« Reply #114 on: November 02, 2006, 11:21:38 AM »
/index.php&l=deutsch
File Not Found!

Error 404

Sometimes this error appears if I click on "Home" from different categories or detail-sites.

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Language select
« Reply #115 on: November 05, 2006, 04:23:25 PM »
How can I fix that a "?" instead of the "&" appears? Possibly is that the solution...

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Language select
« Reply #116 on: November 05, 2006, 06:38:16 PM »
We changed the server an since then we got this problem, it's not reproducible, that's the problem - sometimes the error 404 appears, sometimes not. And we got a hint, that the "&" could be the problem

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Language select
« Reply #117 on: November 15, 2006, 08:54:14 PM »
i put {lang_select} on home.html works fine, select english and works
BUT :?
when  i go to another page like search last images the language backs to the inital that is portuguese

note: im not log in, the page is for guests only

anyone????
regards
« Last Edit: November 23, 2006, 02:44:15 PM by fgabriel »

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Language select
« Reply #118 on: November 16, 2006, 03:28:57 AM »
i put {lang_select} on home.html works fine, select english and works
BUT :?
when  i go to another page like search last images the language backs to the inital that is portuguese

note: im not log in, the page is for guests only

anyone????
regards




i have a direct link for last images like that: search.php?l="what variable put in there"&search_new_images=1&sessionid=1ea71ea4fc9eddb69eeed9f69c035158
« Last Edit: November 23, 2006, 02:43:52 PM by fgabriel »

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Language select
« Reply #119 on: November 16, 2006, 06:14:37 AM »
Hi,

yes, but your links in your page are wrong...
Everythin with your integration is wrong
No link have the: &l=english after the sessionid

Alos your links in home.html are fixed with the link to the categories.
This kind of link is not working :wink:
Every link must comming from php with session and language ... not fixed by yourself

cu
Kurt