diff options
| author | secondl1ght <[email protected]> | 2022-08-22 18:00:08 -0400 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-22 18:00:08 -0400 |
| commit | 1b802b478f187a9ab61bb455df0c3863595e906a (patch) | |
| tree | ecc8f9b0547bf53e9035cc37c76c85e558565c15 /doc | |
| parent | 2aa7156e12200798c45a53878dbcc37c77625752 (diff) | |
| parent | c80b37679f80a0d3947d3350ca793faca8f3aa31 (diff) | |
| download | coinos-ui-1b802b478f187a9ab61bb455df0c3863595e906a.tar.gz coinos-ui-1b802b478f187a9ab61bb455df0c3863595e906a.zip | |
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/i18n-technical.md | 6 |
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 |
