Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation to accommodate more languages #64

Merged
merged 12 commits into from Apr 18, 2020

Conversation

pjanaya
Copy link
Contributor

@pjanaya pjanaya commented Apr 15, 2020

Changed styles after the feedback from #58 to accommodate the new translations that are going to come in the upcoming days.
Also removed an old script after feedback from #62.

This is an example with fake languages:
Screen Shot 2020-04-15 at 23 07 53

Copy link
Member

@eirikurn eirikurn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor comment. Also, can you merge from master and configure the two new languages correctly?

src/locales/en.json Outdated Show resolved Hide resolved
@eirikurn
Copy link
Member

Also. We should consider the ordering and presentation of the languages. UX wise I'd like Icelandic to be pre-selected at the top.

But the other languages should probably be ordered alphabetically. Looking at covid.is, they order the languages alphabetically. They also prefix the non-Latin languages (like Thai) with the language name in Icelandic ... which is a bit weird to me, but at least it simplifies the alphabetic ordering.

P.s. awesome job with this PR!

@pjanaya
Copy link
Contributor Author

pjanaya commented Apr 18, 2020

Merged master into this branch, added the missing keys to FR and TH, and changed the order of the languages.

This is how it looks:
Simulator Screen Shot - iPhone 11 - 2020-04-18 at 00 30 30

@pjanaya pjanaya requested a review from eirikurn April 18, 2020 00:48
Copy link
Member

@eirikurn eirikurn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 💯

src/i18n/index.ts Show resolved Hide resolved
src/locales/fr.json Show resolved Hide resolved
src/i18n/index.ts Show resolved Hide resolved
@eirikurn eirikurn merged commit db3a864 into aranja:master Apr 18, 2020
@eirikurn eirikurn mentioned this pull request Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants