gettext: po/Rules-*

1 
1 13.4.4 Extending ‘Makefile’ in ‘po/’
1 ------------------------------------
1 
1    All files called ‘Rules-*’ in the ‘po/’ directory get appended to the
1 ‘po/Makefile’ when it is created.  They present an opportunity to add
1 rules for special PO files to the Makefile, without needing to mess with
1 ‘po/Makefile.in.in’.
1 
1    GNU gettext comes with a ‘Rules-quot’ file, containing rules for
1 building catalogs ‘en@quot.po’ and ‘en@boldquot.po’.  The effect of
1 ‘en@quot.po’ is that people who set their ‘LANGUAGE’ environment
1 variable to ‘en@quot’ will get messages with proper looking symmetric
1 Unicode quotation marks instead of abusing the ASCII grave accent and
1 the ASCII apostrophe for indicating quotations.  To enable this catalog,
1 simply add ‘en@quot’ to the ‘po/LINGUAS’ file.  The effect of
1 ‘en@boldquot.po’ is that people who set ‘LANGUAGE’ to ‘en@boldquot’ will
1 get not only proper quotation marks, but also the quoted text will be
1 shown in a bold font on terminals and consoles.  This catalog is useful
1 only for command-line programs, not GUI programs.  To enable it,
1 similarly add ‘en@boldquot’ to the ‘po/LINGUAS’ file.
1 
1    Similarly, you can create rules for building message catalogs for the
1 ‘sr@latin’ locale – Serbian written with the Latin alphabet – from those
11 for the ‘sr’ locale – Serbian written with Cyrillic letters.  See ⇒
 msgfilter Invocation.
1