Ruben2776 / PicView

Fast, free and customizable image viewer for Windows 10 and 11.
https://picview.org
Other
995 stars 66 forks source link

Add translations #13

Open Ruben2776 opened 4 years ago

Ruben2776 commented 4 years ago

If you would like to translate PicView, please have a look at my guide:

  1. Make a fork of this repository
  2. Copy en.json from /Config/Languages and rename it to your two letter language code (wiki).
  3. Edit the left side values of the xx.json file to your language.
  4. Issue a pull request.

If you want to test it not required

  1. Open the project with the latest version of Visual Studio and have the latest .NET SDK installed.
  2. Add the two letter language code to the enum PicView.Core/Localization/Languages.cs.
  3. Start the app and change the language in the settings window F4.
Crystal-RainSlide commented 3 years ago

For xx-xx / xx_xx (zh-CN / zh_CN for example), should we use - or _?

Ruben2776 commented 3 years ago

It should be zh_CN then :)