Skip to content

Conversation

@samuelstroschein
Copy link
Member

@samuelstroschein samuelstroschein commented Nov 13, 2025

Note

Adds RPC fallback to machine translate when no Google API key is set, updates README env instructions, exports result type, and defaults RPC public base URL to https://inlang.com.

  • CLI
    • Machine translation: Fallback to @inlang/rpc.machineTranslateBundle when INLANG_GOOGLE_TRANSLATE_API_KEY is missing, with warning logs.
    • Export MachineTranslateResult from machineTranslateBundle.ts and use it in translate.ts.
    • Add @inlang/rpc as a dependency in inlang/packages/cli/package.json.
  • RPC
    • Set PUBLIC_SERVER_BASE_URL default to "https://inlang.com" in inlang/packages/rpc/src/services/env-variables/createIndexFile.js.
  • Docs
    • README: clarify step to expose Google API key as INLANG_GOOGLE_TRANSLATE_API_KEY env variable.

Written by Cursor Bugbot for commit e44413e. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

⚠️ No Changeset found

Latest commit: e44413e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@nx-cloud
Copy link

nx-cloud bot commented Nov 13, 2025

View your CI Pipeline Execution ↗ for commit e44413e

Command Status Duration Result
nx run-many --nx-bail --target=build --parallel ✅ Succeeded 20s View ↗
nx run-many --target=test --parallel ✅ Succeeded 21s View ↗
nx run-many --target=lint --parallel ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-13 19:02:43 UTC

@samuelstroschein samuelstroschein merged commit 784b3c1 into main Nov 14, 2025
3 checks passed
@samuelstroschein samuelstroschein deleted the re-add-machine-translate branch November 14, 2025 17:42
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants