README.translators 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Translators, when adding/updating your translation files, please follow
  2. the following guidelines:
  3. * Update po/ChangeLog and debian/changelog:
  4. * beware the you should NOT update the main ChangeLog file
  5. for translation updates. Use po/ChangeLog instead
  6. * The format of entries in po/ChangeLog is strict:
  7. ==========================================================
  8. 2006-02-11 Christian Perrier <bubulle@debian.org>
  9. * fr.po: Updated to 1011t.
  10. ==========================================================
  11. Note the date format AND the DOUBLE SPACE between the date end the translator's
  12. email address
  13. Note also the TAB character before the entry. NOT multiple spaces
  14. Also note that the update should mention the file statistics as
  15. XXXtYYYfZZZu
  16. - "XXXt" means "XXX translated strings"
  17. - "YYYf" means "YYY fuzzy strings strings"
  18. - "ZZZt" means "ZZZ translated strings"
  19. YYY or ZZZ may be omitted if they are null
  20. This file contents MUST be encoded in UTF-8
  21. * Format of entries in debian/changelog:
  22. Translation updates should go in a dedicated "[Updated translations]"
  23. section:
  24. dpkg (1.13.15) unstable; urgency=low
  25. .../...
  26. [ Updated Translations ]
  27. * Catalan (Jordi Mallach).
  28. * Portuguese (Miguel Figueiredo).
  29. * Swedish (Daniel Nylander).
  30. New translations should go in a dedicated section named "[New translations]":
  31. dpkg (1.13.15) unstable; urgency=low
  32. .../...
  33. [ New Translations ]
  34. * Vogon (Douglas Adams).
  35. This file contents MUST be encoded in UTF-8
  36. * use of po/LINGUAS:
  37. When ADDING a new translation, don't forget adding the language to po/LINGUAS, otherwise it will not be used.
  38. * always CHECK your translations
  39. You MUST check your PO files for validity.
  40. The correct syntax for doing so is:
  41. msgmerge -U <file> dpkg.pot
  42. msgfmt -c -o /dev/null --statistics <file>
  43. msgcat <file> >/dev/null
  44. -msgmerge updates your file with the current POT file
  45. -msgfmt checks it for validity
  46. -msgcat may detect encoding problems