-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot switch back to English after chose another language #1098
Comments
@jyyi1 What command did you use to run the client? Also, what browser and version did you use? |
Oh, oh, this PR is the culprit: #1061 We are no longer passing the THIS WILL BREAK THE CLIENT! We can't release in the current state. I'm pretty sure if you build and run the app from master it will be broken. The released client in production was not affected by that change. You can confirm by looking at the about message. @bemasc can you show @jyyi1 (and @daniellacosse) how to update the translations? |
/cc @cjhenck |
On a side note, this is a really hard bug to catch. It could easily make it to production. @daniellacosse @jyyi1 we need a way to type-check the messages. Perhaps convert the messages into actual TS code like we do at Google. |
Yes, I was just thinking about how easy it would be to catch a bug like
this with a little more automation. I dunno how much appetite we have for
that in the quarters to come but I would love to have some time allocated
to testing and type coverage.
…On Tue, Nov 16, 2021 at 11:27 AM Vinicius Fortuna ***@***.***> wrote:
On a side note, this is a really hard bug to catch. It could easily make
it to production.
@daniellacosse <https://github.com/daniellacosse> @jyyi1
<https://github.com/jyyi1> we need a way to type-check the messages.
Perhaps convert the messages into actual TS code like we do at Google.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1098 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4V5VDESQIAH2ZMOICBUADUMKA5JANCNFSM5H54AGLA>
.
|
@fortuna @daniellacosse One solution I could think of is to compare resource string keys among all the languages, but I need to first make sure how the translation works. |
Unfortunately, we can't really require parity between languages as part of our compilation or presubmit CI, because we need to be able to update the UI before we have translations for new strings. However, we might be able to add a pre-release CI step that catches these issues. |
Describe the bug
In the web-app, after I chose a language other than English and refresh the page, I can not switch back to English.
To Reproduce
There are at least three problems:
Workaround
Delete "overrideLanguage" field in the local storage.
Expected behavior
I should be able to switch back to English and all features should be normal.
Screenshots
N/A
Client System (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: