1
guvenck
global.php file problem... Need help.
  • 2004/3/15 7:41

  • guvenck

  • Just popping in

  • Posts: 1

  • Since: 2004/3/15


Hi,

I use the good old XOOPS 1.3.10 because I think it is simpler and less complicated.

I have removed all the languages files except english and made a quick translation for my language (turkish), by copying the language/english folder to language/turkish and translating the files one by one, starting with global.php. I would like to finish and release this translation as a language pack as I think the turkish language files are not good imho.

However, I noticed that the strings in my global.php are not being converted into turkish and embedded directly into the output source. The simplest example is the _CHARSET value by language specific settings:

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define("_CHARSET", "ISO-8859-9");

and the result is (final HTML page source):










XOOPS Site


I realized that none of the strings of global.php are being converted. But the other language files work like a charm. What could be wrong here? Please help.

2
Herko
Re: global.php file problem... Need help.
  • 2004/3/15 12:51

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1




See that the first (and rest of the entries) have ', but text/html isn't closed with a '. That may be causing the _CHARSET to break.

Herko

Login

Who's Online

924 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 924


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits