Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flags in sidebar is showing the wrong one or none at all #1278

Open
alfredvaa opened this issue Feb 11, 2025 · 0 comments
Open

Flags in sidebar is showing the wrong one or none at all #1278

alfredvaa opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alfredvaa
Copy link

Describe the bug

Flags in sidebar is wrong, or non existing

The flag showing for Swedish is not the Swedish flag. If the language file is named se.json it will show the swedish flag, but se is the country code and sv is the language code so this behavior is incorrect.

There is no flag at all for nb.json. If naming the file to no.json the Norwegian flag is shown, but again this is the country code and not the primary language code.

As it is now this plugin encourages to naming files to country codes instead of language codes, this must be a mistake?

Extension Version

i18n Ally 2.13.1

To Reproduce
Steps to reproduce the behavior:
Install the plugin, create language json files for Swedish (sv.json) and Norwegian "Bokmål" (nb.json)

@alfredvaa alfredvaa added the bug Something isn't working label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant