microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 110 forks source link

Locale setting on R does not work #3363

Open MikhailArkhipov opened 7 years ago

MikhailArkhipov commented 7 years ago

If I set proper settings in Control Panel (R looks into regional settings - i.e. time/date format and not into OS UI or OEM codepage, RGui comes localized but in VS I still get English R.

image

MikhailArkhipov commented 7 years ago

OK, I can set locale properly etc, but most message still come in English. I think this is b/c RGui is using libintl_vasnprintf while we call msvcrt which obviously does not translate anything.

MikhailArkhipov commented 7 years ago

https://www.gnu.org/software/gettext/gettext.html http://gnuwin32.sourceforge.net/packages/libintl.htm

MikhailArkhipov commented 7 years ago

image

RTVS does not display 'NLS support' message. Setting language works for installed packages but not for R or base packages.