SetApplicationCulture(IConfigurator, CultureInfo) Method
Sets the culture for the application.
public static IConfigurator SetApplicationCulture(this IConfigurator configurator, CultureInfo culture)
- Namespace
- Spectre
.Console .Cli - Containing Type
- Configurator
Extensions
Remarks
Text displayed by
HelpProvider
can be localised, but defaults to English.
Setting the application culture informs the resource manager which culture to use when fetching strings.
English will be used when a culture has not been specified
or a string has not been localised for the specified culture.
Parameters
- IConfigurator configurator
- The configurator.
- CultureInfo culture
- The culture.