Goaccess: Chinese I18N seems doesn't works well?

Created on 15 Sep 2020  路  6Comments  路  Source: allinurl/goaccess

trying:

  • $ LANG="zh_CN.UTF-8" bash -c 'goaccess .......'
  • $ LANG="zh_CN.UTF8" bash -c 'goaccess .......'
  • $ LANG="zh_CN" bash -c 'goaccess .......'

my env:

$ locale -a | grep zh_CN
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8

$ echo $LANG
zh_CN

$ cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

my english is so bad that some words might be wrong :( sorry about that

image

i18n

Most helpful comment

On El7 glibc-common provides the locales. The package glibc-all-langpacks only exists on EL8.
@kannad Which GoAccess version do you use?

GoAccess 1.4 (release tag) on EL7 generates the statistics in chinese just fine here on my system.

All 6 comments

Could you please give elaborate about this issue? Thanks

Could you please give elaborate about this issue? Thanks

i just supply :)

Please take a look at issue #1506, that seems to be the issue. May need to install

dnf install glibc-all-langpacks

Please take a look at issue #1506, that seems to be the issue. May need to install

dnf install glibc-all-langpacks

centos 7 seems no rpm could be found.
i trying

  • yum update -y glibc-common
  • yum install glibc-common glibc.i686 glibc.x86_64

This doesn't seem to work

On El7 glibc-common provides the locales. The package glibc-all-langpacks only exists on EL8.
@kannad Which GoAccess version do you use?

GoAccess 1.4 (release tag) on EL7 generates the statistics in chinese just fine here on my system.

On El7 glibc-common provides the locales. The package glibc-all-langpacks only exists on EL8.
@kannad Which GoAccess version do you use?

GoAccess 1.4 (release tag) on EL7 generates the statistics in chinese just fine here on my system.

It also worked for me, tks ever so, I used the old version in the past

Was this page helpful?
0 / 5 - 0 ratings

Related issues

g33kphr33k picture g33kphr33k  路  3Comments

canepa picture canepa  路  3Comments

Gill-Bates picture Gill-Bates  路  3Comments

SerenaAi picture SerenaAi  路  3Comments

domainoverflow picture domainoverflow  路  3Comments