Wrong locale gets loaded
-
Hello!
I debugged your plugin and found out the wrong locale gets loaded in load_textdomain() function.1) I use Qtranslate-x plugin (latest 3.4.6.8).
2) I have set up 2 languages with “en_US” (default) and “ru_RU” locale.
3) I switch to ru_RU. All other information gets correct language/locale/translations but “WooCommerce Products Per Page” not.
4) load_textdomain() function gets wrong (default) locale (en_US).
If i enter the code into functions.php file
add_action(‘init’,function(){ echo get_locale(); exit; });
it shows correct locale.How can i/we resolve this issue?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Wrong locale gets loaded’ is closed to new replies.