Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI language #4

Open
zpengcom opened this issue Jun 14, 2019 · 19 comments
Open

UI language #4

zpengcom opened this issue Jun 14, 2019 · 19 comments
Labels
help wanted Extra attention is needed

Comments

@zpengcom
Copy link

批注 2019-06-15 011247
no Chinese? The font family does not have enough fonts to display multiple languages.

@zpengcom
Copy link
Author

Can increase the source han sans font?
https://github.com/adobe-fonts/source-han-sans

@romancin
Copy link
Owner

Hi! On that link It says the latest release is about 2GB... That is too much for embedding in a docker image. Maybe It is posible to include only the most common font with chinese support?

@zpengcom
Copy link
Author

zpengcom commented Jul 9, 2019

No..2G is full of open source content.
Just pick a font, This font can be used to display Chinese simple, Chinese traditional, Japanese and Korean。
微信截图_20190709104440

https://github.com/adobe-fonts/source-han-sans/tree/release/

sorry my English.

@zpengcom
Copy link
Author

zpengcom commented Jul 9, 2019

If you only need one language, you can download Region-specific Subset OTFs;
Chinese simple: SourceHanSansCN-Normal.otf 8.26 MB (8,663,040 字节)

@rocdeng
Copy link

rocdeng commented Oct 8, 2019

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

@romancin romancin added the help wanted Extra attention is needed label Jan 15, 2020
@romancin
Copy link
Owner

I don't know how to test this. Leave the issue opened so any chinese user can help me integrating and testing this. PR will be accepted for this issue.

@blackkeai
Copy link

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

我安装了思源黑,也成功了,还是中文不显示。

@leverule
Copy link

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

感谢,我用文件夹映射复制了字体文件,设置新字体后显示正常。但是发现无法在GUI界面下中文输入,正在解决2333

@blackkeai
Copy link

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

感谢,我用文件夹映射复制了字体文件,设置新字体后显示正常。但是发现无法在GUI界面下中文输入,正在解决2333

输入不了中文,你解决了吗?

@blackkeai
Copy link

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

感谢,我用文件夹映射复制了字体文件,设置新字体后显示正常。但是发现无法在GUI界面下中文输入,正在解决2333

也无法复制进去东西

@shawnzhou1120
Copy link

可以自己安装一个中文字体进去,参考下面两个
https://www.jianshu.com/p/3fe21f3730b1
https://blog.csdn.net/ZZY1078689276/article/details/77389177
我安装了思源黑的繁体中文,显示没问题了。

我安装了思源黑,也成功了,还是中文不显示。

根据上面的教程成功了。安装完后要重启一下docker。

不过请教一下大家,有没有办法让tmm自动刮削监控的文件夹?即文件夹增加了新文件,tmm就自动去刮削新文件?

@zhangyantsing
Copy link

中文无法输入也无法粘贴,用右上角的粘贴板会乱码,有办法解决吗?

@ileodo
Copy link

ileodo commented Apr 19, 2020

Thanks for the amazing work @romancin. I just did some experiments, font-noto-cjk seems supports the CJK charset better (especially Korean based on my test).

Do you think we can add it to the pkg list in the Dockerfile?

or we should push the change into https://www.google.com/search?client=safari&rls=en&q=jlesage/baseimage-gui&ie=UTF-8&oe=UTF-8

@tanpengsccd
Copy link

U can map the fonts from the Host like this:

docker run -d --name=tinymediamanager \
-v /volume3/SSD/tinymediamanager/config:/config \
-v /volume3/SSD/fonts:/usr/share/fonts/chinese \
-v /volume5/TV_Lib:/media/TV_Lib \
-e GROUP_ID=0 -e USER_ID=0 \
-p 5800:5800 \
-p 5900:5900 \
romancin/tinymediamanager:latest

I download xxx.ttf file frome https://www.freechinesefont.com/ to /volume3/SSD/fonts ,
then restart docker .

@dzhuang
Copy link

dzhuang commented Nov 5, 2021

You can use my fork for Simplified Chinese:
docker pull dzhuang/tinymediamanager

@ileodo
Copy link

ileodo commented Jan 11, 2022

don't think this is still an issue. maybe it can be closed?

@Toretto5060
Copy link

Toretto5060 commented Jul 29, 2022

U can map the fonts from the Host like this:

docker run -d --name=tinymediamanager \
-v /volume3/SSD/tinymediamanager/config:/config \
-v /volume3/SSD/fonts:/usr/share/fonts/chinese \
-v /volume5/TV_Lib:/media/TV_Lib \
-e GROUP_ID=0 -e USER_ID=0 \
-p 5800:5800 \
-p 5900:5900 \
romancin/tinymediamanager:latest

I download xxx.ttf file frome https://www.freechinesefont.com/ to /volume3/SSD/fonts , then restart docker .

感谢 正解

@TITC
Copy link

TITC commented Dec 13, 2023

U can map the fonts from the Host like this:

docker run -d --name=tinymediamanager \
-v /volume3/SSD/tinymediamanager/config:/config \
-v /volume3/SSD/fonts:/usr/share/fonts/chinese \
-v /volume5/TV_Lib:/media/TV_Lib \
-e GROUP_ID=0 -e USER_ID=0 \
-p 5800:5800 \
-p 5900:5900 \
romancin/tinymediamanager:latest

I download xxx.ttf file frome https://www.freechinesefont.com/ to /volume3/SSD/fonts , then restart docker .

这种解决方案仍然无法输入中文

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

13 participants