Chapter 7. Localization
Though thereâs no pressing need right now, it seems inevitable that Daisyâs Gone will need to support other languages on its website. Given the (partially) Italian blood that flows through the founding members, it seems like Italian language support is a good place to start. Porteremo Daisy per le persone buone dâItalia!
Orchard Site Localization
ASP.NET MVC and ASP.NET WebForms both offer localization support by way of resource (.resx) files. Orchard instead takes a different approach that is a better match for its modular architecture. This approach is to use PO files, which are simple text files with a well-defined format. PO files are commonly used by other web frameworks, including many other CMS platforms.
Within an Orchard site, there are three areas you might need to
localize. If your content creators are not native English speakers, youâll
want to take advantage of the admin and module translation files that have
been created by the Orchard community. If you have developed a module that
youâll share in the Orchard Gallery, you might want to contribute
translation files of your own. Youâll also likely want to enable the
Localization
module to allow the
content that you create to be localized.
Admin Localization
Whether youâre looking to localize for Italian, Polish, or some other language, youâll first want to visit http://orchardproject.net/Localize/ for a listing of available translation files. For each listed locale, youâll be able ...
Get Orchard CMS: Up and Running now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.