---
title: Creating site specific resource strings
related:
  - https://docs.kentico.com/k10/multilingual-websites/setting-up-a-multilingual-user-interface/working-with-resource-strings.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

All default resource strings are stored in the _cms.resx_ file located in the Kentico project's _CMSResources_ folder. However, you can also create sets of resource strings for specific websites. See [Working with resource strings](https://docs.kentico.com/k10/multilingual-websites/setting-up-a-multilingual-user-interface/working-with-resource-strings.md) to learn which resource string files have higher priority than others.

Site-specific resource strings allow you to deploy strings together with individual sites, without needing to expand the system's main _cms.resx_ file.

> **Note:** **Note**: Site-specific resource strings cannot be edited from the Kentico administration interface, only through the created resx files.

To create site-specific resource string files:

1. Open your Kentico solution in Visual Studio.
2. Expand the web project's **App\_Data** folder and create a subfolder named _**\Resources**_.
3. Right-click the _Resources_ folder and select **Add -> Add New Item**.
4. Create a file with any name and the _**.resx**_ extension (for example _default.resx)._

   > **Info:** This creates a site-specific resource file for the application's default culture.
   >
   > To add resource files for other cultures:
   >
   > 1. Add subfolders under the _Resources_ folder named according to the code name of the desired culture (for example _cs-CZ)._
   > 2. Create another **.resx** file in each culture subfolder.
5. (Optional) If you plan to [publish](https://docs.kentico.com/k10/deploying-websites/publishing-projects-from-visual-studio.md) your website from Visual Studio, set the [Build Action](https://docs.microsoft.com/en-us/visualstudio/ide/build-actions) property of your resource files to **Content** to ensure that they are included.

You can now add pairs of resource string **Names** and **Values** into the resource file to create strings specifically for the given site. For example:

> **Note:** **Important**: The **Name** of site-specific resource strings must always have a prefix matching the **code name** of the given site. You cannot create strings with the same name in the resx files of different sites.

- **Name**: mysite.customString
- **Value**: Text

To apply changes made in _resx_ files to your site, you need to restart the application (for example click **Restart application** on the **General** tab of the **System** application in the Kentico administration interface).
