Created attachment 161211 [details] the font list failed to display locale name in Online version I found the issue on the online version. Steps: 1. the Linux is set chinse locale environment. 2. start the loolwsd serivce and the language is zh_CN 3. visite the website " http://localhost:9980/loleaflet/2f31fdfa3/loleaflet.html?file_path=file:///home/ubuntu/project/online/test/data/hello-world.odt" 4. the web ui's Font Selector faild to display the chinese font name, the detail is seen in the attachment. Expected: display the chinese name, such as the "SimSun", hope to the "宋体", Actual: display the english name I have run the LO desktop version, it's very well
Created attachment 161283 [details] Screenshot To be clear about the problem, it is the Font Style selector in the dialog, right? I'm asking because I see three red rectangles, and it's not obvious if anything is wrong with those (except that the font list in the editor doesn't show each font name with its own font, which is reported in bug 97015). Can you also give it a try with the following? http://localhost:9980/loleaflet/2f31fdfa3/loleaflet.html?file_path=file:///home/ubuntu/project/online/test/data/hello-world.odt&lang=zh-CN I don't have Chinese locale set up, so I can't check the exact same scenario, but with the correct 'lang' parameter appended, the Font Style selector doesn't show those obviously wrong characters.
Created attachment 161286 [details] the expected home see the font's locale name, same as in the desktop version
Comment on attachment 161211 [details] the font list failed to display locale name in Online version just display english name in the font selector, hope see the locale name
[Automated Action] NeedInfo-To-Unconfirmed
Created attachment 161287 [details] the actual result display the font's english name
(In reply to Aron Budea from comment #1) > Created attachment 161283 [details] > Screenshot > > To be clear about the problem, it is the Font Style selector in the dialog, > right? I'm asking because I see three red rectangles, and it's not obvious > if anything is wrong with those (except that the font list in the editor > doesn't show each font name with its own font, which is reported in bug > 97015). > > Can you also give it a try with the following? > http://localhost:9980/loleaflet/2f31fdfa3/loleaflet.html?file_path=file:/// > home/ubuntu/project/online/test/data/hello-world.odt&lang=zh-CN > > I don't have Chinese locale set up, so I can't check the exact same > scenario, but with the correct 'lang' parameter appended, the Font Style > selector doesn't show those obviously wrong characters. thanks your answser! i have tried append the parameter "lang=zh-CN", but the problem still was! i hope the correct scenario is :https://bugs.documentfoundation.org/attachment.cgi?id=161286. ok, I have deployed the new server, you can visit http://134.175.99.52:9980/loleaflet/2f31fdfa3/loleaflet.html?file_path=file:///opt/doc/test.doc&lang=zh-CN