When an application uses language subdirectories for localized resource files, the resource files created for each language must all have the same file name. In the embedded file system (EFS), they must be stored in directories that use the language code for the directory name. When creating directories using language codes, omit any trailing spaces.
Applications can use the AEE_RES_LANGDIR macro and the filename when calling ISHELL_LoadResXX() functions to load resources. AEE_RES_LANGDIR is defined in
Applications should have default language resources in case no resources for a language are available on the device. Resources for the default language reside in the application directory instead of a subdirectory and the resource file names do not contain a language suffix.
For example, if an application is developed for English, Spanish, and French with English as the default language, resource files should be stored in the corresponding language directories as follows:
sample.barfile contains resources for the English language.
icons.barfile contains resources for the English language.
es/sample.barfile contains the Spanish resources.
es/icons.barfile contains the Spanish icon resources.
fr/sample.barfile contains the French resources.
fr/icons.barfile contains the French icon resources.