MyShiLingStar / ACNHPokerCore

Animal Crossing New Horizons Item Spawning Tool
https://myshilingstar.github.io/GetAzure/
BSD 2-Clause "Simplified" License
59 stars 8 forks source link

About interface text localization #51

Closed z1006670445 closed 1 year ago

z1006670445 commented 1 year ago

I want to change some labels and button titles displayed in the program into Chinese. Is there a better way? Or can I only change one interface by one through C #? Is it feasible to put the language pack in the specified location?

z1006670445 commented 1 year ago

Or we can use the resx provided by C #

image

MyShiLingStar commented 1 year ago

The easiest way to do this is indeed using the resx file.

  1. Make the form "Localizable".
  2. Change to the language you want to localize.
  3. Edit the text.
  4. Check the code and see if it changes the text.
  5. Edit the code to handle the localization change.

4 and 5 might be complex in some cases. You can try doing 1 - 3 first, which should cover most of the text.

tuanzi11 commented 1 year ago

怎么做到本地化中文界面🥹