aranja/rakning-c19-app

Preselect OS language

Closed this issue · 6 comments

Continuing the translation work, it would be awesome to preselect the language chosen by the user.

The only annoying thing is that this logic should not apply to English since iOS (and Android?) doesn't have Icelandic, so probably over 90% of Icelandic people (and thus our users) have English set as their language.

So the preselection logic could be like this:

  • System language: Icelandic or English => App language: Icelandic
  • System language: Other supported language => App language: That language
  • System language: Not supported language => App language: English

@pjanaya does this make sense to you?

Wouldn't it be perfectly fine to always pre-select the Icelandic language? We are in Iceland, after all 🤷
I would think carefully if it makes sense to implement too much logic for something the user can solve by simply tapping in their preferred language (which doesn't even have to be their native one).
How is it right now? My iOS simulator always pre-selects English.

Actually I just now noticed that the app already defaulted to the system language (thus English in your simulator).

We never noticed it before because the first screen would always reset the language.

So I tweaked this logic, defaulting English phones to Icelandic, but allowing other languages to be pre-selected.

As I write this I realize that either we should preselect Icelandic for everyone. Or we should keep the current logic, but reorder the pre-selected language to the top of the list instead of always Icelandic. Otherwise, you might not see the pre-selected language because it's below the fold.

I'll let this be for now because we really need to get the upgrade out.

As I said, I think it's fine to always preselect Icelandic. If the user is not ok with that, the first thing they'll try is to find their language on the list. Do you see any problem with that approach?

Just that doing it automatically is a bit more inclusive. Being greeted in Icelandic is a bit offputting. Maybe expats are used to it. I dunno.

But it's also an expected behavior that OS language is inherited in applications. We just need to make an edge case for English because Iceland is too small :)

Oh, I would say we are definitely used to :) Landsbankinn, Stræto, Meniga, Netgíró... you name it! Netgíró doesn't even offer other than Icelandic, and it's pretty serious business!

I would say it might be annoying to preselect Icelandic if the user has to navigate through the whole app finding the language settings. However, in this case we are presenting the language selector right on the user's face. I'm not saying that the solution in #70 is wrong, just that I wouldn't have minded preselecting Icelandic in all cases.