Skip to content

Commit ba44c16

Browse files
authored
Update 05+5-translation.md
Adding the need to edit the file `fw/application/src/app/settings/scene/settings_scene_language.c` because if you add, remove or modify language definitions this file also need to be edited
1 parent 746db43 commit ba44c16

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/en/05+5-translation.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ The script `font_data_gen.sh` only can be run in Git Bash windows in Windows.
1616
2. Run `fw/scripts/i18n_gen.py` to generate new language files.
1717
3. Optional: Run `fw/scripts/font_data_gen.sh` to generate new font data if you add new charaters in i18n.csv
1818
4. Edit `fw/application/src/i18n/language.h` and `fw/application/src/i18n/language.c` to adopt new language
19-
5. Edit Makefile to include `$(PROJ_DIR)/i18n/ja_JP.c` as C source files
20-
6. Run `make full` rebuild firmware
19+
5. Edit `fw/application/src/app/settings/scene/settings_scene_language.c` to adopt new language
20+
6. Edit Makefile to include `$(PROJ_DIR)/i18n/ja_JP.c` as C source files
21+
7. Run `make full` rebuild firmware
2122

2223
## Font notes
2324

2425
For release build (RELEASE=1), the firmware use wenquanyi_9pt_u8g2.bdf to display unicode characters. <br />
2526
Please check new language charater codepoint is included in wenquanyi_9pt_u8g2.bdf or not.<br />
26-
If not, I am not recommended to support the new language due to the MCU internal flash restrction.
27+
If not, I am not recommended to support the new language due to the MCU internal flash restrction.

0 commit comments

Comments
 (0)