AI agents: the content index is at /llms.txt. Every page is also available as Markdown — send the request header Accept: text/markdown, or append .md to the page URL.
Xperience Docs

Cookie consent

We use necessary cookies (opens in a new tab) to run our website and improve your experience while browsing. Additional cookies are only used with your consent. You may revoke your consent on the Cookies Policy (opens in a new tab) page or in your browser at any time.

Configure (opens in a new tab)
  • Documentation
    Administration interface basicsDevelopers and adminsBusiness usersChangelogGlossary
  • Guides
    Welcome to Xperience by KenticoAdministration interface basicsCustomer journeysDigital marketingConfigurationDevelopmentArchitectureUpgrade to Xperience by Kentico
  • Training
    For AdminsFor Business usersFor DevelopersFor Solution architects
  • API Examples
    ConfigurationContent managementDevelopmentDigital marketing
  • Changelog
    Documentation updatesSecurity advisories
  1. Home
  2. Developers and admins
  3. Customization
  4. Admin UI localization
  5. Translate the admin UI

Translate the admin UI


Was this page helpful?

Send us feedback Go back to top
  • Community Questions & Answers (opens in a new tab)
  • Contact support (opens in a new tab)

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.

Export system localization resources

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.

CMDExport command syntax
dotnet run --no-build -- --kxp-export-localization-resources --export-path {path}

Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

CMDExport command syntax
dotnet run --no-build -- --kxp-export-localization-resources --export-path {path} --skip-confirmation

The export asks for confirmation before it starts. With no interactive console attached, the prompt can't be answered and the command fails instead of exporting anything, with System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.

Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

The export contains the English (en-US) strings, which serve as the source for translation.

Export options

Option

Description

--export-path

(Required) The directory path where the export creates the .resx files.

--system-only

(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.

--skip-confirmation

(Optional) Skips the confirmation prompt before export.

Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

Pass this parameter whenever no interactive console is attached. Without it, the command fails at the unanswerable confirmation prompt and exports nothing.

Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

CMDExamples of usage
# 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-only

Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

CMDExamples of usage
# Exports all resources to a local directory
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./localization-export" --skip-confirmation

# Exports only system resources
dotnet run --no-build -- --kxp-export-localization-resources --export-path "./system-resources" --system-only --skip-confirmation

Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

Export output structure

The 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.resx

Each exported .resx file contains the resources of one localization target. The export creates a file only for targets that contain resources.

  • localization.client.en-US.resx – Contains strings used in client-side JavaScript/TypeScript admin components, such as button labels, validation messages, and UI text that appears in the browser. Client resources are bundled and sent to the browser when the admin UI loads, making them immediately available on the client.
  • localization.server.en-US.resx – Contains strings used in server-side C# admin code, including API responses, server-generated messages, and back-end validation text. These resources are resolved dynamically by the back end as part of API responses and request lifecycle processing.
  • localization.builder.en-US.resx – Contains strings specific to builder components, including widget names, property labels, and builder-specific UI elements.

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.

Translation workflow

The approach for translating admin UI resources depends on specific goals and target audience.

Create a default localization package

To create a general-purpose localization package for the admin UI:

  1. Export system resources using --system-only to get Xperience's English strings:

    CMDExport system resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./system-resources" --system-only

    Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

    CMDExport system resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./system-resources" --system-only --skip-confirmation

    Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

  2. Translate the resources to your target language.

  3. 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.

Translate everything for local consumption

If your goal is to fully localize your specific application, including all custom resources:

  1. Export all resources to obtain every string for localization:

    CMDExport all resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./localization-export"

    Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

    CMDExport all resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./localization-export" --skip-confirmation

    Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

  2. 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).

  3. Translate the rich text editor interface.

  4. 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.

  5. 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.

Translate the rich text editor

The Froala rich text editor displays its interface in the user's preferred admin UI language. The editor's texts come from two sources:

  • Froala's own interface – The editor applies the matching language pack from Froala's default language packs, as documented in the Froala languages documentation⁠ (opens in a new tab). If Froala doesn't support the language, the editor uses English (en-US).
  • Xperience's customizations – Custom toolbar buttons and other features that Xperience adds to the editor aren't covered by Froala's language packs. Their strings are located inside localization.client.en-US.resx in the exported resources. Translate them together with the other system strings.

To localize the options of your own editor configurations, see Localize rich text editor configurations.

Maintain translations across updates

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.

How updates affect translations

Resource string changes in an update can impact your translations in the following ways:

  • New keys – The system falls back to English automatically. No immediate action is required, but you may want to translate new strings for a consistent experience.
  • Modified keys – Your translation still uses the old text. The UI may display a meaning that no longer matches the actual behavior (e.g., a button translated as "Delete" when the action now moves items to the recycle bin).
  • Changed format parameters – If the English string added or removed format placeholders (e.g., {0}), your translation with mismatched placeholders displays the English string instead, or throws an error in code that formats strings without GetStringFormat.
  • Removed keys – Unused translations remain in your .resx files without causing issues, but you can remove them to reduce clutter.

Update translations after an update

  1. Before updating, export system resources as a baseline for comparison:

    CMDExport pre-update resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./pre-update-resources" --system-only

    Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

    CMDExport pre-update resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./pre-update-resources" --system-only --skip-confirmation

    Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

  2. Perform the Xperience update following the standard update process.

  3. After updating, export system resources again from the updated project:

    CMDExport post-update resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./post-update-resources" --system-only

    Agent-only content starts here: the section below is written for AI agents and automated tools reading the page HTML. Human visitors do not see it — the visible page carries the human-facing version.

    CMDExport post-update resources
    dotnet run --no-build -- --kxp-export-localization-resources --export-path "./post-update-resources" --system-only --skip-confirmation

    Agent-only content ends here. What follows is the visible page again, which human visitors and agents both receive.

  4. Compare 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):

    CMDCompare exported resources (git)
    git diff --no-index ./pre-update-resources ./post-update-resources
  5. Update 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.

Distribute localization files

You can distribute your translations as NuGet packages. This approach allows other developers to easily include your translations.

  1. 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.

  2. Package the translation using dotnet pack, and distribute the package:

    CMDCreate NuGet package
    dotnet pack --configuration Release --output ./packages

On this page

  • Export system localization resources
    • Export options
    • Export output structure
  • Translation workflow
    • Create a default localization package
    • Translate everything for local consumption
    • Translate the rich text editor
  • Maintain translations across updates
    • How updates affect translations
    • Update translations after an update
  • Distribute localization files

Related pages

  • Admin UI localization