Change culturecode in Kentico 13

Nguyễn Thành asked on September 19, 2025 03:52

I need to change culture code of 'Poland - English' from pl-EN to en-PL, but I am not sure whether it can impact somewhere. Can I do that ? Please give me an advice.

Recent Answers


Kaur Nav answered on September 25, 2025 08:04

Hey,

Changing the culture code from pl-EN to en-PL in Kentico 13 is technically possible, but it can have significant implications depending on how your site and content are structured.

Here's a breakdown of what to consider before making the switch:

  • Identify language variants of pages and content.
  • Drive URL structure (e.g., /en-PL/home).
  • Determine localization settings like date formats, currency, etc.
  • Match visitor culture preferences via browser settings or redirects.

Potential Impacts of Changing pl-EN to en-PL

  • URLs may change from /pl-EN/... to /en-PL/..., breaking existing links unless redirects are configured.
  • If you have localized versions of pages, Kentico may not recognize the new culture as the same variant.
  • Visitors with pl-EN in their browser may not be routed correctly unless fallback logic is updated.
  • You may need to reconfigure or reimport resource strings for en-PL.
  • Any hardcoded references to pl-EN in your codebase, macros, or SQL queries will need to be updated.
  • Campaigns or personas targeting pl-EN will no longer match unless updated.
0 votesVote for this answer Mark as a Correct answer

Kaur Nav answered on September 25, 2025 08:07

Safe Steps to Proceed

1. Audit Usage: Search your codebase, macros, and SQL for pl-EN and Check page aliases, redirects, and culture-specific settings.

2. Backup First: Export your site or at least the affected culture content before making changes.

3. Update Culture Code: In Localization → Cultures, change the code from pl-EN to en-PL.

4. Fix URLs and Redirects: Set up 301 redirects from old URLs to new ones to preserve SEO and user experience.

5. Test Thoroughly: Validate page routing, localization, and content availability across the site.

6. Update SQL Logic: If you're using custom export/import logic or recursive joins, make sure your queries normalize culture codes consistently.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.