1
yanncrispin
How to change the "xoops_langcode" variable ?
  • 2006/2/6 15:27

  • yanncrispin

  • Just popping in

  • Posts: 5

  • Since: 2006/2/6 8


The XOOPS test database was created using UTF-8 but now my production server, we use latin-1. I'd like to change the value of the variable "xoops_langcode" used in templates so that special characters are displayed correctly.
Tks

2
yanncrispin
Re: How to change the "xoops_langcode" variable ?
  • 2006/2/6 15:38

  • yanncrispin

  • Just popping in

  • Posts: 5

  • Since: 2006/2/6 8


actually, it's the xoops_charset that I'd like to modify...

3
zyspec
Re: How to change the "xoops_langcode" variable ?
  • 2006/2/6 18:15

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Since you didn't state which version of XOOPS your using I'll assume it's either 2.0.13.x or 2.2.x, I didn't check any other versions but I suspect the answer's the same.

I believe what you're looking for is in the /language/your_language/global.php file (for example /language/french/global.php).

Near the end of the file you'll find the _CHARSET and _LANGCODE variables. You'll need to change these to the appropriate values.

Login

Who's Online

316 user(s) are online (248 user(s) are browsing Support Forums)


Members: 0


Guests: 316


more...

Donat-O-Meter

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

Latest GitHub Commits