Skip to content

Commit 07c8dee

Browse files
committed
chore: add result testing step to the readme
1 parent 1dbe97c commit 07c8dee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ pnpm replexica i18n
180180
pnpm run start
181181
```
182182

183+
#### Step 5 (Optional). Test the result
184+
185+
If you haven't yet implemented the language switcher on the UI, run the following code in the browser console to switch the language to Spanish:
186+
187+
```js
188+
document.cookie = "REPLEXICA_LOCALE=es; path=/;";
189+
location.reload();
190+
```
191+
183192
> [!TIP]
184193
> `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.
185194

0 commit comments

Comments
 (0)