Open pepelsbey opened 4 years ago
Yes, that sounds great. What do you think this menu item should look like?
Something like
? Select language
❯ English
Russian
Custom…
That would give you lang="en"
or lang="ru
. In “Custom…” case you’ll be prompted to enter either language name or language code, depending on how you’re planning to implement it.
There are a few details that I would like to consult about.
It depends on how much time you want to spend working on this feature :) You can always just go for En, Ru, Custom… and keep developers responsible for their choice.
But as the next enhancement I’d validate the Custom value and only then work on guessing the default option.
Something like this:
It’s important to have a proper language set.