Looks like one of the main gotchas is you should only use flags if you're having the user select countries - many languages are spoken in multiple countries and many countries have multiple languages spoken within their borders. Otherwise, making the component accessible depends on the HTML element you choose to use.
Oh wow, thanks for all the resources! I'm gonna look into i18next ๐
I totally agree with the flags vs languages. I prefer to use the ISO abbreviations :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey! I haven't built a language select, only written some i18next code, but there are some good resources out there:
Looks like one of the main gotchas is you should only use flags if you're having the user select countries - many languages are spoken in multiple countries and many countries have multiple languages spoken within their borders. Otherwise, making the component accessible depends on the HTML element you choose to use.
Oh wow, thanks for all the resources! I'm gonna look into i18next ๐
I totally agree with the flags vs languages. I prefer to use the ISO abbreviations :)