Flag icons
Last updated
Last updated
© 2024 by ThemeWare® | Made with 💙 by TC-Innovations GmbH
Shopware removed the flag icons of the language selection some time ago, except for DE and EN. These are currently provided via the "Shopware Language Pack" extension.
With ThemeWare® 2.0.5 and higher, flag icons for the language selection are also a standard part of ThemeWare®. This means that you can also use the flag icons without the language pack extension.
You can easily activate the flag symbols in the ThemeWare® configuration.
Configuration: Tab "Header" => Block "Top bar" => Section "Language menu"
Note: Depending on how detailed a flag is, it is generated by CSS or loaded as an SVG via CSS. This means that you won't find any image files of the flags in ThemeWare®.
Shopware uses "country flags" for the language menu. This means that the choice of flag symbol is based on the corresponding country and not on the corresponding language.
With the ISO code de-CH
, the flag of Switzerland is displayed and not the flag for German.
This can be a disadvantage if, for example, the language with the ISO code it-CH
is used at the same time. In this case, the flag of Switzerland would also be displayed instead of the flag for Italian.
In ThemeWare® we have added country and language flags, so you are free to choose which method you want to use.
The flag depends on the country. For the ISO code de-CH
, the flag of Switzerland is displayed.
The flag depends on the language. For the ISO code de-CH
, the flag for German is displayed.
There are two sets of flags available:
Flag icons
Resource-efficient CSS or small SVG graphics.
Flags: Austria, Belgium, Bosnia and Herzegovina, Bulgaria, China, Czech Republic, Denmark, Estonia, Finland, France, Greece, Hungary, Indonesia, Ireland, Italy, Japan, Latvia, Lithuania, Luxembourg, Moldova, The Netherlands, Norway, Poland, Romania, Russia, Spain, Sweden, Switzerland, Turkey, Ukraine
Extended flag icons
These are quite complex flags and quite large SVG graphics.
Flags: Albania, Belarus, Croatia, Iceland, India, Kazakhstan, Macedonia, Malta, Portugal, Republic of Korea, Serbia, Slovakia, Slovenia, United States, Vietnam
Tip: If you only want to use one or two of these flags, we recommend that you include them manually to save resources. You will soon find more information about this in the Knowledge Base.
inspired by: dhanishgajjar / css-flags and lipis / flag-icons