SandDance
SandDance copied to clipboard
i18n Support
Hi Team,
Does sanddance-explorer
package support i18n at the current state or it has to be handled separately?
Hello, it is not currently changeable at run time, but you can change the language files and recompile.
- sanddance explorer - https://github.com/microsoft/SandDance/blob/master/packages/sanddance-explorer/src/language.ts
- sanddance - https://github.com/microsoft/SandDance/blob/master/packages/sanddance/src/defaults.ts
SandDance language can be set programmatically through the language
property of ViewerOptions:
https://microsoft.github.io/SandDance/docs/sanddance/v4/interfaces/types.ViewerOptions.html#language
SandDance-Explorer does not expose this currently. Is there a specific implementation of i18n that you would like to use?