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

in beta

growth plans

To deliver different languages, images, or designs based on your visitor's locale preferences, use localization. You can use localization on individual text blocks, groups of blocks, and whole pages.

This document shows you how to localize multiple blocks simultaneously.

To use localization on multiple blocks at once, use a data model. Working with the data model means that you can localize any kind of block in addition to Text blocks and you get all the power of Builder CMS content, such as scheduling, targeting, and A/B testing.

Because this is a data model, you can reuse content across other Builder content entry-level localization. In this way, you can deliver completely separate content per locale, or a group of locales. Relies on passing the correct locale to the targeting attributes.

Due to the programmatic nature of data models, this technique is best suited for those comfortable with code.

  1. Create a data model for the content you want to localize.
  2. Add a custom field by clicking on the + New Custom Field button.
  3. Name the field and specify the Type.
  4. Toggle Localized to on.
  5. Repeat the previous three steps for each field you'd like to localize.
  6. Specify content for each locale.
  7. Click the Save button at the top of the model.

To make a model entry from your new model, take the following steps:

  1. Go to Content -> your new Model and make a new entry for your model by clicking + New and choosing your model.
  2. Click Publish.

To use your model entry, take the following steps:

  1. Back in your content, for example your Page or Section, click the Data tab.
  2. Click the Connect Data button and choose Builder.io.
  3. In the modal that opens, choose the model you made.
  4. In the Entry tab, choose the Entry you made in the last section.
  5. Open the Edit dialogue of the block you want to localize.
  6. Click the data binding button with four dots to the right. Under Get the value for this from, choose the field from your model entry.

The last part of setting up localization is to integrate. For instructions, continue to Integrating Builder Localization with your code.

Integrating Builder's features with your codebase helps decouple design and marketing from development, giving each team member more autonomy in the process. For more information on integrating further, refer to the following documentation:

  • Integrating Pages: designers, marketers, and stakeholders can iterate in Builder's Visual Editor while developers can work on the code.

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