Pre-sale questions

Ask us any question about Linguise service and get an instant reply!

Notifications
Clear all

show/hide content per language(s)?

4 Posts
2 Users
0 Reactions
1,186 Views
(@bleideritz)
Posts: 5
Guest
Topic starter
 
Is it possible to show/hide content per language(s)?
And if so, how do I do that?
 
Posted : 21/08/2024 12:16 pm
(@naufal)
Posts: 96
Admin
 

Hello, 

 

Linguise will translate your website according to the original content and we won't change or remove any parts of it. 

We don't have a feature to hide the content per language. However, you can achieve that by adding custom CSS for lang and make the display none. 

 

you can add the CSS code on your website. The :lang() CSS pseudo-class matches elements based on the language they are determined to be in. For more details you can read it here: Lang CSS Developer

Example of the CSS is below: 
/* CSS code for English language */
:lang(en) {
/* Your CSS code here */
/* If you want to make it for some CSS selector, */
/* You can add the CSS selector before the :lang such as .class:lang(en)*/
}

 

Best regards, 

 
Posted : 22/08/2024 9:53 am
(@bleideritz)
Posts: 5
Guest
Topic starter
 

Thanks for your answer Naufal. It's a bit complicated for me without a real example. Can you help me out when I've implemented Linguise is our site?

 
Posted : 22/08/2024 11:41 am
(@naufal)
Posts: 96
Admin
 

Hello, 

 

Sure, we'll be happy to assist you further. 

You can always get in touch with us if you require any assistance. 

If you require Support please fill out Contact Us form. We will reply to your message, and you can contact us from your email address. 

 

Best regards, 

 
Posted : 27/08/2024 2:11 am

Leave a reply

Author Name

Author Email

Title *

Preview 0 Revisions Saved