Multilingual

Managing website content in multiple languages is a straightforward process with Garchi CMS.

Before you begin, ensure that you have subscribed to the appropriate plan, as it may affect the number of languages you can add to a space.

Adding Languages to a Space

  1. Go to Space Settings from the sidebar.
  2. Select the desired language from the dropdown and click the "Add Language" button. Adding a language
  3. Take note of the i18n language code displayed under each language. You will need this code when making requests to the pages API to retrieve page content in the corresponding language.

Once you have added all the necessary languages, you can proceed to create the content for each page in the respective languages.

By default, the primary language for Garchi CMS is English (United States) en-US. To create content for a page in a different language, follow these steps:

  1. Navigate to Headless Web -> Pages and select the page you wish to edit by clicking on the pencil icon.
  2. Choose the desired language from the dropdown menu. Select Language
  3. Create the content for the selected language and click "Save".
  4. When making requests to the pages API, pass the lang parameter to retrieve the page content in the corresponding language.