Revision 2 - 2009-02-18 at 13:25:48

h1. Add a New Language (Localization) to MojoMojo

h2. Overview

MojoMojo uses .po files to stores words, phrases and sentences of a language. For example, the base language file is en.po for English. The .po files are found in lib/MojoMojo/I18N/.

h2. Example

Let's say I want to add català as a language that MojoMojo supports. Here are the steps:

  • Copy en.po to ca.po
  • Edit the ca.po by adding Catalan text on the msgstr line which is equivalent to the English text on the msgid line.
My tags:
 
Popular tags:
 
Powered by Catalyst