Articles on: Translation

Add and manage app's metafields

Integrating a multilingual feature into your store is vital for reaching a broader audience, especially if your customer base spans across different regions. One key element to this is ensuring that your Cookie bar is also translated to match the languages offered in your store.

This often requires setting up metafields within your theme files to work in harmony with your chosen translation app.

To successfully integrate the Cookie bar with your translation app through metafields, follow these steps:

Automatic Setup (All Paid plans users)




First and foremost, please make sure that the app is enabled in the theme settings. You can check more on how to ensure this article - Enabling App Embed
Once you ensure this is done, navigate to the Translation tab > Metafields section > Automatic setup
Hit the Enable metafields button. Once the metafields are set, the indicator for the automated setup shown below, will be changed to On



Manual Setup (Free plan users)



Navigate to the Translation tab and locate the Metafields section.
There, you will find a straightforward three-step process: First, refresh the metafields using the provided button > copy the metafields code > visit the theme.liquid file by clicking the link provided.
Once in the theme.liquid file, paste the copied code just below the opening <head> tag to ensure it's properly integrated.
Don't forget to save your changes to finalize the setup.

Here's a visual guide to assist you through the process:



NOTE: Make sure to remove the added code before deleting the app. This way, no snippets of code will be left in your theme. For more information on what you should be aware of when deleting our app check this article of our FAQ page.


Setting up the metafields correctly allows the translation app to detect and translate the content of your Cookie bar, ensuring a seamless experience for your international customers. If you encounter any difficulties or have questions, our Support team is always ready to assist you at support@consentmo.com.

Our goal is to help you maintain a user-friendly, compliant, and fully accessible online store for all your customers, regardless of their language.

Updated on: 23/10/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!