Aug 5, 2010
(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


Please login to comment.
Latest blogs
Display Child Pages in Content Delivery API Response

The below example will implement an instance of IContentConverterProvider to customise the serialisation of PageData and output child pages in the...

Minesh Shah (Netcel) | Oct 4, 2022

Bring the Report Center back in Optimizely CMS 12

The Report Center has been a part of Optimizely CMS since its first debut in version 5R2 in 2008, but in CMS 12, it's removed! Don't despair! Make...

Tomas Hensrud Gulla | Oct 4, 2022 | Syndicated blog

Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Optimizely names Luminary Senior Developer, Ynze Nunnink, OMVP

Luminary Senior Developer and Optimizely Lead, Ynze Nunnink has secured the coveted position of Optimizely MVP. Earning a Platinum badge for his...

Ynze | Oct 2, 2022 | Syndicated blog