Re: How to translate the Cookie Banner

How can I translate my website's Cookie Banner into multiple languages?

pokepopspot
Excursionist
21 0 5

Hello,

 

We would like to translate our Cookie Banner to all languages available on our site. At the moment, the Cookie Banner is only available in English. There is no option to localise it from the admin and we also didn't find it in the Translate & Adapt app. For now we would need to translate it to Slovak but soon also to German, Hungarian, etc.

 

Screenshot 2024-02-27 at 17.53.47.png

Replies 5 (5)

michaelivanov
Shopify Partner
56 6 12

Hi @pokepopspot,

 

Michael from Langify here.

 

If this cookie banner isn't translatable in Translate & Adapt then you can try translating it using Langify's Custom Content feature in 

 

Langify -> Custom -> Global

 

Here's a short guide on how to use Custom Contents: 

https://support.langify-app.com/support/solutions/articles/11000082059-custom-content-translations

 

Please note that since the following sentence contains a link inside your cookie banner:

 

We and our partners use cookies and other technologies to improve your experience, measure performance, and tailor marketing. Details in our Privacy Policy

 

you'd have to use two separate Custom Contents.

 

One for 

 

We and our partners use cookies and other technologies to improve your experience, measure performance, and tailor marketing. Details in our

 

and another one for 

 

Privacy Policy

 

michael_langify_0-1709058701696.png

 

PS: Langify works well alongside Translate & Adapt.

 

Additionally, if you have a dev store then we can enable Langify for you free of charge to test it as long as you'd like.

z4yd4
Shopify Partner
18 1 7

Hi @pokepopspot,
Hi, I was facing the same issue as you described. I just wasn't able to find the texts in Translate & Adapt.
I went to Settings / Languages and exported all the texts (in my case only for one language I wanted to do at this point, but you can export all of them).

If you are using Cookie banner from Shopify administration, you will find the texts there, add the translations and import.
IE:
https://lilbi.sk/ Slovak cookie banner
https://lilbi.cz/ Czech cookie banner

Need Shopify Solutions? Let's Elevate Your Store Together!
Explore the Possibilities at 3node s.r.o. - Your Shopify Partner Extraordinaire
alanbilli
Shopify Partner
3 0 1

Hey! 

Thanks for this solution but I've tried to export/import and my translations are ignored.

No matter if I import the whole language file with the updates lines or only the updates lines.

In both cases the system doesn't want to import my lines.

Have you had to do something specific for the import?

 

Thanks!

FineArtShots
Visitor
1 0 1

Hi Alan, 

I'm clearly not an expert, but I just wanted to tell you that I've tried the export/import, and after a couple of tests, I finally manage to see the changes !! And it really works fine.

At first it was ignored for me too, but let me explain you what I did to make it work :
First you go to Setting -> Languages -> and then you click on "Export" on the top.

On the Export windows, select the language you want to translate to, and keep everything else by default. Then, click on "EXPORT".

Once exported, you will receive a mail with a csv file.

Very Important : Open the file with Google Sheets (I have tried with Excel, and it never worked...).

When you open the file, expand the column with the text foe a better visibility.

At this moment, you will see the text in the original language.

-> Do not remove this text ! Instead, just add your translate text on the next column (H column normally, it says "translated content").

You will see that the Cookies Banner texts are all the lines starting with "COOKIE_BANNER" (Around 25 lines in total normally).
When finish, click on FILE -> Download -> And download the file as csv with a new name.
Then go back to Shopify, click on IMPORT, select the new file, Select "Replace existing translations for this language" !!! (Very important). 

And that's it ! It should work almost immediately.
I 've been searching for a solution for 2 days now... So I'm happy to share my findings, and I hope that this will help you or anyone else 😊.

Take care,
Indy

alanbilli
Shopify Partner
3 0 1

Hey Indy!

 

thanks for these details, it worked as a charm!

What I was missing is that I was replacing the text from the exported file instead of adding the localized version in the next column.

You helped me a lot, I hope this will help more persons.