by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years ago )

If Vim is set to Chinese environment, but Ubuntu is not set to zh_TW.UTF-8 during installation, How to install this environment?

If you can't find this zh_TW, use "Locale-Gen" to add this locale library
and reset once (requires ROOT permission)
$ sudo locale-gen zh_TW.UTF-8 
$ dpkg-reconfigure locales

Missing packages, please install

apt -get install -y locales

 

Tags: config vim

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


vim, macos

Ultisnips requires py >= 2.7 or py3 Bugfix

If you install Vim like me, will there be an error that python2.7 or python3 is required when executing the terminal, but the system obviously has python 2.7? This article explains how I fixed this issue.

linux,config

Ubuntu ppp0 renamed eth0

Not sure who will use it, but I encountered it myself, because my home is a floating IP. A software I installed cannot detect that the ppp0 network card is an external network, so changing the name can trick him into successfully installing it.

linux,system,config

Fix the problem that CentOS6.x can no longer be updated

There may still be some old programs in some places, which can only run the old system. But you want to be able to execute and install some desired packages, you may try this method. Please note that if this system is important to you, please evaluate it yourself. It is recommended that you have a Docker environment and have a backup image before trying it.