mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-13 07:03:24 -05:00
MaixCDK i18n demo
Usage
- coding like main.cpp, use
trfunction to call the string you want to translate. - Execute
maixtool i18n -d . -rin project dir to generate translation files, they will be inlocalesdir, all areyamlfile, the locale name can be found in here or wikipedia, all letters use lower case. - Translate files.
- Compile and you will get binary files in dist dir, copy them to board and run.