Localization Package for Xperience by Kentico: Restoring Popular Features

12/5/2024, Boris Kapustík

We present the XperienceCommunity.Localization package, designed to streamline the transition to Xperience by Kentico. It restores popular features from Kentico 13, introduces new tools for managing language versions, and simplifies the workflow for developers and editors.


Migration to the new Xperience by Kentico platform brings numerous enhancements and innovations. However, users often miss some proven features that were part of previous versions, such as Kentico 13. To facilitate the transition and bring back familiar options, we developed the XperienceCommunity.Localization package, which not only restores popular features but also introduces new tools for efficient language version management.

Zamyšlený pán u počítače

Why was the localization package created?


The transition to Xperience by Kentico represents a step forward in many areas, but not all solutions meet the real-world needs of everyday work. For example:

  • Time-consuming management of language versions: A separate language version needs to be created for each page or widget, which can be time-consuming.
  • Limited flexibility: Some sections of the website require faster and easier localization directly in the code, not just through the CMS.

As a member of our development team said: “Xperience by Kentico does allow for localization, but the process is often unpleasant and time-consuming. Enabling direct editing on the website would greatly simplify the work.”

What does the XperienceCommunity.Localization package bring?


The package is designed to bring back popular features from Kentico 13 while enhancing localization work with new capabilities. Key features include:

  • Ability to use localizer in code:
    • Easy retrieval of text by key.
    • Simple translation management in a user-friendly interface.
  • Clear interface:
    • Ability to create new keys directly in the administration.
    • Overview of all used languages in one place.
    • Fast translation filling without unnecessary clicks.
  • Support for .NET localization pattern:
    • The package builds on familiar practices and tools used by developers, speeding up integration into existing projects.

How did we extend the admin interface?


To simplify the management of language versions, we created a custom extension for the Xperience by Kentico administration. We followed best practices to ensure smooth and efficient integration. Key elements of the extension include:

  • Custom module with a React component connected to the Kentico API.
  • Storing content in the database using a standard structure, which makes further data handling easier.
  • Installer for easy data management: Custom Info Items ensure seamless implementation.
  • Integration with the .NET localizer: Developers can use the localizer similarly to a dictionary.

Easy implementation into the project


One of the main goals of the package is its easy implementation. Simply follow these steps:

  1. Add the NuGet package:

dotnet add package XperienceCommunity.Localization 

  1. Register the service in Program.cs:

builder.Services.AddXperienceCommunityLocalization(); 

  1. Use the localizer in the code:

Title = localizer["Title"]; 

Who is the package for?


This tool is especially useful in projects where language version management is crucial. Typical users will include:

  • Developers migrating from Kentico 13: The localization package enables them to bring familiar features to the new platform.
  • Teams managing multiple language versions: It simplifies management and reduces the time needed for translations.
  • Projects with frequent content updates: The package allows for quick editing without unnecessary complications.

How can we assist you?


If the localization package has caught your interest, feel free to contact us. We’d be happy to help with:

  • Migration to Xperience by Kentico.
  • Implementation of the localization package.
  • Optimization of language version management tailored to your project.

Contact us to schedule a consultation with our specialists.

Are you looking for a partner or have a question?

Contact us, we look forward to meeting you in person or over a call.

Contact

+420 603 202 729
obchod@nittin.cz
NITTIN s.r.o.
Branická 26/43
147 00 Praha 4
IČO: 06947743
DIČ: CZ06947743

Privacy settings

This site uses cookies.

Configure