-
Notifications
You must be signed in to change notification settings - Fork 37
Wrong language flag image #237
Comments
Hi there, and thanks for this. We will fix this in an upcoming release.
True. By the way, you can set a custom flag URL for every site. So in order to fix this right away, you can just edit the according site ( Best regards, |
Hi Thorsten, thanks for the hint - that's exactly what we did. I just wrote a long text explaining the second part of the "http code" in Language manager would be better for determining the flag name, but found a few examples where it wouldn't work. Finally I think there should be a special parameter in Language manager determining the flag name. I found several examples where the current result is just wrong now. Pavel |
Hi Pavel!
Yeah, like I said, flags are not for languages, they are for countries. So using the flag based on the region part in the HTTP code would still be using a flag for a language. If you have a country with multiple languages (e.g., Switzerland, Belgium), you would have multiple times the according flag.
What exactly do you mean with this? Are there more flags wrong than just the Czech one? |
Hi Thorsten, yes, definitely. I think the languages with different first and second part are suspicious, especially languages of minorities. At the brief look: rup-MK Aromanian - rup.gif doesn't exist at all, ru.gif is Russian flag. mk.gif looks like a good flag, as according to Wikipedia, Macedonia is the only state with official Aromanian languages (for Aromanian minority). haw-US Hawaiian - ha.gif/haw.gif does not exist Just a few examples randomly picked... Pavel |
en-US, en-GB - /src/assets/images/flags/en.gif -- This appears to be the flag for England Appropriate flags for en-US and en-GB do exist in the plugin. I set them manually, but it would be nice if the most sensible flag for the country was selected by default. At least, the following fits for my own usage. en-US - /src/assets/images/flags/us.gif Unfortunately flags are one of the preferred methods of site selection. I suppose in some cases some people might consider language only without any region/country, though I've yet to deal with that. I do have situations such as en-CA / fr-CA, where country is still the most appropriate indicator for the flag, and text labels are used to denote the specific language. I think this is because people are generally accustomed to a pattern of "Look for my country, then look for my language". Another issue with using the english flag for en-US; most in the US aren't even familiar with that flag. I know.. but they are familiar with the flag of Great Britain. Anyway, not to complain, because we CAN set a specific flag as needed. |
Another angle of view - I installed the plugin, looked at the result and seen - hell, even such a simple thing as flags doesn't work... |
Any news on this topic? I was looking into making a issue on this regarding the Swedish flag but found this issue already open. Would be great to fix it, since it creates a lot of confusion. |
Version Information
Steps to Reproduce
What I Expected
The Czech flag to be displayed in Language Switcher(which is in cz.gif).
What Happened Instead
The other flag is displayed (cs.gif).
The cs.gif should contain the image, which is in cz.gif file.
I believe the en.gif is not good, too. It contains the flag of England, but I think it's not what most people expect to see - Great Britain or US flag would be better.
The text was updated successfully, but these errors were encountered: