diff --git a/i18n.json b/i18n.json index ee8737c6d..1864460c6 100644 --- a/i18n.json +++ b/i18n.json @@ -28,5 +28,14 @@ "include": ["readme/[locale].md"] } }, + "provider": { + "id": "google", + "model": "gemini-2.5-pro", + "prompt": "Translate from {source} to {target}. Output raw JSON only.", + "settings": { + "temperature": 0, + "response_mime_type": "application/json" + } + }, "$schema": "https://lingo.dev/schema/i18n.json" } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..6f7642ea4 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@lingo.dev/_sdk": ["packages/sdk/src"], + "@lingo.dev/_sdk/*": ["packages/sdk/src/*"], + "@lingo.dev/_react": ["packages/react/src"], + "@lingo.dev/_react/*": ["packages/react/src/*"], + "@lingo.dev/_react/client": ["packages/react/src/client"], + "@lingo.dev/_react/rsc": ["packages/react/src/rsc"], + "@lingo.dev/_react/react-router": ["packages/react/src/react-router"], + "@lingo.dev/_compiler": ["packages/compiler/src"], + "@lingo.dev/_compiler/*": ["packages/compiler/src/*"], + "@lingo.dev/_locales": ["packages/locales/src"], + "@lingo.dev/_locales/*": ["packages/locales/src/*"], + "@lingo.dev/_spec": ["packages/spec/src"], + "@lingo.dev/_spec/*": ["packages/spec/src/*"] + } + } +}