> For the complete documentation index, see [llms.txt](https://truestorefront.gitbook.io/owen-hydrogen-shopify-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://truestorefront.gitbook.io/owen-hydrogen-shopify-theme/setup-multiple-languages/for-owen-theme.md).

# For Owen Theme

This page will help you set up multiple languages for Owen theme

### 1. Update Countries Data

Edit ***app/data/countries.ts*** then add all languages that your store supported:

For example:

<figure><img src="https://1630269672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHRzzWAbPS2llHIRPwbcd%2Fuploads%2FU8Shd42X3D1Yq6FY3dmD%2Fowen-languages-data.png?alt=media&amp;token=1a87bd02-e1e7-4198-a4dd-5fb400cb7bc7" alt=""><figcaption></figcaption></figure>

### 2. Create Translation Files

Create translation files in ***app/assets/locales/{language-code}/common.json*** to add translate tex&#x74;***.*** For example:

<figure><img src="https://1630269672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHRzzWAbPS2llHIRPwbcd%2Fuploads%2FR2VZ6HC71mpy6Se0s8iB%2Fnew-language-config.png?alt=media&amp;token=a48d5818-a1c7-449a-954f-08d5565f4520" alt=""><figcaption></figcaption></figure>

### 3. Modify languages configuration

Update **languages.config.ts** from root folder of Owen theme to setup all languages for your store:&#x20;

* Import all languages you have created in Step 2.
* **defaultLng:** default language code. Ex 'en'
* **supportedLngs:** all languages code used in your store.
* **lngResources**: list of translation file you have created in Step2.

<figure><img src="https://1630269672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHRzzWAbPS2llHIRPwbcd%2Fuploads%2FxSiTmi9PqmBGXzyeBAuQ%2Fnew-language-config-2.png?alt=media&amp;token=5affdc8e-3ed9-4049-a237-e8523392a1d1" alt=""><figcaption></figcaption></figure>

### 4. Add country flag images

Update or add new country flag in ***public/flag/{language-code}.svg***

<figure><img src="https://1630269672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHRzzWAbPS2llHIRPwbcd%2Fuploads%2FP638B8MGJFK0FeRfcEKj%2Fowen-country-flag.png?alt=media&amp;token=47aa586a-be11-4d76-a013-670338e74dc4" alt=""><figcaption></figcaption></figure>

You have completed setting up all languages for the Owen theme.
