nicmart-dev / linguistnow

LinguistNow simplifies the hassle of finding available linguists for translation projects.
https://linguistnow.netlify.app
1 stars 1 forks source link

Setup react-intl for Localization #8

Closed nicmart-dev closed 1 month ago

nicmart-dev commented 1 month ago

We are using react-intl to support localizing the app to multiple languages. https://formatjs.io/docs/getting-started/installation/

React Intl has a set of React components that provide a declarative way to setup an i18n context and format dates, numbers, and strings for display in a web UI. The components render React elements by building on React Intl's imperative API.

nicmart-dev commented 1 month ago

Testing changing the browser language involves adjusting the settings of your browser. Here's how you can do it in different browsers: Google Chrome

  1. Open Chrome and go to a new tab.
  2. Open Developer Tools by pressing Ctrl + Shift + I (Windows/Linux) or Cmd + Option + I (Mac).
  3. In the DevTools window, click on the three vertical dots (⋮) in the top-right corner.
  4. Go to "More tools" > "Sensors". Under "Geolocation", select the desired language from the dropdown menu.