netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Client UI Multiple language support

Open Yxnt opened this issue 1 year ago • 2 comments

Describe your changes

  1. Add client-side multilingual support(MacOS&Windows)
  2. Automatically adapt multilingualism according to the file mapping rules provided by Windows.

Windows CleanShot 2024-06-25 at 12 55 38

MacOS image image

Issue ticket number and link

#1937

Checklist

  • [x] Is it a bug fix
  • [ ] Is a typo/documentation fix
  • [ ] Is a feature enhancement
  • [ ] It is a refactor
  • [ ] Created tests that fail without the change (if possible)
  • [ ] Extended the README / documentation, if necessary

Yxnt avatar Jun 25 '24 04:06 Yxnt

Hello @Yxnt,

Thank you for your contribution. This works fine on macOS, but still facing the same issue on Windows. Do I need to install these fonts on Windows for it to work?

image

bcmmbaga avatar Jun 27 '24 15:06 bcmmbaga

Hello @Yxnt,

Thank you for your contribution. This works fine on macOS, but still facing the same issue on Windows. Do I need to install these fonts on Windows for it to work?

image

@bcmmbaga It is not necessary to install the font files, Perhaps I may know what the reason is, the way I modified it is to get the default language of the current Windows and call the font file of that language, if it is an English operating system then it does not support Chinese, because the font file of each language of Windows is different. My modification may be more suitable for users who can't configure other languages, i.e. Chinese users input Chinese, Japanese users input Japanese (not applicable to Chinese users input Japanese/Korean/Thai).

Yxnt avatar Jun 28 '24 02:06 Yxnt