diff --git a/R/language.R b/R/language.R index ac30eeb9..335a2f37 100644 --- a/R/language.R +++ b/R/language.R @@ -37,7 +37,7 @@ local_language <- function(lang, .local_envir = parent.frame()) { local_envvar(LANGUAGE = lang, .local_envir = .local_envir) # Reset cache to avoid gettext() retrieving cached value from a previous # language (idea from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931456) - bindtextdomain("reset", tempdir()) + bindtextdomain("reset", local_tempdir()) invisible() }