How to change language for translations (__(),_e()) in ajax using admin-ajax.php
-
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?
- The topic ‘How to change language for translations (__(),_e()) in ajax using admin-ajax.php’ is closed to new replies.