Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup(debug = TRUE): Report on the current locale settings #126

Open
2 tasks
HenrikBengtsson opened this issue Oct 26, 2022 · 0 comments
Open
2 tasks

Comments

@HenrikBengtsson
Copy link
Owner

  • Make startup(debug = TRUE) report on, and detect when, the locale changes:
> Sys.getlocale()
[1] "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C"
  • Report also on whether or not a translation for this locale is available, e.g.
> dir(file.path(R.home("library"), "translations"))
 [1] "da"          "de"          "DESCRIPTION" "en"          "en_GB"      
 [6] "en@quot"     "es"          "fa"          "fr"          "it"         
[11] "ja"          "ko"          "lt"          "nn"          "pl"         
[16] "pt_BR"       "ru"          "tr"          "zh_CN"       "zh_TW"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant