sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
12 stars 14 forks source link

Support for Localization #4

Closed sh977218 closed 3 years ago

sh977218 commented 4 years ago

Hi, Does WIM support languages other than English? Like Korean, Japanese or Chinese.

sh977218 commented 4 years ago

If the game client is in English, you can't see Chinese typing in VIM. But if you switch game client to Chinese, it works. Is this intended to do?

MysticalOS commented 4 years ago

That's not a limitation of WIM but of font you are using. you have to be using a font that supports chinese characters. I think wim lets you change font, not sure. it chooses the default font based on what default font client is using, and when set to english that'd be the non unicode english font. This is something I've not had to deal with really so I haven't played with it at all.

sh977218 commented 4 years ago

@MysticalOS Thanks for the information. Is there anyway to change WIM's unicode?

sh977218 commented 4 years ago

I tried to change fonts, but it didn't work. I don't think the problem is related to font. I'm able to see the correct Chinese character in history view, Chat View, Text View, BBCode and HTML. But I'm not able to see the correct character in the chat window...

Pazza commented 4 years ago

Trying toggling through different fonts in WIM's settings. I'm sure its because you are using a font that doesn't support the characters. We don't do any special manipulation besides allowing you to select which one is assigned to scrolling chat frame widget.

sh977218 commented 4 years ago

I've tried all the fonts in settings, none of them works. When I check the game client to be Chinese, WIM doesn't have fonts selection options. Is changing fonts only available in English?

Pazza commented 4 years ago

WIM offers fonts found in SharedMediaLibrary. If a font isn't listed, it hasn't been registered to the library. WIM itself doesn't register fonts I believe. If no fonts are found, it falls back to the game client's default chat font.

zhaodadi commented 4 years ago

yeah, i can send Chinese message to others but not able to receive Chinese characters.

zhaodadi commented 4 years ago

i can confirm by changing to a font that supports Chinese worked. Here is a link to a font i used for testing

https://github.com/nowar-fonts/Nowar-Sans

Pazza commented 3 years ago

Considering this not to be a bug.