Boxedwine icon indicating copy to clipboard operation
Boxedwine copied to clipboard

Will Multilingual Support (Including Japanese) Be Implemented?

Open xyx0no646 opened this issue 10 months ago • 2 comments

Thank you for this fascinating project.

I am trying to run a Japanese game engine(Kirikiri2) using this project. By adding some fonts and making some adjustments, It works well and fast enough to run on the web.

However, the context menu and window title appear garbled. While Japanese characters are displayed as ?, English characters are displayed correctly.

I have tried various approaches but haven't been able to determine the correct solution.

Questions:

  • Are there any plans to support multiple languages, including Japanese?
  • If multilingual support is not planned, could you provide hints on what I need to modify to resolve the garbled text issue?

Thank you in advance for your help!

Image

xyx0no646 avatar Feb 04 '25 03:02 xyx0no646

I tried to do a quick search and all I came up with is

https://stackoverflow.com/questions/71114503/how-to-display-japanese-characters-in-a-linux-wine-message-box-text

In winecfg, you can change the font that is used for different parts of the window. That sounds promising.

I don't have a good write up on adding things to the file system. But basically

  1. Run locally, like on Windows
  2. You can use the built in UI by launching Boxedwine with no arguments
  3. Create a new container and from the container tab, you can open the directory where things are stored by hitting the "open" button on the container storage location.
  4. Add you font somewhere in /root/ or maybe its already in your modified file system.
  5. Launch winecfg from the container tab by tapping the "Run App" button.
  6. After you hit ok to accept you changes from winecfg, you can copy all the files from /root back into the filesystem for the web. The important parts are probably the .wine registry and the font.

danoon2 avatar Feb 04 '25 04:02 danoon2

I quickly tried changing the UI font in winecfg and then ran Kirikiri2 (just tested on the web). It seems the UI font changed, but the garbled characters are still not fixed...

I'll try the other things you mentioned and report back soon. Thanks!

xyx0no646 avatar Feb 04 '25 04:02 xyx0no646