From cd97bccda39e96b7f3e43bb49fd24cd989c8675f Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 27 Sep 2024 12:00:43 +0100 Subject: [PATCH] update readme --- lang/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/README.md b/lang/README.md index fcab3a58bb..e3d9bbd3d4 100644 --- a/lang/README.md +++ b/lang/README.md @@ -5,6 +5,8 @@ Any apps which have Strings in which are prefixed with `/*LANG*/` will be scanne language is set in the app loader the string will be replaced with a translation from the JSON in this directory. +See https://www.espruino.com/Bangle.js+Locale#app-translations for more information. + JSON in `unicode-based` contains characters that can't be rendered by the default font in Bangle.js. The `language_render.js` tool (below) renders the text to bitmaps and then writes them into the corresponding JSON file in this directory, so that the bitmaps (rather than @@ -12,5 +14,5 @@ just text) are included in apps instead. Check out https://github.com/espruino/EspruinoAppLoaderCore/tree/master/tools (available in `core/tools` in this repo) -* `language_scan.js` - scan for unhandled `/*LANG*/` strings and automatically translate them -* `language_render.js` - renders the JSON translations in the `unicode-based` folder to bitmaps, and writes them into the corresponding JSON file in this directory (see above) +* `../core/tools/language_scan.js` - scan for unhandled `/*LANG*/` strings and automatically translate them +* `../core/tools/language_render.js` - renders the JSON translations in the `unicode-based` folder to bitmaps, and writes them into the corresponding JSON file in this directory (see above)