romancin / tinymediamanager-docker

A repository for creating a docker container including TinyMediaManager with GUI interface.
205 stars 69 forks source link

UI language #4

Open zpengcom opened 5 years ago

zpengcom commented 5 years ago

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

zpengcom commented 5 years ago

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

romancin commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 4 years ago

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

romancin commented 4 years ago

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 commented 4 years ago

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

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

leverule commented 4 years ago

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

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

blackkeai commented 4 years ago

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

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

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

blackkeai commented 4 years ago

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

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

也无法复制进去东西

shawnzhou1120 commented 4 years ago

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

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

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

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

zhangyantsing commented 4 years ago

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

ileodo commented 4 years ago

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 commented 3 years ago

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 commented 2 years ago

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

ileodo commented 2 years ago

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

Toretto5060 commented 2 years ago

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 commented 9 months ago

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 .

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