| Issue 22: | Localization | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Begin process of adapting PacerCMS for a specific region or language by adding locale-specific components and translating text. This will be accomplished in both the default Smarty template and throughout the Site Administrator using a special GetText implementation. |
||||||||||||||||
,
Mar 01, 2008
Work began in R108 |
|||||||||||||||||
,
Apr 04, 2008
Eric is getting this error on his install. I am not sure how you can send a variable as a constant. Perhaps we use a switch() here? --- Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead in .\pacercms\locale\tools\php-gettext\gettext.inc on line 137 Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in .\pacercms\locale\tools\php-gettext\gettext.inc on line 137
Cc: eric.p.lemoine
|
|||||||||||||||||
,
Apr 04, 2008
(No comment was entered for this change.)
Labels: Localization
|
|||||||||||||||||
,
Apr 05, 2008
Out of office for weekend, but here is the fix from Eric.
@locale/tools/php-gettext/gettext.inc:137
- else $ret = setlocale($category, $locale);
+ if (!defined($category)) $ret = setlocale(LC_ALL, $locale);
+ else $ret = setlocale(constant($category), $locale); //passing
strings is deprecated as per PHP >= 4.2.0
|
|||||||||||||||||
,
May 08, 2008
Released.
Status: Fixed
|
|||||||||||||||||
|
|
|||||||||||||||||