Take the community feedback survey now.

smithsson68@gmail.com
Aug 5, 2010
  4851
(0 votes)

Using EPiServer CMS language files from Online Center Gadgets

I’m currently working on a gadget who’s target audience is EPiServer CMS Editors. I thought therefore that it would probably be a good idea to make it internationalizable so editors can view the gadget in localized languages.

The obvious way to do this is to use the standard .NET resource model. However, as I only plan to ship the gadget with English and Swedish localization it became apparent that this was going to be a bit of a pain for others to provide a localization using a language of their choice.

Love it or hate it, this is where the EPiServer CMS model becomes really useful. All someone needs to do to localize to another language is find the correct sections in the site’s existing language files, copy them and change the text to the new language.

I decided to use the CMS XML language file model to internationalize my gadget. Maybe it’s really obvious to some people how you would go about doing this but I wasn’t so sure so I’ve written a code example which can be found here on the shiny new EPiServer World Code section.

Aug 05, 2010

Comments

Please login to comment.
Latest blogs
OptiId: What is it and why now is a good time to use it

If you’ve been hearing the term  OptiID floating around and wondering what the fuss is about, let’s break it down in plain English. What is OptiID ...

Jon Williams | Nov 12, 2025

Using Serilog in DXP

TL;DR  Use Serilog.Sinks.Console for DXP apps — or skip Serilog entirely and rely on default logging. It’s common during investigations that all th...

Karl Stålenheim | Nov 12, 2025

Handling Multiple OpenID Connect Providers in Optimizely CMS with .NET 8

When you need to authenticate against more than one OpenID Connect provider in the same ASP.NET Core app – say IdentityServer  for the public site...

Eric Herlitz | Nov 12, 2025 |

New Certification Alert: Become a Certified Optimizely CMS PaaS Administrator

If you’ve ever managed an Optimizely CMS environment, you already know it’s not just about deployments and settings. It’s about keeping everything...

Satata Satez | Nov 10, 2025

Algolia Search with Optimizely SAAS

Algolia + Optimizely SAAS (Remko Next.js) Integration Guide This guide explains how to integrate Algolia Search with your Optimizely SaaS CMS proje...

PuneetGarg | Nov 10, 2025

Optimizely CMS platform bug in ErrorsController (EPiServer.CMS.Core 12.22.9 fix)

While checking  Application Insights earlier this year, I stumbled upon a strange exception in my Optimizely site. At first, I thought it might be ...

David Drouin-Prince | Nov 9, 2025 |