#499 internationalization doesn't work

Database
closed
nobody
5
2014-07-30
2005-09-17
Anonymous
No

$lang is OK, but
guessing_setlocale () is called with 'C' as locale.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    diff lib/IniConfig.php ~/phpwiki-1.3.11/lib/IniConfig.php
    501a502

    648c649,650
    < //update_locale(isset($LANG) ? $LANG : DEFAULT_LANGUAGE);


    update_locale(isset($LANG) ? $LANG : DEFAULT_LANGUAGE);
    
     
  • Nobody/Anonymous

    Logged In: NO

    diff phpwiki-1.3.11/lib/IniConfig.php
    public_html/phpwiki-1.3.11/lib/IniConfig.php
    502d501
    <
    649,650c648
    <
    < update_locale(isset($LANG) ? $LANG : DEFAULT_LANGUAGE);


    //update_locale(isset($LANG) ? $LANG : DEFAULT_LANGUAGE);
    

    652c650
    < if (!defined("DEFAULT_LANGUAGE") or !DEFAULT_LANGUAGE)


        if (!defined("DEFAULT_LANGUAGE") or
    

    !DEFAULT_LANGUAGE) {
    654c652,654
    < $LANG = guessing_lang();


            $LANG = guessing_lang();
          guessing_setlocale ("LC_ALL",$LANG);
      }
    
     
  • Marc-Etienne Vargenau

    Closing very all bugs.

     
  • Marc-Etienne Vargenau

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,2 @@
    -
     $lang is OK, but
     guessing_setlocale () is called with 'C' as locale.
    
    • status: open --> closed
    • Group: --> Database
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks