Package: po-debconf
Version: 0.8.22
Severity: minor

I was recently attempting to check a dutch translation I made. 
   podebconf-display-po <po-file> 
didn't work

two causes:
- my environment locale wasn't set to Dutch, easily solved by calling
 LANG=nl_BE podebconf-display-po <po-file>
- my po-file wasn't named nl.po but shadow_nl.po, and apperently 
podebconf-display-po needs the po-file to be called <lang-code>.po in order 
to find the translated strings.

If possible technically you probably should always use the translated 
strings from the po-file regardless of locale settings (I can't think of 
any use-case where you wouldn't want this.) 
Of course without setting LANG correctly you'll still get the environment 
locale versions of the debconf-strings 'yes', 'no', ... (while not perfect, 
I personally don't consider that a real problem)

If the above isn't possible it should at least be noted in the man-page (and 
README-trans) that:
- the po-file /must/ be named <lang-code>.po 
- LANG /must/ be set correctly
--
Cheers, cobaco

/"\  ASCII Ribbon Campaign
\ /  No proprietary formats in attachments without request
 X   i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \  Respect Open Standards
      http://www.fsf.org/philosophy/no-word-attachments.html
      http://www.goldmark.org/netrants/no-word/attach.html






Attachment: pgpBvjq1uDXk9.pgp
Description: PGP signature

Reply via email to