Use locales in theme sections (Customize)

New Member
2 0 0

Hello. ¿Is there a way to access/use/modify locales from the section's visual editor (Customize)?


I've seen that you can create locales inside the schema tag of the section but ¿Can you use them introducing them in the visual editor of the section? If I write in a text field a liquid tag to access the locale it outputs the liquid tag itself as a string, not the stored value.


Captura de pantalla 2020-06-07 a las 21.58.55.png


What we would like is to keep and maintain translated the dynamic content that we use in our sections. For example if we create a text field inside a section we need to be able to store its content as a locale and maintain it in several languages.


Related to this ¿Is it possible to edit a section's locale from the "Customize" menu of the section or I necessarily have to go to the theme's Language Editor?





Reply 1 (1)
Shopify Partner
693 16 101

No, but you should be able to edit the text in language editor, according to the doc:

Any translations will show up under the Sections tab of the language editor for merchants to edit. When edits are made, the changes are saved directly to the applicable locale file, and the section schema is unchanged.

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview