mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-11-09 17:04:38 -06:00
570 B
570 B
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.