APP_LANG
Functions
-
ex_lang_t *app_lang_load_pack_list(const char *path)
Load multi-language list from flash, which dir is "path". This is only used in file_system.
- 参数:
path -- The directory of multi-language package bin.
- 返回值:
lang_list -- Pointer of multi-language list.
-
const char *app_lang_pack_iterator(uint32_t *i)
Traverse through all multilingual lists one by one, and return the names of each multi-language.
- 参数:
i -- Index, increase by 1 each time.
- 返回值:
name -- The name of each multi-language.
-
rt_err_t app_lang_install_pack(const char *path, const char *locale)
Install a language to memory, which file_name is "path/locale". This funciton only used to set current language.
- 参数:
path -- The directory of multi-language package bin.
The -- names of multi-language, which will be installed.
- 返回值:
install_result -- RT_EOK: normal; RT_ERR: abnormal.
-
rt_err_t app_lang_del_one_pack(const char *path, const char *lang_pack_name)
Delete a language from flash, which file_name is "path/locale" .
- 参数:
path -- The directory of multi-language package bin.
lang_pack_name -- The directory of multi-language package bin.
- 返回值:
delete_result -- RT_EOK: normal; RT_ERR: abnormal.
-
struct ex_lang_node_t