Language packs are already available for Hyvä in a number of languages. You can install them with Composer as usual. Find the available languages at https://docs.hyva.io/hyva-themes/building-your-theme/localization.html; more are being added over time.
At the time of writing, Hyvä for Magento 2 supported these languages:
- bg_BG: hyva-themes/i18n-bg-bg
- ca_ES: hyva-themes/i18n-ca-es
- de_DE: hyva-themes/i18n-de-de
- es_ES: hyva-themes/i18n-es-es
- fr_FR: hyva-themes/i18n-fr-fr
- it_IT: hyva-themes/i18n-it-it
- nl_BE: hyva-themes/i18n-nl-be
- nl_DI: hyva-themes/i18n-nl-di
- nl_NL: hyva-themes/i18n-nl-nl
- pl_PL: hyva-themes/i18n-pl-pl
- pt_BR: hyva-themes/i18n-pt-br
- uk_UA: hyva-themes/i18n-uk-ua
For example, to install the German language pack, run the following commands from your Magento 2 root directory:
|
1 2 |
composer require hyva-themes/i18n-de-de php bin/magento setup:upgrade |
Installing Hyvä language packs
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.