Site previews show all languages
-
When we link a page from discord , the preview shown on discord displays the content in all languages , despite we force English language in the URL , e.g. https://gameready.co.il/en
The pages we have are built with Elementor , using a Translatepress feature that integrates with Elementor: the Restrict By Language option , that you see in the screenshot below.
Some paragraphs have the Restrict option to Hebrew only , some to English only. But this is not effective when the page is fetched by discord , indeed the previews ignore the Restrict option , and show even the content in restricted language (in this case Hebrew , so the preview shows both the English content and Hebrew content) . I guess this happens when sharing pages on other socials as well.
Why is this? Is the Restrict feature hiding the content only by Javascript , or CSS ? Is it a Translatepress issue , or an Elementor issue? Or maybe Discord does not detect if some content is hidden by CSS? (if it’s actually hidden by plain CSS , not JS). Let me know thanks
Screenshot of Restrict By Language setting: https://drive.google.com/file/d/1OG9tP4-bPUNszV0kZPbvYoX3cHyh7Je3/view?usp=sharing
Screenshot of a buggy page preview with Hebrew content : https://drive.google.com/file/d/186KQdyHKXdHxiD3tAPJKH9iXDVfJKc9K/view?usp=sharing
The page I need help with: [log in to see the link]
- The topic ‘Site previews show all languages’ is closed to new replies.