You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the plugin with languages other than the default ones (en, de, fr), the translations from i18n-iso-countries are not being applied correctly. The translation files are loaded in the browser as JavaScript files, but they are not populating the necessary fields. However, when switching to any of the default languages, the country translations load properly.
Steps to Reproduce:
Use a non-default language (e.g., uk).
Observe that the country translations are not applied.
Switch to one of the default languages (en, de, fr).
Observe that the country translations are applied correctly.
Expected Behavior:
Translations from i18n-iso-countries should be applied correctly for all supported languages, not just the default ones.
Actual Behavior:
Translations are not being applied for languages other than the default ones.
Environment:
Strapi version: 4.25.1
Node.js version: 20.15.0
Operating System: Windows 10
The text was updated successfully, but these errors were encountered:
sparrow-chik-chrk
changed the title
Issue with other Languages in i18n-iso-countries Plugin
Issue with other Languages
Jul 16, 2024
Unfortunately Im unable to resolve this issue. As long as vite is unable to import dynamic files from node_modules folder, we have to use english by default. vitejs/vite#14102
I will have a look into that after vite adds support for dynamic imports from node_modules.
When using the plugin with languages other than the default ones (en, de, fr), the translations from
i18n-iso-countries
are not being applied correctly. The translation files are loaded in the browser as JavaScript files, but they are not populating the necessary fields. However, when switching to any of the default languages, the country translations load properly.Steps to Reproduce:
uk
).Expected Behavior:
Translations from
i18n-iso-countries
should be applied correctly for all supported languages, not just the default ones.Actual Behavior:
Translations are not being applied for languages other than the default ones.
Environment:
The text was updated successfully, but these errors were encountered: