getCulture()
Returns the current (user) culture preferences and/or locale defaults.
getCulture(): Record<string, any>;
Notes
- This method should return an object with culture-specific options, as used by e.g. localizable widgets. The exact properties of this object are intentionally application and platform specific. They may be initialized from defaults for the selected language and region, and extended with user preferences (to allow for e.g.
en-USlanguage with non-US date formatting). - The framework renderer itself may use at least the
textDirectionproperty, if present, to determine whether the current locale uses right-to-left script.
Related
interface DeferredString.I18nProvider static
An interface that provides functionality for translating and formatting strings.
