Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

Automated translation updates triggered by changes to documentation.

This PR was automatically created after content changes were made, updating translations for all supported languages using Lingo.dev AI translation engine.

Original trigger: fix(tools): updated kalshi and polymarket tools to accurately reflect outputs (#2274)
Commit: 569598b
Workflow: https://github.com/simstudioai/sim/actions/runs/20082020442

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: ___________

Testing

This PR includes automated translations for modified English documentation content:

  • 🇪🇸 Spanish (es) translations
  • 🇫🇷 French (fr) translations
  • 🇨🇳 Chinese (zh) translations
  • 🇯🇵 Japanese (ja) translations
  • 🇩🇪 German (de) translations

What reviewers should focus on:

  • Verify translated content accuracy and context
  • Check that all links and references work correctly in translated versions
  • Ensure formatting, code blocks, and structure are preserved
  • Validate that technical terms are appropriately translated

Checklist

  • Code follows project style guidelines (automated translation)
  • Self-reviewed my changes (automated process)
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Dec 9, 2025 11:56pm

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 9, 2025

Greptile Overview

Greptile Summary

Updated translations across 5 languages (German, Spanish, French, Japanese, Chinese) to reflect API output format changes from PR #2274, which updated Kalshi and Polymarket tool documentation from generic success/output fields to specific typed fields like markets, events, trades, etc.

Key Changes:

  • Kalshi tools: Updated output documentation across all languages to show specific return fields (markets, events, positions, orders, balance, etc.) instead of generic wrappers
  • Polymarket tools: Updated output documentation across all languages with same pattern
  • SendGrid tools: Expanded output field descriptions with more detail

Critical Issue Found:

  • Japanese polymarket.mdx translation is incomplete - all 16 function outputs still show old success/output format instead of the updated specific fields. This creates documentation inconsistency where Japanese users will see incorrect API output structure.

Confidence Score: 2/5

  • Not safe to merge - Japanese translation for Polymarket is incomplete and will provide incorrect API documentation to users
  • While 15 of 16 files were translated correctly, the Japanese polymarket.mdx file has critical translation errors affecting all 16 function outputs. This will cause confusion for Japanese users who rely on this documentation to understand API responses. The incomplete translation must be fixed before merging to maintain documentation quality and consistency across all languages.
  • apps/docs/content/docs/ja/tools/polymarket.mdx requires immediate attention - all output format updates are missing

Important Files Changed

File Analysis

Filename Score Overview
apps/docs/content/docs/ja/tools/polymarket.mdx 1/5 Translation INCOMPLETE - all output format changes missing, still shows old success/output structure instead of specific fields like markets, events, trades, etc.
apps/docs/content/docs/de/tools/polymarket.mdx 5/5 Updated limit documentation and output formats correctly to match English source
apps/docs/content/docs/es/tools/polymarket.mdx 5/5 Updated limit documentation and output formats correctly to match English source
apps/docs/content/docs/fr/tools/polymarket.mdx 5/5 Updated limit documentation and output formats correctly to match English source
apps/docs/content/docs/zh/tools/polymarket.mdx 5/5 Updated limit documentation and output formats correctly to match English source

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant GH as GitHub Actions
    participant Lingo as Lingo.dev AI
    participant Repo as Repository

    Dev->>Repo: Commit #2274 (fix: update kalshi/polymarket outputs)
    Repo->>GH: Trigger workflow
    GH->>GH: Detect English docs changes
    GH->>Lingo: Request translations for all languages
    
    par German Translation
        Lingo->>Lingo: Translate to German (de)
        Lingo-->>Repo: Update de/tools/*.mdx
    and Spanish Translation
        Lingo->>Lingo: Translate to Spanish (es)
        Lingo-->>Repo: Update es/tools/*.mdx
    and French Translation
        Lingo->>Lingo: Translate to French (fr)
        Lingo-->>Repo: Update fr/tools/*.mdx
    and Japanese Translation
        Lingo->>Lingo: Translate to Japanese (ja)
        Lingo-->>Repo: Update ja/tools/*.mdx (INCOMPLETE)
    and Chinese Translation
        Lingo->>Lingo: Translate to Chinese (zh)
        Lingo-->>Repo: Update zh/tools/*.mdx
    end
    
    Lingo->>Repo: Update i18n.lock with content hashes
    GH->>Repo: Create PR #2276
    Repo->>Dev: PR ready for review
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments (11)

  1. apps/docs/content/docs/ja/tools/polymarket.mdx, line 54-55 (link)

    logic: translation doesn't match updated English source - should show markets array instead of generic success/output fields

  2. apps/docs/content/docs/ja/tools/polymarket.mdx, line 72-73 (link)

    logic: should show market object instead of success/output

  3. apps/docs/content/docs/ja/tools/polymarket.mdx, line 94-95 (link)

    logic: should show events array

  4. apps/docs/content/docs/ja/tools/polymarket.mdx, line 112-113 (link)

    logic: should show event object

  5. apps/docs/content/docs/ja/tools/polymarket.mdx, line 130-131 (link)

    logic: should show tags array

  6. apps/docs/content/docs/ja/tools/polymarket.mdx, line 167-168 (link)

    logic: should show series array

  7. apps/docs/content/docs/ja/tools/polymarket.mdx, line 184-185 (link)

    logic: should show series object

  8. apps/docs/content/docs/ja/tools/polymarket.mdx, line 236-237 (link)

    logic: should show midpoint string

  9. apps/docs/content/docs/ja/tools/polymarket.mdx, line 257-258 (link)

    logic: should show history array

  10. apps/docs/content/docs/ja/tools/polymarket.mdx, line 291-292 (link)

    logic: should show spread object

  11. apps/docs/content/docs/ja/tools/polymarket.mdx, line 326-327 (link)

    logic: should show positions array

15 files reviewed, 16 comments

Edit Code Review Agent Settings | Greptile

Comment on lines 149 to +150
| `success` | boolean | 操作成功ステータス |
| `output` | object | 検索結果とメタデータ |
| `output` | object | 検索結果データとメタデータ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: should show results object

Suggested change
| `success` | boolean | 操作成功ステータス |
| `output` | object | 検索結果とメタデータ |
| `output` | object | 検索結果データとメタデータ |
| `results` | object | markets、events、profilesの配列を含む検索結果 |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/tools/polymarket.mdx
Line: 149:150

Comment:
**logic:** should show `results` object

```suggestion
| `results` | object | markets、events、profilesの配列を含む検索結果 |
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 201 to +202
| `success` | boolean | 操作成功ステータス |
| `output` | object | オーダーブックデータとメタデータ |
| `output` | object | 注文台帳データとメタデータ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: should show orderbook object

Suggested change
| `success` | boolean | 操作成功ステータス |
| `output` | object | オーダーブックデータとメタデータ |
| `output` | object | 注文台帳データとメタデータ |
| `orderbook` | object | ビッドとアスクの配列を含む注文台帳 |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/tools/polymarket.mdx
Line: 201:202

Comment:
**logic:** should show `orderbook` object

```suggestion
| `orderbook` | object | ビッドとアスクの配列を含む注文台帳 |
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 219 to +220
| `success` | boolean | 操作成功ステータス |
| `output` | object | 価格データとメタデータ |
| `output` | object | 市場価格データとメタデータ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: should show price string

Suggested change
| `success` | boolean | 操作成功ステータス |
| `output` | object | 価格データとメタデータ |
| `output` | object | 市場価格データとメタデータ |
| `price` | string | 市場価格 |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/tools/polymarket.mdx
Line: 219:220

Comment:
**logic:** should show `price` string

```suggestion
| `price` | string | 市場価格 |
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 274 to +275
| `success` | boolean | 操作成功ステータス |
| `output` | object | 最終取引価格とメタデータ |
| `output` | object | 最終取引価格データとメタデータ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: should show price string

Suggested change
| `success` | boolean | 操作成功ステータス |
| `output` | object | 最終取引価格とメタデータ |
| `output` | object | 最終取引価格データとメタデータ |
| `price` | string | 最終取引価格 |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/tools/polymarket.mdx
Line: 274:275

Comment:
**logic:** should show `price` string

```suggestion
| `price` | string | 最終取引価格 |
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 308 to +309
| `success` | boolean | 操作成功ステータス |
| `output` | object | ティックサイズとメタデータ |
| `output` | object | 最小ティックサイズデータとメタデータ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: should show tickSize string

Suggested change
| `success` | boolean | 操作成功ステータス |
| `output` | object | ティックサイズとメタデータ |
| `output` | object | 最小ティックサイズデータとメタデータ |
| `tickSize` | string | 最小ティックサイズ |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/tools/polymarket.mdx
Line: 308:309

Comment:
**logic:** should show `tickSize` string

```suggestion
| `tickSize` | string | 最小ティックサイズ |
```

How can I resolve this? If you propose a fix, please make it concise.

@waleedlatif1 waleedlatif1 merged commit 306043e into staging Dec 10, 2025
9 checks passed
@waleedlatif1 waleedlatif1 deleted the auto-translate/staging-merge-20082020442 branch December 10, 2025 00:20
waleedlatif1 added a commit that referenced this pull request Dec 10, 2025
… docs, mcp, autolayout improvements (#2286)

* fix(mcp): prevent redundant MCP server discovery calls at runtime, use cached tool schema instead (#2273)

* fix(mcp): prevent redundant MCP server discovery calls at runtime, use cached tool schema instead

* added backfill, added loading state for tools in settings > mcp

* fix tool inp

* feat(rate-limiter): token bucket algorithm  (#2270)

* fix(ratelimit): make deployed chat rate limited

* improvement(rate-limiter): use token bucket algo

* update docs

* fix

* fix type

* fix db rate limiter

* address greptile comments

* feat(i18n): update translations (#2275)

Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com>

* fix(tools): updated kalshi and polymarket tools to accurately reflect outputs (#2274)

* feat(i18n): update translations (#2276)

Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>

* fix(autolayout): align by handle (#2277)

* fix(autolayout): align by handle

* use shared constants everywhere

* cleanup

* fix(copilot): fix custom tools (#2278)

* Fix title custom tool

* Checkpoitn (broken)

* Fix custom tool flash

* Edit workflow returns null fix

* Works

* Fix lint

* fix(ime): prevent form submission during IME composition steps (#2279)

* fix(ui): prevent form submission during IME composition steps

* chore(gitignore): add IntelliJ IDE files to .gitignore

---------

Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
Co-authored-by: Waleed <walif6@gmail.com>
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>

* feat(ui): logs, kb, emcn (#2207)

* feat(kb): emcn alignment; sidebar: popover primary; settings-modal: expand

* feat: EMCN breadcrumb; improvement(KB): UI

* fix: hydration error

* improvement(KB): UI

* feat: emcn modal sizing, KB tags; refactor: deleted old sidebar

* feat(logs): UI

* fix: add documents modal name

* feat: logs, emcn, cursorrules; refactor: logs

* feat: dashboard

* feat: notifications; improvement: logs details

* fixed random rectangle on canvas

* fixed the name of the file to align

* fix build

---------

Co-authored-by: waleed <walif6@gmail.com>

* fix(creds): glitch allowing multiple credentials in an integration (#2282)

* improvement: custom tools modal, logs-details (#2283)

* fix(docs): fix copy page button and header hook (#2284)

* improvement(chat): add the ability to download files from the deployed chat (#2280)

* added teams download and chat download file

* Removed comments

* removed comments

* component structure and download all

* removed comments

* cleanup code

* fix empty files case

* small fix

* fix(container): resize heuristic improvement (#2285)

* estimate block height for resize based on subblocks

* fix hydration error

* make more conservative

---------

Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com>
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>
Co-authored-by: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com>
Co-authored-by: mosa <mosaxiv@gmail.com>
Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com>
Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants