Skip to content

How to use locale-gen with brew's dependency (glibc)? #3682

Answered by lestephane
sisrfeng asked this question in Linux
Discussion options

You must be logged in to vote

I was able to successfully add a locale I needed (de_DE.UTF-8 in my case) by doing

$ localedef -v -i de_DE -f UTF-8 de_DE.UTF-8
$ locale -a
C
de_DE.utf8
en_US.utf8
POSIX

both commands are from homebrew for linux

$ which localedef locale
/home/linuxbrew/.linuxbrew/bin/localedef
/home/linuxbrew/.linuxbrew/bin/locale

You'll probably need to run the same localedef adjusted for zh_CN.UTF-8

Replies: 6 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@carlocab
Comment options

@sisrfeng
Comment options

Comment options

You must be logged in to vote
10 replies
@sisrfeng
Comment options

@sisrfeng
Comment options

@danielnachun
Comment options

@sisrfeng
Comment options

@danielnachun
Comment options

Comment options

You must be logged in to vote
6 replies
@sisrfeng
Comment options

@sisrfeng
Comment options

@sisrfeng
Comment options

@sisrfeng
Comment options

@sisrfeng
Comment options

Answer selected by sisrfeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
5 participants