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: Localize dates, bytes, and numbers #2146

Closed SuaYoo closed 2 days ago

SuaYoo commented 1 week ago

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

Changes

Manual testing

Tested with Firefox and Chrome

  1. Set language preference in browser of choice
  2. Log in
  3. Verify dates, bytes, and numbers are displayed correctly in chosen language
  4. Go to Account Settings
  5. Change language preference to a language that displays numbers differently
  6. Go back to org dashboard. Verify date/byte/numbers are displayed correctly

Screenshots

Page Image/video
Account Settings Screenshot 2024-11-12 at 3 22 51 PM
Collections (Browser language set to Korean, no app language set)
Screenshot 2024-11-12 at 3 22 07 PM
Archived Item Detail Screenshot 2024-11-12 at 3 44 13 PM
SuaYoo commented 2 days ago

Using the pagination on the crawl workflows list seems to result in an error. None of the other pages experience this problem. This does not happen in main. I made sure to run yarn to build new packages.

Nice catch, fixed!