Partager via


Project and Hardware-specific File Localization (Windows CE 5.0)

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:

  1. Add the names of the files that require localization, excluding the file extension .dll, .cpl, or .exe.
  2. 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.

  3. 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.

See Also

Binary Resource Files

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.