Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6322

Update Table of Contents values with locale change in UIO

    Details

    • Type: Task
    • Status: Pull Request
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI Options

      Description

      When the locale is changed in UIO, the Table of Contents header and template values are not currently updated. These should also be reloaded and re-rendered, if applicable.

      Previous hacky code from the uioMultilingualDemo grade of the Storytelling Tool:

      var tocHeaders = {
          "en": "Table of Contents",
          "es": "Tabla de contenido"
      };
      
      // Set the Toc Header String
      uioComponent.options.multilingualSettings.tocHeader = tocHeaders[uioComponent.model.locale];
      
      // Set the language on the body
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gmoss Gregor Moss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: