Hi,
in my site can’t uncheck english language, when try save setting english language still active : https://ibb.co/CncZqKk
note : Plugin Version 3.5.2
Best regards,
Miko
Hi there,
with the last version as well as with the v3.3 and the last wp version, the following http500 error pops up:
[Thu Mar 31 17:18:28.646648 2022] [proxy_fcgi:error] [pid 89773:tid 140039019296512] [client xx:0] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected ')' in /home/xxx/domains/xxx.co.uk/public_html/wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 984\n'
[Thu Mar 31 17:18:55.877369 2022] [proxy_fcgi:error] [pid 89773:tid 140039010903808] [client xx:0] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected ')' in /home/xxx/domains/xxx.co.uk/public_html/wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 984\n'
The problem lies in those commented lines of code. Without those, the plugin seems to work: https://imgur.com/a/bBOTQ6w
Best regards,
Flavio
Hello,
i like this plugin but i dont figure it out yet how i can change or is it not possible yet any update then?
Can we remove the 2th small language name behind the first one?
like this: AF Afrikaans >>>>”Afrikaans”<<<<
And the second question: Can we change the background in the grey square?
i think the best one is: let us add language flags instead of the short language name
>Language Flag< English (with the option to disable the language name and only show the flag)
]]>Hi,
my site is set English language. But in menu selectr ther is Polish as default. Why is that?
https://consumers-views.com/
On backend I cant uncheck Polish language.
For some reason the bugs in the plugin also reach the admin panel.
That is, when I edit any page in any language, they are always shown as being in ENGLISH.
At the actual website, pages are shown in the selected language, but the sidebar language list considers ALL pages as ENGLISH instead of selecting the current language.
Opening the site in a private tab seems to fix everything. This plugin has some serious bugs with its cache/cookies/localStorage management, please review that if possible, thanks.
]]>The sidebar language widget shows all added languages in plugin’s Settings rather than the languages added to individual pages.
This is a problem when not all content is available in all languages, for example if I have one page in 3 languages and another in 6, then there will be 3 useless language links in the page with only 3 translations. The widget should honor the languages with provided URLs in the current page or post, rather than listing all languages active in Settings.
]]>For some unknown reason this plugin persists in automatic redirection from the English-clicked page URL to the user’s browser language version of the page.
This page is in english here:
https://www.andreszsogon.com/divxland-media-subtitler/
Spanish here:
https://www.andreszsogon.com/descargar-divxland-media-subtitler/
The language switcher menu widget correctly shows the EN and ES links, but I cannot access the English page anymore: The page is magically redirected to the spanish version constantly. Please let me know how to fix this issue.
]]>Hello, I have a website with two languages English and Arabic that is designed/structured as following:
https://www.websitename.com that is the main site, and it is in English as default language.
https://www.websitename.com/ar and that is the Arabic version of the website that has its own separate wordpress installed under a sub folder.
I create a post under the main wordpress (let’s say: https://www.websitename.com/post1_EN), and then recreate the same post in Arabic under the second wordpress inside the subfolder (Let’s say: https://www.websitename.com/ar/post1_ar)
When I use this plugin I open the English post (www.websitename.com/post1_EN) and set it to English as default language, and enter the url for the Arabic version of the post (www.websitename.com/ar/post1_ar) in the url section for this plugin, to link them together.
What happens is that when I open the English website (www.websitename.com) and click on the post link to open the post (post1_EN) it instead opens the Arabic version redirecting me to the link (www.websitename.com/ar/post1_ar), while it actually should open the English version (www.websitename.com/post1_EN).
It’s like the two languages are crossed over, setting one as default makes the links open the other one and vice versa!.
Why is that happening and how to solve it?, I have wordpress 5.5.1
Thanks for your help in advance.
]]>hi i install and setup the plugin,its look good,only on problem who i have its not clickable,when i like to switch the language its happen nothing,its showing the page but not work,can you help me with that?
best regards
GEORGI
there are 2 (or more) sites – the switch on default will work correctly, but on the child ones you cannot select (and add to the menu switch) the main language.
https://drive.google.com/file/d/1S4UReMdnOJzdWmSojsPLYnR-h0mC1fn_/view?usp=sharing
]]>Hello,
the language switcher is visible on every page.
Then it shows the Default URL as translation, what is wrong.
Is it possible to show the switcher only on pages with a translation?
Also the hreflang tag should be removed, if there is no translated version available.
thanks
Jochen
Hello,
is it possible to change the “iso code” shown just before the language name (css class “lsw-iso”) and show the national flag instead? There are a lot of “completely free” (even for commercial use) national flags out there.
Hi,
I want to add language switcher for different version of English. For example, en-US, en-CA, en-AU.
How to add this feature?
Hi!
After installing the plugin, the menu stop working, and I get the following message:
2019/11/13 09:50:07 [error] 11811#11811: *1375383 FastCGI sent in stderr: “switcher/includes/class-language-switcher.php on line 268 PHP message: PHP Warning: Cannot assign an
empty string to a string offset in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 268 PHP message: PHP
Warning: Illegal string offset ‘main’ in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 306 PHP message: PHP
Warning: Cannot assign an empty string to a string offset in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line
306 PHP message: PHP Warning: Illegal string offset ‘main’ in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line
721 PHP message: PHP Warning: Illegal string offset ‘main’ in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line
724” while reading upstream, client: 213.148.195.143, server: doquaformacion.com, request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:8999”, host: “www.mydomain.com”,
referrer: “https://www.mydomain.com/wp-admin/customize.php?url=https%3A%2F%2Fwww.mydomain.com%2F” 2019/11/13 09:50:12 [error] 11812#11812: *1375490 FastCGI sent in
stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in
/var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 771” while reading response header from upstream, client:
83.49.29.88, server: doquaformacion.com, request: “GET
/wp-admin/edit.php?s=&post_status=all&post_type=shop_order&_wpnonce=092fc1308b&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_type%3Dshop_order&action=trash&m=0&_customer_user=&paged=1&p$
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:8999”, host: “www.mydomain.com”, referrer: “https://www.mydomain.com/wp-admin/edit.php?post_type=shop_order” 2019/11/13
09:50:13 [error] 11812#11812: *1375490 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in
/var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 771” while reading response header from upstream, client:
83.49.29.88, server: doquaformacion.com, request: “GET /wp-admin/edit.php?post_type=shop_order&paged=1&trashed=1&ids=2057&locked=0 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:8999”,
host: “www.mydomain.com”, referrer: “https://www.mydomain.com/wp-admin/edit.php?post_type=shop_order” 2019/11/13 09:50:15 [error] 11812#11812: *1375573 FastCGI sent in
stderr: “PHP message: PHP Warning: in_array() expects parameter 2 to be array, boolean given in
/var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 509 PHP message: PHP Warning: in_array() expects parameter 2 to
be array, boolean given in /var/www//wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 509” while reading response header
from upstream, client: 83.49.29.88, server: doquaformacion.com, request: “GET /wp-json/wc/v4/products?low_in_stock=true&page=1&per_page=1&status=publish&_locale=user HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:8999”, host: “www.mydomain.com”, referrer: “https://www.mydomain.com/wp-admin/edit.php?post_type=shop_order&paged=1&ids=2057”
I’m running WordPress 5.2.3 on nginx with PHP 7.2
Is the plugin compatible with WordPress 5.2.3 and Woocommerce?
Thank you!
]]>Hi,
I want to add the switcher at the end of the main menu.
Is there a feature for this as I saw in the feature list:
“– MENU LANGUAGE – Add a main language selector to the menu settings and switch the menu accordingly”