This demo is a companion to a Phrase tutorial about plural localization.
- The
main
branch shows plural formatting using vanilla i18next. - The
icu
branch shows plural formatting using i18next with ICU support.
- Clone the repository.
- Open the
index.html
file in your browser (you don't need a web server, just open the file directly).
If you want to update the Tailwind CSS styles, you need to install the dependencies first:
npm install
Then, you can run the following command to build and watch the CSS:
npm run tailwind:watch