umami/lang/README.md
Kipras Melnikovas ecc4e0b889 create README for lang/ - how to update translations
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
2023-01-06 05:10:37 +02:00

523 B

how to update

  1. find missing keys:
MINE=<your-lang>.json
BASE=en-US.json

jq 'keys' < $BASE > base
jq 'keys' < $MINE > mine

diff -c2 base mine
# will print missing keys.
# add them to $MINE
  1. for each key, search in your editor where it is used, and additionally visit the live demo website, to better understand the usage context.

  2. translate. though, if you don't fully understand the context of how a translation is used, note this in the PR review.