Ticket #755 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

Language does not work

Reported by: pneumann@gmail.com Assigned to:
Priority: minor Milestone:
Component: - choose - Version: 2.1
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

I had to use putenv, to make the gettext work fine:

--- header.php.orig Mon May 1 19:26:41 2006 +++ header.php Mon May 1 19:25:44 2006 @@ -54,6 +54,7 @@

if (extension_loaded('gettext')) {

if (isset($_COOKIElang?)) {

setlocale(LC_MESSAGES, $_COOKIElang?);

+ putenv("LANG=".$_COOKIElang?);

} else {

setlocale(LC_MESSAGES, 'en_US');

}

thanks!

Change History

05/05/06 13:41:50 changed by RyanCourtnage

  • status changed from new to closed.
  • resolution set to fixed.

Committed r1874