aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-08-22 18:00:08 -0400
committersecondl1ght <[email protected]>2022-08-22 18:00:08 -0400
commit2fb9d3dfe285ad1014539fc9282a83a15eda7396 (patch)
treef1b4e5b8b74b941a5d3d9781bb6b3c18a7c4ad98 /doc
parent1df70d0549ad73e1c89e54a0374e19e0ee20641e (diff)
parent0fc4f16d1d41bb9b3fe3f1c09ab3ac711501bf01 (diff)
downloadcoinos-ui-2fb9d3dfe285ad1014539fc9282a83a15eda7396.tar.gz
coinos-ui-2fb9d3dfe285ad1014539fc9282a83a15eda7396.zip
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'doc')
-rw-r--r--doc/i18n-technical.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/i18n-technical.md b/doc/i18n-technical.md
index 6c45ee01..c1746162 100644
--- a/doc/i18n-technical.md
+++ b/doc/i18n-technical.md
@@ -45,3 +45,9 @@ Strings are internationalized by simply using `svelte-i18n`'s [`$format`](https:
## The Locale Selector
CoinOS also has a `LocaleSelector` component, which should be used to select locales. It is a dropdown that allows you to select & update the locale.
+
+## The Guided Translation Script
+
+CoinOS has a Python script that helps you with the technical parts of translation. It is located at `src/locales/guided_translation.py`. It also has some utility functions:
+- `nested_dict_keys` - gets a list of keys of a nested dictionary in dot-separated shallow format (e.g. a.b.c)
+- `localize_string` - localizes a string interactively