Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

smithsson68@gmail.com
Aug 5, 2010
  4482
(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
Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog