Sample Header Ad - 728x90

Load a locale from /usr/local/share/locale in OS X

4 votes
2 answers
1726 views
While importing a PostgreSQL database in OS X 10.10, I got a error like "invalid locale name: en_US.utf8". I went to /usr/share/locale and copied the folder en_US.UTF-8 as en_US.utf8. Ok, problem solved. But I know this solution will not work in OS X 10.11 due to that "rootless mode". I'll not be able to modify /usr/share/locale. Is there any way to load this folder from /usr/local/share/locale? I tried to copy en_US.utf8 to that directory and it didn't work.
Asked by Jan K. S. (151 rep)
Sep 19, 2015, 11:10 PM
Last activity: Apr 9, 2020, 12:46 AM