Skip to content
Prev 5017 / 12125 Next

[R-pkg-devel] translation .mo files

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 build) to get them in the right place. I
wouldn't recommend trying to do any of that by hand.

I once wrote a more convenient version of all of this (no longer on
CRAN) that might be helpful. See, especially this file:
https://github.com/RL10N/msgtools/blob/master/R/install_translations.R.
That package also contains translations so you can see an example of
where everything should end up.

Best,
-Thomas

Thomas J. Leeper
On Sat, Feb 8, 2020 at 11:05 AM <r-package-devel-request at r-project.org> wrote:

            
Message-ID: <CAOC91MRMipkJ_LHordv0jja_5pgmnX8vDvU=TD5U47M6MRA1sw@mail.gmail.com>
In-Reply-To: <mailman.5017.13.1581159886.37780.r-package-devel@r-project.org>