You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,25 @@ export default async function RootLayout({
164
164
165
165
```
166
166
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
+
167
186
## How to Switch Between Languages
168
187
169
188
Different apps use different strategies for switching between supported languages. Here are a few approaches we've seen:
0 commit comments