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

Add frontend localization support #18

Merged
merged 9 commits into from
Nov 20, 2021
Merged

Add frontend localization support #18

merged 9 commits into from
Nov 20, 2021

Conversation

SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Nov 20, 2021

(#17) Adds localization support and basic locale picker for testing.

Demo (watch the "Log In" button in upper right):
Nov-19-2021 20-06-24

How it works: https://github.com/ikreymer/browsertrix-cloud/blob/eba888f51372661d3a000b0b033b1a54f87ff5c1/frontend/README.md#localization

Testing

  1. Install new dependencies with yarn
  2. Run dev server with yarn start-dev and try updating languages with locale picker. I'm using Korean as an example since I can verify the translation.

If you're using VSCode and you see a type error around DisplayNames, check if VSCode is using typescript <4.5.2 and upgrade to match if necessary.

TODOs left open to address in the future:

@SuaYoo SuaYoo changed the title WIP Frontend localization Add frontend localization support Nov 20, 2021
@SuaYoo SuaYoo requested a review from ikreymer November 20, 2021 04:48
@SuaYoo SuaYoo merged commit 14f2d13 into main Nov 20, 2021
@SuaYoo SuaYoo deleted the frontend-localization branch November 20, 2021 15:44
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.

1 participant