O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making a module localizable

CMS Made Simple has built-in support for making modules multilingual for both the administrators and the end users. If you are writing a module for your own personal use, you may be tempted to save some time and hardcode all of the strings and output to be only in your own native language. It turns out, however, that if a module is useful to you, there will be other people for whom it would be useful. If you share a module with others, it's worth the extra work to make it localizable. People from all over the world will thank you.

This recipe shows you the basic steps to making your CMS Made Simple module localizable.

Getting ready

This recipe assumes you're working with a module that was not written in a localized fashion ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required