Can I force it to do the default language is Russian (HTTP_ACCEPT_LANGUAGE)?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Hello, I need your help.
Wordpress + Woocommerce (in the settings of the CMS - Russian).
The plugin Factory WC Fields (additional fields to the admin and order). The plugin has multilingual support, it concerned the translation of the labels for the fields, placeholders, etc.. the Plugin looks at the HTTP_ACCEPT_LANGUAGE and displays everything in a particular language.

Problem: on the same computer, in Chrome and Firefox - all Mozilla in Russian (as it should). From authorization the user is not affected. All browsers with a Russian version in each console, the priority language, if you check through navigator.language - Russian (RU).
by | 21 views

1 Answer

0 like 0 dislike
Manually set the $_SERVER["HTTP_ACCEPT_LANGUAGE"] = "..." index.php or any other place to plug-in.

Related questions

110,608 questions
257,187 answers
40,796 users