Author Topic: question regarding lang change  (Read 13399 times)

0 Members and 1 Guest are viewing this topic.

Offline gom79x

  • Pre-Newbie
  • Posts: 5
    • View Profile
question regarding lang change
« on: March 23, 2003, 04:35:50 PM »
Hi  i have question about change language on 4images gallery

i been searching for language stuff but can't really find out from
this web site so I am posting it in here..

What i did is installed 4image1.7 + language-english pack.
and i edited install.php, some other *.php and changed
charset to "euc-kr" and after installation it worked very well and supporting and displaying all korean languages.. But
after i got template (4blue_orange2)
and after i change it.
it keeps loading page with english only.
so i have to change lang type to KOR ( in I.E) everytime
i move on to next page.
it Keeps loading with "charset=iso-8859-1" should be
charset=0 or charset="euc-kr"

http://faka.org is my web site

What do i have to do? if I want to change language.
What do i have to edit?

thx

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
question regarding lang change
« Reply #1 on: March 23, 2003, 04:48:25 PM »
Open /tempaltes/4blue_orange2/header.html
Find:
Code: [Select]
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
Replace with:
Code: [Select]
<meta http-equiv="content-type" content="text/html; charset={charset}" />

Then, u'll need go through .php files (almost all of them 8O )
and delete htmlspecialchars( ... )
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 gom79x

  • Pre-Newbie
  • Posts: 5
    • View Profile
thx very much
« Reply #2 on: March 23, 2003, 11:50:37 PM »
just changed header.html and it works very well :)
thx very much... seems fine now.
i will look over .php files and delete htmlspecialchars( ... )
when i get back from school ..

thanks very much

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: thx very much
« Reply #3 on: March 23, 2003, 11:54:22 PM »
Quote from: gom79x
just changed header.html and it works very well :)
thx very much... seems fine now.
i will look over .php files and delete htmlspecialchars( ... )
when i get back from school ..

thanks very much

ah, if everything works well now, then dont bother with htmlspecialchars ;)
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 hk_traveller

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.tonyleung.com
Re: thx very much
« Reply #4 on: May 11, 2003, 04:02:38 AM »
Quote from: V@no
Quote from: gom79x
just changed header.html and it works very well :)
thx very much... seems fine now.
i will look over .php files and delete htmlspecialchars( ... )
when i get back from school ..

thanks very much

ah, if everything works well now, then dont bother with htmlspecialchars ;)

Hi,

I also encountered the problem but I solved it using your recommended method.  Thanks anyway.

Tony from Hong Kong