We're transitioning Studio from Beta to Early Availability
Hygraph
Docs

You are currently reading the Studio Docs. If you were looking for the Classic Docs check here

Localize content

#Overview

As an Editor, you might need to create content in different languages. Localization is supported as a core feature in Hygraph. A locale is a language you add for the content to be translated into. You will see them as spaces in your content entry where you can add a translation.

While as an Editor you don't have to configure any settings for localization, it's important to know that the languages available for you to use in the content editor depend on the project configuration. These locales can be both default and custom.

When configuring the schema, a field can be set as Localized field. This means each field can have an assigned localization which is part of field configuration, and not a duplication of that content. This basically means that you can work on localized content entries with "per field" granularity.

#Add a localization

  1. Navigate to the content editor tab.
  2. Select the view where you want to create a content entry.
  3. Click on + Add entry in the upper right corner of the screen.
  4. Add a locale by clicking on the + icon next to it. You can find the locales on the right sidebar.
  5. Work on your entry.
  6. Enter the localized text in the localized fields and complete the rest of your entry according to your task.
  7. Select Save or Save & Publish depending on your workflow.

#Show or hide a locale

To work with localizations, look for the eye icon in the localization section of the content entry sidebar.

  • If the eye is closed, that means the locale is hidden.
  • If the eye is open, that means the locale is shown.

Click on the eye icon to toggle between shown and hidden.

Selecting and deselecting locales controls their visibility on the screen. If a locale already has content saved in it, selecting or deselecting it will not affect the content, only its visibility.