LuckyFilms Posted February 16, 2023 Share Posted February 16, 2023 Hi, I made a website for an upcoming documentary, with a german and english language option. Most of it worked fine. However, we have two trailers (one in each language) and don't know how to have them switch when changing to english. Link to comment
paul2009 Posted February 16, 2023 Share Posted February 16, 2023 58 minutes ago, LuckyFilms said: I made a website...with a german and english language option. However, we have two trailers (one in each language) and don't know how to have them switch when changing to english. In summary, you'll need to add both videos to the page and then use some CSS to hide one or the other, conditional on the language that the user has selected. The CSS will depend on they solution you have used for the bilingual feature (for example a third party tool like Weglot automatic translation, or manual translations and some custom code). Please provide a link to the page if you'd like forum users to try to help you further. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
VIOO Posted February 12 Share Posted February 12 (edited) The same issue here and using Weglot. I am unable to comprehend the rationale behind the complexities involved in enabling or disabling video based on the language being translated. Many videos on YouTube speak about the captions...where is this caption? Edited February 12 by VIOO - Link to comment
VIOO Posted February 12 Share Posted February 12 On 2/16/2023 at 4:34 AM, paul2009 said: In summary, you'll need to add both videos to the page and then use some CSS to hide one or the other, conditional on the language that the user has selected. The CSS will depend on they solution you have used for the bilingual feature (for example a third party tool like Weglot automatic translation, or manual translations and some custom code). Please provide a link to the page if you'd like forum users to try to help you further. Did this help? Please give feedback by clicking an icon below ⬇️ Paul, please give me an example of the CSS that needs to be added. This should be added to the page as block & Code? Or in the Website tool --> Custom CSS ? Thank you for your time and explanations. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment