kowal.info

Language Flags Hyvä

Product page

Language Flags — kowal.co

Description

Add flags and language names to the Hyvä store-view switcher and display the same choices in a CMS widget.

For whom

For multilingual stores offering a choice of store views, websites or external language destinations.

Features

  • Replace the template of the existing language switcher.
  • Show choices inline or in a keyboard-accessible dropdown.
  • Submit a store-view change through Hyvä with Magento’s destination and current form key.

Installation

This component is included in Language Flags. Follow the module installation instructions. Enable the base module and its adapter, then apply the release:

bin/magento module:enable Kowal_LanguageFlags Kowal_LanguageFlagsHyva
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Under Stores → Configuration → Kowal → Language Flags, enable the module and assign flag images to the intended store-view codes.
  2. For the Hyvä view, enable Hyva Compatibility. Turn on Replace Native Store View Switcher if the existing switcher should display the flags.

Requirements / notes

Store-view switching uses hyva.postForm and requires JavaScript and Hyvä 1.2.4 or later. Website and custom URL entries use ordinary links.

FAQ

Why do flags appear in the widget but not in the theme switcher?

Check the native replacement setting and confirm the theme renders the store_language block or the standard Magento language-switcher template.

Verify the installation

bin/magento module:status Kowal_LanguageFlagsHyva

On a product available in two views, select the other language and check the destination and active language. Reopen the dropdown with the keyboard and press Escape to close it.