AgilePoint JSON Template

Lets you set the locale and label text for the fields of an activity.

In a configuration page all the label text can be localized to support different languages. This can be done with the AgilePoint json file. In the AgilePoint json file, you must give the "data-i18n" ID of control and shows the localized text against it. The control text must be set to the language based on the language set in your profile. Each language has its own JSON localization file. Each file name must be like [FileName].[Locale].json. You must organize each locale file in a separate locale named folder for each language below the Locale folder.

How to Start

  1. Create a new project in AgilePoint NX Developer.
  2. In the project folder Design Time>WebUI>Locale, right-click the language folder to create the project item.
  3. In the item menu, click Add>New Item.
  4. On the Add New Item screen, in the left pane of Visual C# menu list, select AgilePoint.
  5. Select AgilePoint json.
  6. In the Name field, enter the name for the AgilePoint JSON project item.
  7. Click Add.
  8. On the Select Activity Language Group screen, in the Language list, select a language for your activityEnglish in this example.
  9. Open the JSON file as necessary.

JSON Response Body Example

The AgilePoint JSON shows the localized label text in a JSON format. This syntax shows the localized content.

Note: This JSON code example includes comments to help explain the purpose of the code snippets. However, comments are not supported by the JSON standard, or the JSON parser within the AgilePoint NX software. You must delete these comments before you use this code in AgilePoint NX.

Format:

// The ID of data-i18n is defined in HTML file.
{ "[data-i18n  ID of a control]" : "[Localized content to display in the control]"
  "[data-i18n  ID of a control]" : "[Localized content to display in the control]"
}

Example:

{
  "PageTitle": "サンプル見出し",
  "TextBox": "名",
}