Made in Builder.io

Ship Your First Personalized Web Experience webinar on June 15 @ 10AM PT. Register Now

Talk to Us
Product
Developers
Talk to Us

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

growth plans

Localization, or delivering content based on location settings, requires locales; that is, signifiers that indicate language, specific formatting, or content unique to that locale.

This document shows you how to add and remove locales in Account Settings.

Before you can use localization, you need to add locales to Builder so your app can deliver the right content to the right audience. Examples of locales include:

  • ar-sa: Arabic, Saudi Arabia
  • fr-ca: French, Canadian
  • en-nz: English, New Zealand
  • zh-hk: Chinese, Hong Kong
  • Many more locale codes with standard as well as region-specific codes.

Tip: If you're localizing individual text blocks in the Visual Editor, you can add or remove individual locales while in the block Edit dialogue.

  1. In Account Settings, click the pencil icon to the right of Custom targeting attributes.
  2. Click the + New Target Attribute button.
  3. In the Name field, enter locale. Type remains the default of String.
  4. Toggle Enum to the on position.
  5. In the Enum Values field, type each locale followed by pressing Return or Enter.
  6. Click the Save button.

The following video shows this process:

To remove specific locales, click on the "x" on each individual locale. To remove all locales, click the "x" for the locale section. Removing locales removes the associated content.

Now that you know how to add locales in Account Settings, you can use your locales throughout your app. For more information, refer to the following documentation:


Looking to hire a third party to help with your project?

Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.

Connect with us

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Get the latest from Builder.io

Developer Newsletter

Latest tips, tricks, and news for frontend developers from our blog

Product Newsletter

Latest features and updates on the Builder.io platform

By submitting, you agree to our Privacy Policy

Product

Features

Pricing

What's New

Resources

Documentation

Blog

Community Forum

Templates

Partners

Submit an Idea

Use Cases

Landing Pages

Headless CMS

Headless Storefront

Customer Showcase

Customer Success Stories

Builder.io logo

Visually build and optimize digital experiences on any tech stack. No coding required, and developer approved.

Get Started

Log In

Product

Features

Pricing

Integrations

Use Cases

© 2023 Builder.io, Inc.

Security

Privacy Policy

SaaS Terms