rig icon indicating copy to clipboard operation
rig copied to clipboard

Local Language instead of english

Open John15321 opened this issue 1 year ago • 6 comments

Hi, I installed R using rig and for some reason, all of the R tool are now speaking to me in Polish...?

Don't get me wrong I appreciate the availability of local languages in software however I would like to be able to choose the language (aka switch to English, as I have everything on my development machine in English). Is there a way to do that?

John15321 avatar Mar 27 '24 10:03 John15321

What is your OS and OS version? What are the R versions you installed? What is the version of rig?

gaborcsardi avatar Mar 27 '24 10:03 gaborcsardi

That would indeed be useful (I prefer the English version because of easier-to-google error messages). I am using rig version 0.6.0 on macOS 14.4 and R versions 4.3-arm64/4.4-arm64.

mbstadler avatar Mar 31 '24 09:03 mbstadler

@mbstadler We can probably add an option for that on macOS, installers default to the system language.

In the meanwhile you can probably work around it by putting this in .Renviron:

LC_ALL=en_US.UTF-8

gaborcsardi avatar Mar 31 '24 09:03 gaborcsardi

@gaborcsardi Setting LC_ALL=en_US.UTF-8 in ~/.Renviron does the trick for me - thanks for the tipp!

mbstadler avatar Mar 31 '24 09:03 mbstadler

Also setting the LANGUAGE in /Library/Frameworks/R.framework/Resources/etc/Renviron as 'en' also works for me

LANGUAGE=en

John15321 avatar Apr 06 '24 10:04 John15321

I'll still add an option for this at some point.

gaborcsardi avatar Apr 06 '24 10:04 gaborcsardi