In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to change the default language of the system in Ubuntu. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
1. Under the graphical interface
1. In the system menu, point to system Management with the mouse, and click language support. The program automatically detects the integrity of language support, and prompts you to install them if the installation is incomplete or if there are updates to the installed language pack.
two。 Click install to continue. When the upgrade is complete, the language dialog box pops up. Click install or remove languages.
3. The language required by the tag. You can also install only a component of a language, such as a font, and just select / uncheck the corresponding check box below the list box.
4. Click apply changes and you will be prompted for the current user password. Then Ubuntu automatically downloads and installs the required packages. After the installation is complete, the newly installed language will appear in the drop-down list of the language dialog box.
5. Select the language for the current user and the login interface in the language and text tags, respectively. To apply to the entire system, click apply to the entire system.
6. Log out and log back in for the changes to take effect.
Tips:
You can change your language settings as much as you like, perhaps depending on the region you are in. For example, when it comes to showing products to Russian customers, changing the language to Russian is a good embellishment.
2. Under the command line
View the current system locale
The code is as follows:
# locale
LANG=en_US.UTF-8
LC_CTYPE= "en_US.UTF-8"
LC_NUMERIC= "en_US.UTF-8"
LC_TIME= "en_US.UTF-8"
LC_COLLATE= "en_US.UTF-8"
LC_MONETARY= "en_US.UTF-8"
LC_MESSAGES= "en_US.UTF-8"
LC_PAPER= "en_US.UTF-8"
LC_NAME= "en_US.UTF-8"
LC_ADDRESS= "en_US.UTF-8"
LC_TELEPHONE= "en_US.UTF-8"
LC_MEASUREMENT= "en_US.UTF-8"
LC_IDENTIFICATION= "en_US.UTF-8"
LC_ALL=
Change the locale
Now you need to change en_US.UTF-8 to zh_US.UTF-8,en to cn. Edit the configuration file as follows:
The code is as follows:
$sudo vi / etc/default/locale
LANG= "zh_CN.UTF-8"
LANGUAGE= "zh_CN:zh"
LC_ALL= "zh_CN.UTF-8"
Perform locale check after saving. If the following error is reported: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory description is not installed
View the locale installed on the system
The code is as follows:
$locale-a
Install locale
The code is as follows:
# locale-gen zh_CN.UTF-8
View:
# locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
LC_CTYPE= "zh_CN.UTF-8"
LC_NUMERIC= "zh_CN.UTF-8"
LC_TIME= "zh_CN.UTF-8"
LC_COLLATE= "zh_CN.UTF-8"
LC_MONETARY= "zh_CN.UTF-8"
LC_MESSAGES= "zh_CN.UTF-8"
LC_PAPER= "zh_CN.UTF-8"
LC_NAME= "zh_CN.UTF-8"
LC_ADDRESS= "zh_CN.UTF-8"
LC_TELEPHONE= "zh_CN.UTF-8"
LC_MEASUREMENT= "zh_CN.UTF-8"
LC_IDENTIFICATION= "zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8
After reading the above, do you have any further understanding of how to change the system default language in Ubuntu? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.