Skip to content

Commit 109649d

Browse files
committed
fix: add missing notion about url in the lingo config
1 parent 11d121e commit 109649d

File tree

1 file changed

+12
-0
lines changed
  • packages/new-compiler/src/translation-server

1 file changed

+12
-0
lines changed

packages/new-compiler/src/translation-server/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ pnpm tsx ../../packages/new-compiler/src/translation-server/cli.ts --port 3456 -
147147

148148
Make sure there the `--lingo-dir` option is set to the same directory as in the project settings, and the same for the `--source-root` option.
149149

150+
Set the url returned in logs to the lingo config
151+
152+
```js
153+
export const config = {
154+
// Other config options...
155+
dev: {
156+
usePseudotranslator: true,
157+
translationServerUrl: "http://127.0.0.1:3456"
158+
}
159+
}
160+
```
161+
150162
### Server Logs
151163

152164
The translation server writes logs to both:

0 commit comments

Comments
 (0)