Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 34b22929be17a5781bf36867d0893fc1 > files > 22

lib64nco3-4.0.1-1mdv2010.1.x86_64.rpm

# $Header: /cvsroot/nco/nco/doc/i18n.txt,v 1.3 2004/01/01 20:41:43 zender Exp $

# Purpose: NCO Internationalization (i18n):

# Generate *.po file for all NCO operators:
cd ~/nco/src/nco
xgettext --default-domain=nco --extract-all --output=nco.po nc*.c

# Search source for translatable strings:
cd ~/nco/src/nco
etags *.[chly]

# Open .po file in Emacs
# Hit `,' (po-tags-search) to start searching through candidates
# `M-,' Marks last string with _()
# `M-.' Marks last string with preferred keyword, e.g., gettext()

# Compile PO (portable object) file to MO (message object or machine object) file:
msgfmt --output-file=${HOME}/share/locale/es/LC_MESSAGES/nco.mo --statistics ${HOME}/nco/src/nco/nco.po