switch strings.json and tutorials.json to i18next JSON format
Right now, _data/strings.json and _data/tutorials.json use a custom JSON file format with a custom format string method using square brackets: [latest_version]
. This should use a standard JSON format with standard format strings so that Weblate automatically enables its checks on it. i18next seems close to our format, and already supported by Weblate.
- convert _data/strings.json and _data/tutorials.json to a flat dict, remove nesting.
- convert
[latest_version]
to{{latest_version}}
- change all HTML Jekyll layouts to use the new string keys
- convert the translation files to use the new string keys
- remove custom tools/check-format-string.py checker
Edited by Hans-Christoph Steiner