• Resolved weblizar

    (@weblizar)


    I have recently made one of our plugin Translation ready.

    But translation not working only in WordPress Version 4.x.

    Check screenshot – snap-1 & snap-2

    And translation working in all downgraded versions, like 3.x.x

    Check screenshot – snap-1 & snap-2

    I have followed all instructions by WordPress Codex function:
    old: load_plugin_textdomain
    new: load_plugin_textdomain

    But no success with WordPress 4.x version.

    You can download & check my plugin form here.

    Thanks
    Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Dominik Schilling

    (@ocean90)

    WordPress Core Developer

    It’s seems like you have defined WPLANG in 3.9.2 to hi_IN, so the plugin translation files where loaded.

    WPLANG is now deprecated and your whole installation has to be hi_IN.
    To enforce this try these steps:

    * Define WPLANG to hi_IN again
    * Go to wp-admin/options-general.php
    * Select your Site Language
    * (Optional) Go to wp-admin/update-core.php.
    * (Optional) Click “Update translations”, when available.
    * (Optional) Core translations files are downloaded, when available.

    Thread Starter weblizar

    (@weblizar)

    Perfect ??

    Thanks
    Alex

    What do you do in the wp-admin/update-general.php step?

    Also does the translation roll over the woocommerce once these are set?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translation Not Working in WordPress 4.x’ is closed to new replies.