-
Clone the repository.
-
Make sure you have npm installed and run
npm install
. -
Install the Firebase CLI -
curl -sL https://firebase.tools | bash
. -
Follow the instructions to install the Firestore Emulator -
firebase init
. When prompted, choose to install the Emulator Suite and Firestore Emulator, and select a port other than 8080. (recommended: 8020). -
Start the emulators -
firebase emulators:start
. -
Run
export FIRESTORE_EMULATOR_HOST="127.0.0.1:8020"
to tell the app where to find the emulator. -
Start the app using
npm run dev
. -
The app will be available on
localhost:8080
.
- Run
npm run build
.
-
Add string using
<FormattedMessage />
orintl.formatMessage(...)
. -
Run
npm run extract
to generate/server/lang/en.json
-
Add generated IDs from
/server/lang/en.json
to new locations. -
Copy new sections from
/server/lang/en.json
to other language files and translate string. -
Run
npm run compile
to generate/server/compiled-lang/<language>.json
files. -
Create a PR with the changes.
-
Copy
/server/lang/en.json
to/server/lang/<language>.json
. -
Translate strings in new language file.
-
Run
npm run compile
to generate/server/compiled-lang/<language>.json
files. -
Update
/app/layout.tsx
to include the new locale. -
Create a PR with the changes.
Coming soon.