• Hello,

    I just started to translate this plugin and realized that ajax localization is not working. Because wp_localize_script gets messages directly database and this is not proper way for localization.

    Hope you fix in next version.

    Cheers,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hassan Akhtar

    (@khaxan)

    Hi. Messages are saved in the DB at the time of first activation. If you translate the plugin and then activate it for the first time, the messages should get inserted in the correct language. Shouldn’t they?

    Thread Starter Mustafa Uysal

    (@m_uysl)

    Hi @khaxan,

    Nope, it doesn’t work, probably plugin activation hook fires too early before language load also users should know to add language pack before activation.

    IMHO, languages should be available when they located correct file and storing translated strings in DB isn’t best practice.

    Please consider this.

    Thanks,

    Plugin Author Hassan Akhtar

    (@khaxan)

    Hi Mustafa. I have released a new version. Let me know if the issue is fixed. Thanks.

    Thread Starter Mustafa Uysal

    (@m_uysl)

    Hi @khaxan,

    Let me know if the issue is fixed.

    Yes, fixed.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ajax localization issue’ is closed to new replies.