Internationalization (i18n)
Our UI Framework supports multi-language (i18n) capabilities for delivering localized experiences. **RTL (Right-to-Left)** support is not yet implemented but is planned for future releases.
Supported Languages and Flag Icon Class Reference
The framework currently supports the following languages. Use these classes to display country flags in dropdowns, menus, and UI elements:
| Country | Native Name | Language Code | Class Name | Preview |
|---|---|---|---|---|
| Austria | Österreich | de-AT | fo-flag-at |
|
| Belarus | Беларусь | be | fo-flag-by |
|
| Bulgaria | България | bg | fo-flag-bg |
|
| Czech Republic | Česko | cs | fo-flag-cz |
|
| Denmark | Danmark | da | fo-flag-dk |
|
| Estonia | Eesti | et | fo-flag-ee |
|
| France | France | fr | fo-flag-fr |
|
| Germany | Deutschland | de | fo-flag-de |
|
| Hungary | Magyarország | hu | fo-flag-hu |
|
| Italy | Italia | it | fo-flag-it |
|
| Latvia | Latvija | lv | fo-flag-lv |
|
| Lithuania | Lietuva | lt | fo-flag-lt |
|
| Netherlands | Nederland | nl | fo-flag-nl |
|
| Poland | Polska | pl | fo-flag-pl |
|
| Portugal | Portugal | pt | fo-flag-pt |
|
| Romania | România | ro | fo-flag-ro |
|
| Russia | Россия | ru | fo-flag-ru |
|
| Slovakia | Slovensko | sk | fo-flag-sk |
|
| Slovenia | Slovenija | sl | fo-flag-si |
|
| Spain | España | es | fo-flag-es |
|
| Turkey | Türkiye | tr | fo-flag-tr |
|
| Ukraine | Україна | uk | fo-flag-ua |
|
| United Kingdom | United Kingdom | en-GB | fo-flag-gb |
Language Selector (Example)
This is an example of the language dropdown with flag icons:
Translation File Example
Key: welcome.message
EN: Welcome
TR: Hoş Geldiniz
ES: Bienvenido
Date & Number Formatting
Localization also applies to dates and numeric formats:
English (US): July 29, 2025 → 1,234.56
Turkish (TR): 29 Temmuz 2025 → 1.234,56
German (DE): 29. Juli 2025 → 1.234,56
Future RTL Support
RTL languages (Arabic, Hebrew) will be supported in future updates by mirroring layouts, adjusting spacing utilities, and supporting RTL typography.