[R-pkg-devel] Changing the locale

Lluís Revilla ||u|@@rev|||@ @end|ng |rom gm@||@com
Wed Mar 16 12:31:22 CET 2022


Hi Ben,

I'm not sure how you changed the locales, but this seems to be related
to a bug already reported:
When changing the language of R the messages are cached and are not
translated again [1] (this is already fixed on R-devel).
If it is related to this, you could set up the locale before starting
R to avoid receiving the messages in an undesired language.

I hope this helps,

Lluís


[1]: https://bugs.r-project.org/show_bug.cgi?id=18055


On Wed, 16 Mar 2022 at 11:53, Ben Engbers <Ben.Engbers using be-logical.nl> wrote:
>
> Hi,
>
> While working on my package (RbaseX), I used the Dutch locale so all
> messages come in Dutch.
> In connection with a blog I am writing, I have changed the locale to
> 'English (UK)'. I had expected that all messages would now be in English
> as well. However, I still see Dutch messages.
>
> How do I adjust the package so that the correct locale is chosen
> automatically?
>
> Ben
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list