Skip to content

Commit

Permalink
Try using a different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 8, 2021
1 parent a2116a3 commit 7cca20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/language.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 7cca20a

Please sign in to comment.