• Resolved marekklein

    (@marekklein)


    I’ve just installed WordPress and I like it very much;
    the problem is – localization does not work for me.
    It seems that wp-config and *.mo file is correct (I’ve tried different files).
    I’ve tried to trace the problem, so I realised that the *.mo file is readable (I’ve set an ‘echo’ statement in the function load_textdomain (wp-l10n.php)).
    I have no more Idea, how to proceed.

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem on server with PHP Version 4.4.2 although the same instalation on another server works well. There are many discussion on this theme around the net. Try this one: “Can hosting provider disable localization?” here at www.ads-software.com.

    This is what helped me:
    in gettext.php changing strings
    // $MAGIC1 = (int)0×950412de; //bug in PHP 5
    $MAGIC1 = (int) – 1794895138;
    // $MAGIC2 = (int)0xde120495; //bug
    $MAGIC2 = (int) – 569244523;

    for these:
    $MAGIC1 = 2500072158;
    $MAGIC2 = 3725722773;

    Frontend is translated now (using .mo file of the theme) but admin is still in English (doesn’t use .mo file from wp-includes/languages).

    WP developers where are you? Is it a bug or something? It seems that many people suffer from this problem. WP is great. Translated one is even better. Can anybody answer?

    Did you correctly upload the .mo file as binary?

    lhk: Yes, of course.

    But now, the solution is finally here – WP 2.0.3. Thank you developers.

    With changes in gettext.php I mentioned above not only frontend but admin tool is now translated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Localization problem’ is closed to new replies.