www.delorie.com/gnu/docs/gettext/gettext_57.html   search  
 
Buy GNU books!


GNU gettext utilities

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.11.1.2 Extract a Message Subset from a PO File

Nobody wants to translate the same messages again and again; thus you may wish to have a compendium file containing `getopt.c' messages.

To extract a message subset (e.g., all `getopt.c' messages) from an existing PO file into one compendium file you can use `msggrep':

 
msggrep --location src/getopt.c -o compendium.po file.po


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003