aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-07-27 11:51:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-08-18 09:49:17 +0200
commit4a5197ed48b22a24c5e150b9308ee4c149bec89e (patch)
tree92dd59fa06cf18b0aa0a3ac0193637dc2606e6e9 /README.md
parenttunnel: use conn.BindSocketToInterface type (diff)
downloadwireguard-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.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6bda7f1e..67e4f6d6 100644
--- a/README.md
+++ b/README.md
@@ -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: