Re: [R-pkg-devel] translation .mo files

2020-02-10 Thread Fox, John
Dear Paul, Here's some information that I prepared for translators of the Rcmdr package, slightly edited to make it more generic. Perhaps you'll find it useful: R provides a general facility for translating messages from English to other languages using the GNU gettext translation tools

Re: [R-pkg-devel] translation .mo files

2020-02-08 Thread Thomas J. Leeper
Hi Paul, Check out this doc file for suggested workflows: https://stat.ethz.ch/R-manual/R-devel/library/tools/html/update_pkg_po.html The key part is that you need to create a .pot file from which the .po files are generated and edit. Then you need to "install" the translations (before R CMD buil