mousecheck.pupdev 923 B

12345678910111213141516171819202122232425262728293031323334
  1. i created the mousecheck.pot file like this. first I renamed script temporarily
  2. to mousecheck.sh, then:
  3. xgettext -o mousecheck.pot --no-wrap mousecheck.sh
  4. Now convert to a .po file in your language, example 'de':
  5. # msginit --no-wrap --locale=de_DE --output-file=de.po --input=mousecheck.pot
  6. ...the generated de.po has a line with "charset=", please change that to
  7. "charset=UTF-8"
  8. Also, edit this line to look like this:
  9. "Project-Id-Version: mousecheck 1.0\n"
  10. Then insert your country translations into de.po.
  11. Then create a compiled mousecheck.mo file:
  12. # mkdir -p /usr/share/locale/de/LC_MESSAGES
  13. # msgfmt --check --output-file=/usr/share/locale/de/LC_MESSAGES/mousecheck.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 mousecheck.mo
  18. Regards,
  19. Barry Kauler
  20. Oct 2011