webrecorder / browsertrix

Browsertrix is the hosted, high-fidelity, browser-based crawling service from Webrecorder designed to make web archiving easier and more accessible for all!
https://webrecorder.net/browsertrix
GNU Affero General Public License v3.0
201 stars 35 forks source link

feat: Allow users to specify language preference #2129

Closed SuaYoo closed 1 week ago

SuaYoo commented 2 weeks ago

Resolves https://github.com/webrecorder/browsertrix/issues/2119

Changes

Manual testing

  1. Go to log in page (or log out.) Verify language selector is shown in app bar
  2. Change language to Spanish
  3. Log in. Verify archived items navigation label is shown as translated "Archivado"
  4. Reload browser window. Verify language change persist
  5. Go to account dropdown -> "Account Settings". Verify tabs are shown
  6. Change language to English
  7. Go to home page. Verify "Archived Items" is shown in English
  8. Reload browser window. Verify language change persist

Screenshots

Page Image/video
Log in Screenshot 2024-11-05 at 6 46 27 PM
Archived Items Screenshot 2024-11-05 at 6 47 13 PM

Follow-ups

Per Discord convo, we may want a dedicated localization section in the docs in the future.