Thread Starter
tom3r
(@tom3r)
Actually, setting the language in the shortcode did not change the language in the front end. Any suggestions?
Thread Starter
tom3r
(@tom3r)
Actually, setting the language in the shortcode did not change the language in the front end. Any suggestions?
Hi @tom3r,
This is usually caused by another Facebook plugin already initialising the SDK in a different language, do you have any other Facebook plugins on your site?
Thanks,
Cameron
Thread Starter
tom3r
(@tom3r)
Hi Cameron,
No, this is the only facebook plugin on my site.
No worries, would you be able to share your website URL?
Thread Starter
tom3r
(@tom3r)
Sure. You may check it on this page on the widget area: https://rudraksha.hu/szolgaltatasok/rudraksha-ajanlas/
Here the language changes when I change it within the widget.
On this page: https://rudraksha.hu/kapcsolat/ I have the code inserted from the generator, and this one does not react to any language change.
Thanks Cameron
Thread Starter
tom3r
(@tom3r)
Hi,
Still couldn’t find the fix for this problem. Any suggestions?
Hi @tom3r,
I haven’t been able to get to the bottom of the issue with your site as yet, would be able to share a full site backup with me so I can take a look further and try to find the issue?
Thanks
Thread Starter
tom3r
(@tom3r)
Hi Cameron,
I think I am not able to do that right now. Is there any other way we can find the issue? I have English language installed on my wordpress admin, but the selected language of my site is hungarian and the admin panel is in that language. I am using a child theme, if that might be important to know.
What do you suggest?
Hi @tom3r,
I think I’ve found the issue. I think the generator is giving out the wrong key for the language. If you could try adding language="hu_HU" to your shortcode and let me know if that works.
Thanks
Thread Starter
tom3r
(@tom3r)
Yes, the shortcode contained lang="hu_HU" which didn’t work. Now it is good. The widget is working if I set the language there.
This is resolved now, but it would be great in the future to fix the issue when “Default (Site language)” is selected.
Thank you so much for your help.
Best wishes to you