Openspaces Labs
  • 🏠 Getting Started
    • Installing the Plain Jane Theme
    • Theme Versions + Features Table
  • 🧰 Theme Settings
    • Announcement Bar
    • Animations
    • Cart Drawer
    • Clock Settings
    • Collection Layout Settings
    • Cursor Settings
    • Footer Settings
    • Global Menu Settings
    • Music Player Settings
    • Logo Settings
    • Skip Home Screen
    • SEO Settings
    • Main Theme Color
    • Typography Settings
  • 🗂 Pages & Menus
    • Homepage + Menu
      • Center Menu
      • Side-Aligned Menu
      • Compact Menu Layout (Global Menu)
    • Collection Page
      • Classic Collection
      • Sidebar Collection
    • Collection List Page
    • Product Page
      • Product Section (Showcase)
      • Product Section (Thumbnail)
    • About Page
    • Contact Page
    • Lookbook Page
      • 🛠 How to Create a Lookbook Page
      • 🗂 Creating a Lookbook Archive
      • ⚙️ Lookbook Settings & Features
    • Password Page
      • How To Password Lock Store
      • How To Add and Set Timer
      • How To Collect Emails + SMS
      • Using The Store Unlock Animation
  • 🧩Sections and Features
    • Blog Feed Section
    • Collection Display Section
    • Collection List Section
    • Email Signup (Popup)
    • Email Signup (Embed)
    • FAQ Section
    • Hero Section
    • Image Selector Section
    • Image Stream Section
    • Marquee Section
    • Preloader Section
    • Product Carousel Section
    • Text Block Section
    • Video Spotlight Section
  • 🏷️Advanced
    • How to Add Size Charts to Each Product
    • Setting Up Color Swatches
    • Setting Up Model Info
    • Setting Up Pre-Orders
  • 👥Customer Accounts
    • How To Setup Customer Accounts
    • Login Page
    • Register Page
    • Account Dashboard Page
    • Address Management Page
  • 🌎Languages & SEO
    • Language Files (Locales)
    • Update Favicon
    • Meta Descriptions
  • ⭐️Plain Jane Interactive
    • How to Create an Interactive Space
    • Setting The Background
    • Adding Interactive Points
    • Using Transition Arrows
    • Best Practices for Mobile + Spacing
  • 💬 FAQ & Troubleshooting
Powered by GitBook
On this page
  • What You’ll Learn
  • 🧩 What Are Locale Files?
  • 📁 File Location in Your Theme
  • ✏️ How to Edit Text Labels
  • 🌍 Adding or Managing Multiple Languages
  • 🧠 Developer Notes
  • Need Help?
  1. 🌎Languages & SEO

Language Files (Locales)

What You’ll Learn

  • What locale files are and where they live in your theme

  • How to customize text labels throughout your storefront

  • How to add new languages and manage translations


🧩 What Are Locale Files?

Locale files control all the translatable text in your Shopify theme. These are stored as .json files inside your theme's locales folder. Each file represents one language (e.g., en.default.json for English).

You’ll see translations for things like:

  • Button labels (e.g., “Add to Cart”)

  • Section headings

  • System messages (e.g., “No products found”)


📁 File Location in Your Theme

plain-jane-theme
  └── locales
        ├── en.default.json
        ├── fr.default.json
        └── es.default.json

Each file contains a set of key-value pairs, where the key is the identifier and the value is the translatable text.

Example:

"products": {
  "product": {
    "add_to_cart": "Add to Cart"
  }
}

✏️ How to Edit Text Labels

  1. From your Shopify Admin, go to Online Store > Themes

  2. Click Customize next to your current theme

  3. In the theme editor, click the three-dot menu (⋯) > Edit default theme content

  1. Use the search bar to find any text you want to update (e.g., “Sold Out”)

  2. Change the value and click Save

💡 This is the easiest way to rename buttons like “Buy Now” or “Learn More” without touching code.


🌍 Adding or Managing Multiple Languages

To offer your store in more than one language:

  1. Go to Settings > Languages in your admin

  2. Add the languages you want to support

  3. Shopify will automatically generate the new .json locale files in your theme

  4. You can then translate content using:

    • Shopify’s admin UI

    • Translation apps (like Weglot or Langify)

    • Manually editing the .json files (developer-level)

⚠️ Be sure to update metafields and custom content for each language too if you're using those.


🧠 Developer Notes

You can access locale strings in Liquid using the t filter:

{{ 'products.product.add_to_cart' | t }}

If you’re building or extending a theme, structure your locale keys by section or context (e.g., header, footer, cart, etc.) to keep things organized.

Need Help?

  • 📧 Email us at: support@openspaces.design

  • 💻 Live chat with us: Available Monday–Friday, 10AM–6PM EST, directly on our website

Previous🌎Languages & SEONextUpdate Favicon

Last updated 4 days ago

💬 Join our community on Discord:

https://discord.gg/hcc2GvgZc6