fcwu / docker-ubuntu-vnc-desktop

A Docker image to provide web VNC interface to access Ubuntu LXDE/LxQT desktop environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language setting - how?

HarGit14 opened this issue · comments

Please help.
How can I change language setting to German?
The normal way via gnome-language-selector doesn´t work.

What is the error message?

I installed language-pack-de and language-selector-gnome and tried to change language via Desktop program
gnome-language-selector but it crashed on starting.
Now my solution/workaround is building a new image with your image as base and
with the commands
locale-gen de_DE.UTF-8
update-locale LANG=de_DE.UTF-8
it worked.
I assume rebooting a container ist different from rebooting a real system and changing language has to be done, when container is created the first time?
Now that I have a solution for me, I will close this issue.

Thanks @HarGit14 . I add this to README.md

找不到如何设置中文的按钮。如何办? README.md在哪?

中文也许可以参考😊
locale-gen zh_CN.UTF-8
update-locale LANG=zh_CN.UTF-8
update-locale LANGUAGE=zh_CN:en_US:en
update-locale LC_CTYPE="zh_CN.UTF-8"
update-locale LC_NUMERIC=zh_CN.UTF-8
update-locale LC_TIME=zh_CN.UTF-8
update-locale LC_COLLATE="zh_CN.UTF-8"
update-locale LC_MONETARY=zh_CN.UTF-8
update-locale LC_MESSAGES="zh_CN.UTF-8"
update-locale LC_PAPER=zh_CN.UTF-8
update-locale LC_NAME=zh_CN.UTF-8
update-locale LC_ADDRESS=zh_CN.UTF-8
update-locale LC_TELEPHONE=zh_CN.UTF-8
update-locale LC_MEASUREMENT=zh_CN.UTF-8
update-locale LC_IDENTIFICATION=zh_CN.UTF-8