To offer the administration interface in a new language, translate Xperience's default UI strings and the strings of your own customizations. Export the strings to .resx files, translate them, and register the translations in your project. After each Xperience update, review the translations for changed strings. To share a translation with other projects, distribute the translated files as a NuGet package.
For the languages available to users and how the system resolves translated strings, see Admin UI localization.
Xperience includes a dotnet utility to export all system localization resources (Xperience's default UI strings) to .resx files. When you create a translation for a new language, export the default resources as a starting point.
dotnet run --no-build -- --kxp-export-localization-resources --export-path {path}The export contains the English (en-US) strings, which serve as the source for translation.
Option | Description |
|---|---|
| (Required) The directory path where the export creates the .resx files. |
| (Optional) Exports only the default system resources. When not provided, the utility exports both system and custom resources. The system treats all external resources registered using the RegisterLocalizationResource attribute as custom resources. |
| (Optional) Skips the confirmation prompt before export. |
# Exports all resources to a local directory
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./localization-export"
# Exports only system resources
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./system-resources" --system-onlyThe export creates a structured directory with .resx files organized by resource type:
{export-path}/
└── en-US/
├── system/
│ ├── localization.client.en-US.resx
│ ├── localization.server.en-US.resx
│ └── localization.builder.en-US.resx
└── custom/
├── localization.client.en-US.resx
├── localization.server.en-US.resx
└── localization.builder.en-US.resxEach exported .resx file contains the resources of one localization target. The export creates a file only for targets that contain resources.
The custom folder contains external English resources registered with the RegisterLocalizationResource attribute under en-US or the SystemContext.SYSTEM_CULTURE_NAME constant. Resources registered under other culture codes, such as en, don't appear in the export. With --system-only, the export doesn't create the folder.
The approach for translating admin UI resources depends on specific goals and target audience.
To create a general-purpose localization package for the admin UI:
Export system resources using --system-only to get Xperience's English strings:
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./system-resources" --system-onlyTranslate the resources to your target language.
Package and distribute the translations to other projects as a NuGet package.
This approach creates a focused translation package containing only the default resources, making it suitable for sharing and reuse across different projects.
If your goal is to fully localize your specific application, including all custom resources:
Export all resources to obtain every string for localization:
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./localization-export"Translate both system and custom .resx files to your target language, covering all admin UI text in your application.
Naming convention
Custom projects don't need to follow the naming convention of the exported files. Use naming conventions that fit your project structure. For an example, see the finished branch of our Training guides repository (opens in a new tab).
Translate the rich text editor interface.
Register the translated resources in your application, including both system and custom translations. Register each file for the localization target shown in the name of its exported file, under the culture codes of your admin UI languages. For the rules, see Culture codes.
Configure the new languages in AdminLocalizationOptions.
This approach ensures complete localization coverage for your specific application, including your own custom components and extensions.
Translation volume and tooling
Exported system resources contain thousands of localization strings. Professional translation tools or AI-powered translation services handle this volume efficiently. When using AI tools, process resources in manageable batches and have a language professional review the results to ensure accuracy and proper context.
The Froala rich text editor displays its interface in the user's preferred admin UI language. The editor's texts come from two sources:
en-US).To localize the options of your own editor configurations, see Localize rich text editor configurations.
Xperience by Kentico updates may add, modify, or remove system resource strings. If you maintain admin UI translations in a language other than English, review and update your translations after each update.
Translations don't update automatically
When Xperience modifies the English text of an existing resource string, your translations for that key remain unchanged. As a result, the translated UI may display outdated or incorrect text until you manually update the affected translations.
Resource string changes in an update can impact your translations in the following ways:
{0}), your translation with mismatched placeholders displays the English string instead, or throws an error in code that formats strings without GetStringFormat.Before updating, export system resources as a baseline for comparison:
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./pre-update-resources" --system-onlyPerform the Xperience update following the standard update process.
After updating, export system resources again from the updated project:
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./post-update-resources" --system-onlyCompare the two exports to identify added, modified, and removed resource strings. Use a diff tool or source control system (opens in a new tab). The following example uses Git (opens in a new tab):
git diff --no-index ./pre-update-resources ./post-update-resourcesUpdate affected translations in your localized .resx files to reflect the new meaning and format of changed strings.
Automate your translations
We recommend using AI-powered translation tools to batch-analyze the diff and automatically produce updated translations for changed strings.
You can distribute your translations as NuGet packages. This approach allows other developers to easily include your translations.
Structure your project (typically a custom class library) to include the translated resource files and their registration. The class library must be discoverable. Otherwise, the system ignores its registrations without an error.
Package the translation using dotnet pack, and distribute the package:
dotnet pack --configuration Release --output ./packages