Override Dialog Text

Text elements can be overwritten by using custom nls files for individual apps or individual ETL tools.

In order to configure strings for all bundles, the app has to be configured to use a custom configuration in the app.json:

manifest.json
{
  "load": {
    "allowedBundles": [,"map",...],
    "i18n": ["bundle"],
  },
  ...
}

In the Manual Configuration you can create new files: nls/bundle.js and nls/de/bundle.js

Using the following text block, you can edit text placeholders:

manifest.json
define({
    root: ({
        "mapapps_etl": {
            ui: {
                wizard: {
                    title: "Title",
                    uploadExplanation: "Upload Explanation",
                    uploadExplanationFooter: "Upload Footer",
                    extentExplanation: "Extent Explanation",
                    noInputExplanation: "No Input Explanation",
                    mapFeaturesExplanation: "Map Features Explanation",
                    transformationFinished: "Transformation finished",
                    asynchronousProcess: "Async Process",
                    transformationNotSuccessfull: "Transformation not successfull",
                    errorExplanation: "Error explanation",
                    furtherInformation: "Further Information"
                }
            }
        }
    }),
    "de": true
});

title, uploadExplanation:

339391298

title, mapFeaturesExplanation:

339391304

transformationFinished, furtherInformation:

339391305

extentExplanation

339391306

transformationFinished, asynchronousProcess, furtherInformation

339391307

Change i18n within the app.json for individual ETL tools

This feature is available since map.apps ETL version 4.08

i18n values can also be configured for each bundle individually within the app.json text configuration or the Live Configuration.

An example configuration looks like this:

manifest.json
{
          "fmeServerConfig": {
            "fmeServerUrl": "https://<fme server url>",
            "workspaceName": "upload_to_map.fmw",
            "repositoryName": "mapapps_etl"
          },
          "fmeTool": {
            "inputs": [
              "upload"
            ],
            "output": "map"
          },
          "fmeParameterOpts": {
            "hiddenParameters": [],
            "mapappsParameters": {}
          },
          "title": "Generic Upload",
          "tooltip": "Generic Upload",
          "iconClass": "icon-upload",
          "id": "myEtlTool",
          "i18n": {
            "en": {
              "title": "Title - EN",
              "uploadExplanation": "Upload Explanation - EN",
              "uploadExplanationFooter": "Footer -EN"
            },
            "de": {
              "title": "Titel - DE",
              "uploadExplanation": "Upload Erklärung - DE",
              "uploadExplanationFooter": "Fußzeile - DE"
            }
          }
        }

 The same JSON fragment can also be used in the Live Configuration:

362687096