diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-07-27 11:51:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-18 09:49:17 +0200 |
commit | 4a5197ed48b22a24c5e150b9308ee4c149bec89e (patch) | |
tree | 92dd59fa06cf18b0aa0a3ac0193637dc2606e6e9 /README.md | |
parent | tunnel: use conn.BindSocketToInterface type (diff) | |
download | wireguard-windows-4a5197ed48b22a24c5e150b9308ee4c149bec89e.tar.xz wireguard-windows-4a5197ed48b22a24c5e150b9308ee4c149bec89e.zip |
locale: sync translations and rework enumeration
We now enumerate directories in locale/ and rename them if Crowdin is
giving us a different language code.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -30,7 +30,11 @@ To translate WireGuard UI to your language: 1. Upgrade `resources.rc` accordingly. Follow the pattern. -2. Add your language ID to the `//go:generate ... -lang=en,<langID>...` line in `gotext.go`. +2. Make a new directory in `locales\` containing the language ID: + + ``` + C:\Projects\wireguard-windows> mkdir locales\<langID> + ``` 3. Configure and run `build` to prepare initial `locales\<langID>\messages.gotext.json` file: |