Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2427

Missing dialog-specific i18n keys for fields

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Thanks to rkovarik for unearthing the syntax:

      Looks like this was lost in translation 6.1 docu[<module>.]<dialogPath>.[<tab>.]<field>[.label]{}

      * We have only one validator example indeed hinting at that syntax.

      • We also don't document the <dialogPath> tokenization
        • First get the dialog "relative path" from the dialog ID or file:
          • relative path starts under the dialogs directory in your light-module, and includes file name, but without the YAML extension. e.g. /travel-demo/dialogs/pages/main.yaml
          • OR check dialog ID in definitions app and trim the module name, e.g. travel-demo:pages/main
        • Then replace slash characters with dots (tokenization of path segments) => dialogPath = pages.main

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin Drápela
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: