Skip to content

net472_PropertyGridHelpers.Support_Support_SetLanguage

dparvin edited this page Jul 5, 2025 · 11 revisions

Support.SetLanguage method

Sets the current thread's culture and UI culture to the specified language identifier.

public static void SetLanguage(string language)
parameter description
language The language code (e.g., "en-US", "fr-FR", "de-DE") to apply to CurrentCulture and CurrentUICulture.

Remarks

This method is intended primarily for testing and debugging localization or globalization scenarios, allowing the current thread to simulate running under a specific culture.

See Also

Clone this wiki locally