Child pages
  • Internationalization

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To externalize a solution:

  1. Choose either of the two options: (a) Click on the Externalize Strings button on the toolbar or (b) go to Actions > Show Externalize Strings Dialog.
    The i18n externalize dialog box will open, showing the following three columns (from left to right):
    • The text property to be externalized
    • The hardcoded text that will become the default text
    • The i18n key name to be assigned to the property

  2. Customize/edit the keys by double-clicking on a desired key.
  3. Deselect any items that are not desired to be shown in the list, hence not externalized.
  4. Enter common prefix for generated keys, if desired. Click Apply for the prefix to be applied on the key values.
  5. Click Externalize. An externalize dialog will appear, showing the status of the externalize process. Once completed, this dialog disappears and all item properties will be converted to i18n keys.

...

To view and edit an i18n table:

  1. Choose either of the three options: (a) click on the Edit I18N Messages button on the toolbar or (b) go to Solution Explorer > Resources > I18N files or (c) go to Actions > Show I18N Dialog.
    In case of choosing (b) the Solution Explorer, either double click on the node itself or double click on the desired i18n file in the contextual list at the bottom of the Solution Explorer.
    The i18n table will be opened in Table Editor view.
  2. Along the top of this view is a filter that enables users to quickly find a i18n key. The next two items at the top are the Language and Country drop-downs. To edit an i18n key:
    1. Select the key and the language/country to be edited.
    2. Click on the desired i18n key from the list.
    3. Enter the reference text (which is the default language text) and the locale text appropriate to that language/country.
  3. To add a new i18n key:
    1. Type in a name for the new key in the Key text box.
    2. Enter the reference text and the locale text in their respective boxes.
    3. Click Add.

...