How to hide page from specific language?

Hi,

On my website, I need to translate a “Wix FAQ” element.
This does not seem possible according to the below support page:
https://support.wix.com/en/article/request-translating-the-wix-faq-app-in-wix-multilingual

However, the workaround suggested by this support page
(Creating a duplicate FAQ page, and hiding a page based on language) doesn’t seem possible.

How can I, for example, hide a specific page from “EN” language, and another page from “FR” language?

I have seen the below support page, that suggests inputting a code snippet.
https://www.wix.com/corvid/forum/community-discussion/hide-element-according-to-user-s-language-choise

However, when I introduce this code snippet in my website, I get an error mentioning that " wixWindow" is not defined. How can I debug this?

Do you have another solution/workaround?

Thank you in advance for your feedback.

Kr,

Kim

The first line in your page code has to be:

import wixWindow from 'wix-window';

Hi, thanks that was it.