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

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

0 Members and 1 Guest are viewing this topic.

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: [MOD] Language select
« Reply #75 on: September 21, 2005, 01:47:51 PM »
oh, I see...
what if you replace
Code: [Select]
    $config['language_dir'] = $HTTP_COOKIE_VARS['4images_lang'];with:
Code: [Select]
    $l = $config['language_dir'] = $HTTP_COOKIE_VARS['4images_lang'];

That's it  :D
Thank you very much X yu BA M for the time you spent on my problem

Matthias

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Language select
« Reply #76 on: September 21, 2005, 03:38:09 PM »
:D nice solution of writing X yu BAM, Matthias :)
MAяTRIX


Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: [MOD] Language select
« Reply #77 on: September 21, 2005, 03:48:08 PM »
:D nice solution of writing X yu BAM, Matthias :)

When X yu BAM helps me, I just want to thank X yu BAM and not Xyu BAM  8)
By the way. Your solution is better  :D
Do you know why the name is changed automatically? Did I miss somthing?
Matthias

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Language select
« Reply #78 on: September 21, 2005, 03:59:04 PM »
When X yu BAM helps me, I just want to thank X yu BAM and not tra-la-la-la BAM  8)
That's the right way to do it :)

I'd guess the letters x y and u in one row might be on the "word-black-list" because of the possibility of being used as a short form for a vulgarism like tra-la-la or tra-la-la ;) (X yu BAM: nothing against you or your nick... ;) )

have a fun-tra-la-laing-tastic nice time!  :lol:
MAяTRIX


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Language select
« Reply #79 on: September 21, 2005, 04:40:58 PM »
(X yu BAM: nothing against you or your nick... ;) )

I think you also know who is X yu BAM ... :mrgreen:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Language select
« Reply #80 on: September 22, 2005, 01:19:16 PM »
I think you also know who is X yu BAM ... :mrgreen:

 8O do I?
MAяTRIX


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 #81 on: September 22, 2005, 02:35:34 PM »
(X yu BAM: nothing against you or your nick... ;) )
in russian their nick doesn't sound very nice...at all...8O

As of that little fix X yu BAM found, its a little bug ;)
I've updated my orginal post.
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 hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Language select
« Reply #82 on: September 22, 2005, 06:08:47 PM »
not related to language select mod, but the language select itself.

How can I use {something_language} to parse correctly in a regular section of the site,

Can't we take anything out of main.php, and use it in another part of the template?
Please see what I mean:
http://www.4homepages.de/forum/index.php?topic=6854.0
 

Please Vote for my site: Here

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [MOD] Language select
« Reply #83 on: October 25, 2005, 05:52:45 PM »
Thanks all for this great MOD!!!   8)

I think it is working perfect for me. But i am not really sure.
Because i am a little bit confused.

Please could someone have a look at my URL chosing language on top of my site.

Is it true that i must have three template folders for two languages :?:
I have made these 3 folders:
- templates/default
- templates/default_deutsch
- templates/default_english

Because if i delete the templates/default_deutsch folder it does not work for me.

One more question.
If i would like to change for example the background color.
What and where must i make these changings :?:
Do i have to change every css file or home.html of each template folder???

And one more question.
What is the content of these folders :?:
Has there to be all template images in every folder???
Or it is enough only to have them in the default template folder???


Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Language select
« Reply #84 on: October 25, 2005, 06:32:49 PM »
your lanugage seems to be working fine..

for the background, just change the background image and overwrite with same name.

templates/YOURTEMPLATE/images/back1.jpg (or whatever is set by your template!)

Please Vote for my site: Here

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: [MOD] Language select
« Reply #85 on: October 25, 2005, 06:59:43 PM »
Please could someone have a look at my URL chosing language on top of my site.


Hallo bibabobu,
deine Laguage-Select Mod läuft.
Das mit den drei Template Ordnern ist bei mir genauso.
Ich habe ebenfalls anfangs versucht, auf zwei Ordner zu reduzieren (die Diskussion müsste noch irgendwo im Forum sein). Habe es dann aber bleiben lassen, da es Probleme gab.

Na ja jetzt passe ich halt ein Template mehr an. So schlimm ist es nicht ;-)
Matthias

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 #86 on: October 26, 2005, 12:28:03 AM »
you must have copy of all your flags in each template.
http://www.industrie-gravuren.de/galerie/templates/default_english/images/french.gif - doesnt exists.
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 bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [MOD] Language select
« Reply #87 on: October 26, 2005, 12:39:19 AM »
 :oops:
Thanks V@no!!!
I found out myself. I missed to copy the flags twice to a different folder.
I deleted the former posting.

Now I am very happy. :lol:

Good night!

Offline MEXX

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Language select
« Reply #88 on: January 29, 2006, 05:11:30 PM »
У меня при смене языка все отображается в неправильной кодеровке. Есть способ исправить? :cry:
Quote
Îáìåíèâàòüñÿ ëè÷íûìè ñîîáùåíèÿìè ñ ëþáûì ïîëüçîâàòåëåì ñàéòà,
   

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 #89 on: January 29, 2006, 05:30:28 PM »
кодировка в lang/russian/main.php в переменной $lang['charset'] правильная?
в header.html таг {charset} есть?
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)