Project and Hardware-specific File Localization (Windows Embedded CE 6.0)
1/6/2010
In addition to localizing .res and .str files provided by the OS, you can add project-specific or hardware-specific files that require localization during the Makeimg.exe phase. During the Makeimg.exe phase, Platform Builder enumerates all .loc files in order to localize the OS. The Enterprise Web Pad design template that is included with Platform Builder is an example of a localized OS design.
When you create a Project.loc or Platform.loc file, you need to do the following:
- Add the names of the files that require localization, excluding the file extension .dll, .cpl, or .exe.
- Add the corresponding .res files to the correct locale directory in either:
- %_WINCEROOT%\Platform\MyOSDesign\Target\CPU\CE\{Release or Debug}\Locale for hardware-specific files.
-or- - %_WINCEROOT%\Public\MyProject\Oak\Target\CPU\Ce\{Release or Debug}\Locale for project-specific files.
- %_WINCEROOT%\Platform\MyOSDesign\Target\CPU\CE\{Release or Debug}\Locale for hardware-specific files.
- Verify that the prefix for the .res file matches the module that Platform Builder will be localizing.
Note
Msim.dll supports all locales that are based on the 1252 code page. However, during the build process the U.S. resources of the msim module are not replaced. To have these resources localized, add the msim module to Project.loc.