Jump to: navigation, search

Translations/HowToTest

< Translations
Revision as of 00:49, 21 November 2014 by Notmyname (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Yay! Someone has submitted a translation to your OpenStack project and you've merged the commit from the translation bot! Now what? How do you actually see that the translation did anything?

Testing a Translation

(This example is take from Swift. Run these commands on your Swift server.)

  1. sudo apt-get install gettext
  2. msgfmt ./swift/locale/zh_CN/LC_MESSAGES/swift.po # this is run from the Swift source dir
  3. sudo cp messages.mo /usr/share/locale/zh_CN/LC_MESSAGES/swift.mo
  4. LANG=zh_CN swift-init all start