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
Currently, on Unix-like platforms for English speakers in the US, something along the lines of ["en-US", "en"] will be reported by lang(). On Windows, just ["en-US"] will be reported. How should language fallbacks be expected to be handled? It would be nice to have some kind of consistency here.
The text was updated successfully, but these errors were encountered:
Not sure on exact language tags, but for example, if the user prefers ["en-CN", "en-GB", "zh-CN"], then I'm assuming that if all else fails, they would prefer next (for fallback) ["en", "zh"] (requesting any dialect for English first, then any dialect of Chinese second). But, the question is whether or not whoami should append these any dialect language codes?
Upon further research it appears as though it's possible to select "any", at least on Linux. WhoAmI should not automatically insert the language without the dialect. Although, since it is a fallback list, any dialect could be appended at the end of the list:
Currently, on Unix-like platforms for English speakers in the US, something along the lines of
["en-US", "en"]
will be reported bylang()
. On Windows, just["en-US"]
will be reported. How should language fallbacks be expected to be handled? It would be nice to have some kind of consistency here.The text was updated successfully, but these errors were encountered: