Skip to content

Localization of Rd files

2 messages · Julien Barnier, Brian Ripley

#
Hi,

I'm currently developing a small package essentially used by non-english
speaking people, So I wrote the help pages (Rd files) in french.

What I'd like to know is if there is a way to localize these Rd files, ie
provide the same file in different languages to have it displayed according
to the locale of the user's system.

I've found that there are possibilities to translate text messages from
package functions with gettext, but nothing about Rd files.

Thanks in advance for any hints.

Sincerely,
#
On 08/02/2013 15:13, Julien Barnier wrote:
No.  Apart from anything else, .Rd files are processed at installation 
time, when the locale may well be different from the user's locale.

You might as well have different versions of the package for different 
languages -- people have done that.