WordPress.org

Ready to get started?Download WordPress

Forums

How to change language for translations (__(),_e()) in ajax using admin-ajax.php (1 post)

  1. wmpl
    Member
    Posted 1 year ago #

    I'm using '/wp-admin/admin-ajax.php' url to call ajax methods.

    The problem is in text translations inside ajax methods using __() and _e() functions. It always takes default admin language (en_US).

    Is it possible to change language for translations in ajax methods?

Topic Closed

This topic has been closed to new replies.

About this Topic