# Localization # Localization > We provide minimal localization for internal component keys needed for accessibility and user experience. The component library takes a minimal approach to localization. We only translate internal component keys that are essential for accessibility and user experience (like validation messages, navigation states, and UI feedback). All other content - such as labels, descriptions, and user-facing text - should be provided through component slots and props by the application itself. This approach keeps the library lightweight while giving applications full control over their content and translations. ## Supported Languages The following languages are supported out of the box: - English `en` - Finnish `fi` - Swedish `sv` - Norwegian `nn` & `nb` - Danish `da` The following languages are also included but their future is uncertain: `German`, `French`, `Dutch`, `Polish`, `Romanian`. ## Language Detection The system automatically detects the language in the following order: 1. HTML document's `lang` attribute 2. Browser's language setting 3. Fallback to 'en' (English) ## Setting Language You can set the language for all components by updating the document's `lang` attribute: ```html ``` Or programmatically: ```typescript document.documentElement.lang = "fi"; ``` Components will automatically update their translations when the document language changes.