PicView icon indicating copy to clipboard operation
PicView copied to clipboard

Add translations

Open Ruben2776 opened this issue 4 years ago • 2 comments

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.

Ruben2776 avatar Jun 16 '20 19:06 Ruben2776

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

Crystal-RainSlide avatar Oct 09 '20 11:10 Crystal-RainSlide

It should be zh_CN then :)

Ruben2776 avatar Oct 09 '20 12:10 Ruben2776