Changes between Version 2 and Version 3 of Stacomi gettext
- Timestamp:
- Jan 24, 2017 1:40:34 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Stacomi gettext
v2 v3 5 5 ---------- 6 6 7 téléchargement du logiciel 7 8 https://www.gnu.org/software/gettext/ 9 10 11 Dans R 12 13 Utilisation de gettext 14 15 Traduction des messages stop, warning et message + tout message encapsulé dans gettext et gettextf. 16 17 Outils pour préparer : 18 {{{ 19 #!R 20 tools::xgettext2pot 21 tools::xgettext# extracts the actual calls 22 }}} 23 xgettext extracts the actual calls and so is more useful when tidying up error messages. 24 25 The R function ngettext provides an interface to the C function of the same name: see example in the previous section. It is safest to use domain="R-pkg" explicitly in calls to ngettext, and necessary for earlier versions of R unless they are calls directly from a function in the package.