Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor wordpress-empire

    (@wordpress-empire)

    Hi,

    This has been fixed in version 3.0.9

    Please upgrade and you would notice the changes.

    Thanks

    Support Team
    Captcha Bank

    Thread Starter jave.web

    (@javeweb)

    Hi,
    you are doing it right now, but still, WPML string translation doesn’t work, your strings get found, but are not translated on frontend, I belive it is because you are using kind of strange translation preparation – defining constants.

    But those defines are directly in PHP with no wrapping, therefore the constant gets defined before WPML is actually loaded and called, please don’t do this, put translation functions directly on their places inside wrappers which are called by WordPress…

    Do you know what I mean? 🙂

    You should completely throw away file translations-frontend.php and move all those translation functions directly on places when you now actually putting constants. Thank you 🙂

    EDIT: I’ve just test the way I described here, it works as I say 🙂

    • This reply was modified 7 years, 2 months ago by jave.web.
    • This reply was modified 7 years, 2 months ago by jave.web.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translations: You are doing it wrong’ is closed to new replies.