Adding localization to a project

It is now possible to localize your mashups. This is done by adding localization files to the project and then using the mashup:Constant markup extension where you want the translation in the mashup. All languages loaded into Smart Office is available in the Add Localization context menu. The important part is that the key in the extension matches the entry name in the localization files.

  1. Open the project in Infor Mashup Designer.
  2. Select the Project Explorer tab.
  3. Right click the name of the project.
  4. Select Add Localization.
  5. Select a language that you want to create a localization.
  6. Under Localization, click the xml of the language you have created.
  7. Click Launch Externally.
  8. Modify the entries for MyHeader and MyText or add new ones.
  9. Click File > Save.
  10. Close the xml file. Open it again and verify the edited entries.

    To use this localization logic in your mashup, you can set the text or content attribute of an element to a markup extension.