[LINUX] What to do if Japanese language support is not completely installed on Ubuntu 16.04

As of April 2020, most people are using Ubuntu 18.04 LTS, but there are still many software development environments that recommend Ubuntu 16.04 LTS. So, when I installed Ubuntu 16.04 on my PC the other day, the state immediately after installation was "incomplete Japanese support". Make a note of the steps to complete Japanese localization.

laptop-2434393_1920.jpg

This procedure is the operation method when using the GUI tool.

Setup steps

Package installation

--Open System Settings and click Language Support. --The message "The Language support is not installed completely" appears. --Click "Install". --Installation may require administrator privileges. Screenshot from 2020-04-19 11-37-00.png

--The package will be installed automatically. Screenshot from 2020-04-19 11-37-17.png

--Click the "Language Support" window after the installation is complete. --Drag and drop the Japanese of "Language for menus and windows" to the top. --Click "Apply System-Wide" to apply to the entire system --You will be asked for administrator privileges, so enter it to reflect it. Screenshot from 2020-04-19 11-39-22.png

Reboot

Reboot the system for the changes so far to take effect. You can log in and out, but if you log in and out at the same time for all users and background tasks, it will not be reflected later, so restart it.

Rename home directory

--After rebooting, you will be asked if you want to change your home directory name. --In Linux, if the directory name has Japanese, use English notation, which is troublesome to operate. --Here, check "Do not show again" and click "Keep old name". Screenshot from 2020-04-19 14-22-59.png

If it is confirmed in the directory with the Japanese name

You can change it to an English name with the following command. `LANG = C``` is the base language (English) that never changes in the system. You can translate your home directory name into English by running the directory name change tool `xdg-user-dirs-gtk-update``` as a set.

$ LANG=C xdg-user-dirs-gtk-update

Summary

It's not a big change, but if these things don't match, you'll lose a little time when doing remote work, saying "No such message" or "No such directory". I will summarize it carefully.

Recommended Posts

What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do when Japanese is not displayed on matplotlib
What to do if pyenv is not enabled (zsh)
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if pip cannot be installed
What to do if an SSL connection error (ssl.SSLError: [SSL: DH_KEY_TOO_SMALL]) occurs on Ubuntu 20.04
What to do if SciPy installation fails on CentOS
What to do if sys / cdefs.h does not exist
What to do if ubuntu says your password is too short to change [passwd command] [ubuntu]
What to do if the progress bar is not displayed in tqdm of python
What to do if `pip install matplotlib` fails on Mac
What to do if you can't use WiFi on Linux
What to do if pip install mysqlclient fails on MacOS
What to do if Jupyter Notebook on WSL does not start automatically in your browser
What to do if the image is not displayed using matplotlib etc. in the Docker container
What to do if yum breaks
What to do if Python doesn't work on Git for Windows
What to do if python says "fatal error:'stdio.h' file not found"
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if grep: empty (sub) expression appears on Mac grep
[virtualbox] What to do when [Could not retrieve mirrorlist] appears when yum update is performed on CentOS7
What to do if the user name is changed and the pyenv library path does not pass
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do if there is a decimal in python json .dumps
What to do if the Pipenv environment is corrupted by updating Homebrew
[Mac OS] What to do when Python is not installed as a framework. Is displayed when import matplotlib is performed.
What to do if you have installed PyCharm but shortcut keys such as `control + e` do not work
What to do if you forget your login password on Manjaro Linux
What to do if you get stuck during Anaconda installation on Linux
What to do if you get Could not fetch URL 443 with pip
Notes on what to do when matplotlib scatter () / scatter3d () does not work
What to do if you get an error when installing Dlib (Ubuntu)
What to do after installing Linux (Ubuntu)
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if you installed pyenv on Mac OS using Homebrew but the python version doesn't switch
What to do if you get angry with swapon failed: Operation not permitted
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if abort is displayed when inputting camera video in OpenCV
What to do if NotADirectoryError: [Errno 20] Not a directory:'xdg-settings' appears in jupyter notebook
[EC2] What to do when selenium is stuck and processing does not proceed
What to do if (base) is displayed at the beginning of the Mac terminal
What to do if you can't pipenv shell
Note: What to do if pip install fails
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do if Docker-sync suddenly stops working
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
[Python] Type Error:'WebElement' object is not iterable What to do when an error occurs
What to do when python3 type venv does not work well on Raspberry Pi
What to do when is not in the sudoers file.This incident will be reported.
What to do if the Microsoft Store opens even if you run python on Windows
What to do if you get `No kernel for language python found` in Hydrogen
What to do when "Type Error: must be _socket.socket, not socket" appears on GAE
What to do if you don't want to use Japanese column names when using ortoolpy.logistics_network
What to do if Python does not switch from the System version in pyenv
What to do if pip install fails in Xcode 5.1
What to do if you can't pip install mysqlclient
curl: (60) What to do when Issuer certificate is invalid.
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'