Skip to content

Commit 1dbe97c

Browse files
committed
chore: upd readme
1 parent 3f95daf commit 1dbe97c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,25 @@ export default async function RootLayout({
164164

165165
```
166166

167+
#### Step 4. Run the Compiler
168+
169+
```bash
170+
# If you haven't already, authenticate with the Replexica platform
171+
pnpm replexica auth
172+
173+
# Build the app
174+
pnpm run build
175+
176+
# Fetch translations from the Replexica platform
177+
pnpm replexica i18n
178+
179+
# Start the app
180+
pnpm run start
181+
```
182+
183+
> [!TIP]
184+
> `pnpm replexica i18n` must be run after every build, to fetch the latest translations from the Replexica platform. It must be run in CI/CD pipelines as well, right after the `build` step.
185+
167186
## How to Switch Between Languages
168187

169188
Different apps use different strategies for switching between supported languages. Here are a few approaches we've seen:

0 commit comments

Comments
 (0)