Help Center

Local Navigation

Best practice: Storing text strings in resource files

Instead of using text in source code, design applications to use resource files for localization (adapt to specific languages and regions).

Consider the following guidelines:

  • Store the text strings for each locale in a single resource file.
  • In your source code, use unique identifiers to make use of the appropriate resource files.
  • Design the application to dynamically retrieve the appropriate resource file to display to the BlackBerry® device user based on the locale of the BlackBerry device user.

Index


Was this information helpful? Send us your comments.