[bugs] [Bug 1057] New - Gettext Support for Foreign Language

bugs@bugs.horde.org bugs@bugs.horde.org
Sun, 22 Sep 2002 23:02:36 -0300


http://bugs.horde.org/show_bug.cgi?id=1057

*** shadow/1057	Sun Sep 22 23:02:36 2002
--- shadow/1057.tmp.6644	Sun Sep 22 23:02:36 2002
***************
*** 0 ****
--- 1,29 ----
+ Bug#: 1057
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: PHP Code
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: major
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: dforootan@ezpublishing.com               
+ URL: /horde/lib/Lang.php
+ Summary: Gettext Support for Foreign Language
+ 
+ On RedHat Linux systems the line:
+ 
+ setlocale(LC_ALL, $lang);
+ 
+ had to be changed to 
+ 
+ setlocale(LC_MESSAGES, $lang);
+ 
+ in lib/Lang.php because gettext wasn't replacing gettext tags in PHP. 
+ 
+ This has been verified on RedHat 6.2 and 7.1 systems.
+ 
+