Manage your project's locales
#Overview
Hygraph allows you to define language variations within your project through locales.
You can add locales to your project and then configure fields in your schema to be localizable.
#Manage locales
To manage your project locales go to Project settings > Locales
in your Hygraph project.
Project locales
Locales are environment specific. This means their configuration is applied per environment. Take this into consideration if you're working with a project using more than one environment.
#Add locale
The default locale is English
, but you can edit this or add additional locales by selecting a language from the Display name
dropdown and then clicking + Add
.
Add locales
#Edit locale
To edit a locale, simply click Edit
and change the necessary information.
Edit locales
#Delete locale
To delete a locale, simply click on the context menu and select Delete
.
Delete locales
The context menu will only display for additional locales, as it is not possible to delete the default locale.
Delete locales confirmation
A confirmation message will display when you attempt to delete a locale. Click on the Delete
button to confirm the deletion.