Metadata
- Source
- FLUID-6322
- Type
- Task
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Gregor Moss
- Created
2018-08-17T15:48:21.672-0400 - Updated
2024-07-22T10:35:19.912-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- 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
Comments
-
Gregor Moss commented
2018-12-05T16:02:26.683-0500 Consider where to store the localized values. These may not necessarily be best stored in the same file as the panel messages.