README.translators 2.4 KB

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