Translations/HowToTest
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.)
- sudo apt-get install gettext
- msgfmt ./swift/locale/zh_CN/LC_MESSAGES/swift.po # this is run from the Swift source dir
- sudo cp messages.mo /usr/share/locale/zh_CN/LC_MESSAGES/swift.mo
- LANG=zh_CN swift-init all start