quicksetup.pupdev 943 B

12345678910111213141516171819202122232425262728293031323334
  1. I created the quicksetup.pot file like this. first I renamed script temporarily
  2. to quicksetup.sh, then:
  3. xgettext -o quicksetup.pot --no-wrap quicksetup.sh
  4. ...the generated quicksetup.pot has a line with "charset=", please change that to
  5. "charset=UTF-8"
  6. Now convert to a .po file in your language, example is de (Germany):
  7. # msginit --no-wrap --locale=de_DE --output-file=de.po --input=quicksetup.pot
  8. Also, edit this line to look like this:
  9. "Project-Id-Version: quicksetup 1.0\n"
  10. Then insert your country translations into de.po.
  11. Then create a compiled quicksetup.mo file:
  12. # mkdir -p /usr/share/locale/de/LC_MESSAGES
  13. # msgfmt --check --output-file=/usr/share/locale/de/LC_MESSAGES/quicksetup.mo de.po
  14. If you want to contribute this file so it will be distributed with Puppy, email de.po
  15. to me: bkaulerATgmailDOTcom
  16. note that an existing .mo file can be uncompiled like this:
  17. # msgunfmt quicksetup.mo
  18. Regards,
  19. Barry Kauler
  20. Oct 2011