Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hadley
Copy link
Member

@hadley hadley commented Nov 3, 2021

WIP: want to see if these tests fail due to gettext caching

Because, per gettext: Note: The variable LANGUAGE is ignored if the locale is set to ‘C’. In other words, you have to first enable localization, by setting LANG (or LC_ALL) to a value other than ‘C’, before you can use a language priority list through the LANGUAGE variable.
@hadley
Copy link
Member Author

hadley commented Nov 3, 2021

@MichaelChirico looks like I figured out a way to clear the cache here too

@hadley hadley requested a review from jimhester November 3, 2021 19:09
Copy link
Contributor

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only minor changes

@hadley hadley changed the title Implement with_language() and local_langauge() Implement with_language() and local_language() Nov 3, 2021
@hadley
Copy link
Member Author

hadley commented Nov 4, 2021

Also related is https://bugs.r-project.org/show_bug.cgi?id=18055, where Martin Maechler solves the problem using bindtextdomain().

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

Successfully merging this pull request may close these issues.

4 participants