Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Error: invalid last name format :: 常

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
a107480098
Posts: 10
Joined: Wed Oct 26, 2016 3:55 pm

Error: invalid last name format :: 常
  • Quote

Post by a107480098 » Sat Dec 10, 2016 12:08 pm

I come from China, had to control the panel to select the language is Chinese, other languages of our country people can not be understood. Problems when I try to add a user. For example, I add the First Name is: 晓亮, last name: 常, click Add, pop-up error message:Error: invalid last name format :: 常.

Please help me very grateful!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error: invalid last name format :: 常
  • Quote

Post by skurudo » Thu Mar 02, 2017 8:28 pm

Try to fix your locale on server..
I don't really know, how is it to chinese, but for russain letters we did this:

Code: Select all

sed -i "s/# ru_RU/ru_RU/" /etc/locale.gen
sed -i "s/# en_US/en_US/" /etc/locale.gen
locale-gen en_US.UTF-8
locale-gen ru_RU.UTF-8
echo LANG=en_US.UTF-8 > /etc/default/locale
source /etc/default/locale
service vesta restart
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password