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: feat(mistal): added mistral as a provider, updated model prices (#1607)

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 Oct 12, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs Error Error Oct 12, 2025 4:52am

Copy link
Collaborator Author

waleedlatif1 commented Oct 12, 2025

1 Job Failed:

CI / Test and Build / Test and Build failed on "Build application"
[...]
https://nextjs.org/telemetry

   ▲ Next.js 15.4.1 (Turbopack)
   - Experiments (use with caution):
     ✓ optimizeCss
     ⨯ turbopackSourceMaps

   Creating an optimized production build ...
error: script "build" exited with code 130
Error: docs#build: command (/home/runner/_work/sim/sim/apps/docs) /home/runner/.bun/bin/bun run build exited (1)

 Tasks:    2 successful, 4 total
Cached:    0 cached, 4 total
  Time:    34.47s 
Failed:    docs#build

 ERROR  run failed: command  exited (1)
error: script "build" exited with code 1
Error: Process completed with exit code 1.

Summary: 1 failed workflow
  • CI (1 job failed)

Last updated: 2025-10-12 04:52:59 UTC

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.

Greptile Overview

Summary

Automated translation update triggered by PR #1607 (Mistral provider addition). Updates documentation translations across 5 languages (Spanish, French, German, Japanese, Chinese) for 6 different documentation sections.

Key Changes

  • New guardrails documentation: Complete translations for new guardrails block documentation added in all 5 languages
  • Billing model updates: Added new "Billing Model" section to costs documentation explaining subscription + overage pricing and threshold billing
  • Chat trigger enhancements: Updated chat trigger docs with detailed file properties table showing URL, name, size, type, uploadedAt, and expiresAt fields
  • SDK file upload features: Added comprehensive file upload documentation with browser and Node.js examples for both TypeScript and Python SDKs
  • i18n.lock updates: Checksum updates properly track all translated content changes

Critical Issues Found

  • Incomplete translations in TypeScript SDK files: All 5 language translations (typescript.mdx) contain untranslated English text around lines 704-710, specifically the warning callout about API key security and the "React Hook Example" section heading. This affects user experience for non-English speakers viewing these sections.

Confidence Score: 2/5

  • This PR should not be merged until translation issues are resolved
  • While most translations are accurate and complete, critical sections in all 5 TypeScript SDK translation files contain untranslated English text that would directly impact non-English users. The automated translation process appears to have failed for specific sections, leaving English content in files meant for Spanish, French, German, Japanese, and Chinese audiences. These are documentation changes with no code logic risk, but the incomplete translations defeat the purpose of this PR.
  • All TypeScript SDK translation files require immediate attention: apps/docs/content/docs/{ja,es,zh,fr,de}/sdks/typescript.mdx - each contains untranslated English text around lines 704-710

Important Files Changed

File Analysis

Filename Score Overview
apps/docs/content/docs/ja/sdks/typescript.mdx 2/5 Japanese translation contains untranslated English text for React Hook example section and warning callout
apps/docs/content/docs/es/sdks/typescript.mdx 2/5 Spanish translation contains untranslated English text for React Hook example section and warning callout
apps/docs/content/docs/zh/sdks/typescript.mdx 2/5 Chinese translation contains untranslated English text for React Hook example section and warning callout
apps/docs/content/docs/fr/sdks/typescript.mdx 2/5 French translation contains untranslated English text for React Hook example section and warning callout
apps/docs/content/docs/de/sdks/typescript.mdx 2/5 German translation contains untranslated English text for React Hook example section and warning callout

Sequence Diagram

sequenceDiagram
    participant GH as GitHub Actions
    participant Lingo as Lingo.dev AI
    participant Repo as Repository
    participant Docs as Documentation Files
    
    Note over GH,Docs: PR #1607 merged to staging
    
    GH->>GH: Detect English doc changes
    GH->>Lingo: Request translations
    Note right of Lingo: Translate to:<br/>ES, FR, DE, JA, ZH
    
    Lingo->>Lingo: Process English content
    Lingo->>Lingo: Generate translations
    
    Note over Lingo: Translation Issue:<br/>Some content not translated
    
    Lingo->>Repo: Return translated files
    Repo->>Docs: Update guardrails.mdx (5 langs)
    Repo->>Docs: Update costs.mdx (5 langs)
    Repo->>Docs: Update typescript.mdx (5 langs)
    Repo->>Docs: Update api.mdx (5 langs)
    Repo->>Docs: Update chat.mdx (5 langs)
    Repo->>Docs: Update python.mdx (5 langs)
    Repo->>Docs: Update i18n.lock
    
    GH->>Repo: Create PR #1612
    
    Note over Repo: 31 files changed<br/>3,387 additions<br/>623 deletions
Loading

30 files reviewed, 5 comments

Edit Code Review Agent Settings | Greptile

Comment on lines 704 to +710
<Callout type="warning">
ブラウザでSDKを使用する場合、機密性の高いAPIキーを公開しないよう注意してください。バックエンドプロキシや権限が制限された公開APIキーの使用を検討してください。
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Reactフックの例
### React Hook Example
ワークフロー実行用のカスタムReactフックを作成:
Create a custom React hook for workflow execution:
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: untranslated English text found in Japanese file - both the warning callout and "React Hook Example" heading remain in English

Suggested change
<Callout type="warning">
ブラウザでSDKを使用する場合、機密性の高いAPIキーを公開しないよう注意してください。バックエンドプロキシや権限が制限された公開APIキーの使用を検討してください。
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Reactフックの例
### React Hook Example
ワークフロー実行用のカスタムReactフックを作成:
Create a custom React hook for workflow execution:
<Callout type="warning">
ブラウザでSDKを使用する場合、機密性の高いAPIキーを公開しないよう注意してください。バックエンドプロキシや権限が制限された公開APIキーの使用を検討してください。
</Callout>
### Reactフックの例
ワークフロー実行用のカスタムReactフックを作成:
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/ja/sdks/typescript.mdx
Line: 704:710

Comment:
**logic:** untranslated English text found in Japanese file - both the warning callout and "React Hook Example" heading remain in English

```suggestion
<Callout type="warning">
  ブラウザでSDKを使用する場合、機密性の高いAPIキーを公開しないよう注意してください。バックエンドプロキシや権限が制限された公開APIキーの使用を検討してください。
</Callout>

### Reactフックの例

ワークフロー実行用のカスタムReactフックを作成:
```

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

Comment on lines 704 to +710
<Callout type="warning">
Cuando uses el SDK en el navegador, ten cuidado de no exponer claves API sensibles. Considera usar un proxy de backend o claves API públicas con permisos limitados.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Ejemplo de hook de React
### React Hook Example
Crea un hook personalizado de React para la ejecución de flujos de trabajo:
Create a custom React hook for workflow execution:
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: untranslated English text found in Spanish file - both the warning callout and "React Hook Example" heading remain in English

Suggested change
<Callout type="warning">
Cuando uses el SDK en el navegador, ten cuidado de no exponer claves API sensibles. Considera usar un proxy de backend o claves API públicas con permisos limitados.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Ejemplo de hook de React
### React Hook Example
Crea un hook personalizado de React para la ejecución de flujos de trabajo:
Create a custom React hook for workflow execution:
<Callout type="warning">
Al usar el SDK en el navegador, ten cuidado de no exponer claves API sensibles. Considera usar un proxy de backend o claves API públicas con permisos limitados.
</Callout>
### Ejemplo de React Hook
Crea un hook personalizado de React para la ejecución de flujos de trabajo:
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/es/sdks/typescript.mdx
Line: 704:710

Comment:
**logic:** untranslated English text found in Spanish file - both the warning callout and "React Hook Example" heading remain in English

```suggestion
<Callout type="warning">
  Al usar el SDK en el navegador, ten cuidado de no exponer claves API sensibles. Considera usar un proxy de backend o claves API públicas con permisos limitados.
</Callout>

### Ejemplo de React Hook

Crea un hook personalizado de React para la ejecución de flujos de trabajo:
```

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

Comment on lines 704 to +710
<Callout type="warning">
在浏览器中使用 SDK 时,请注意不要暴露敏感的 API 密钥。建议使用后端代理或具有有限权限的公共 API 密钥。
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### React Hook 示例
### React Hook Example
为工作流执行创建自定义 React hook
Create a custom React hook for workflow execution:
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: untranslated English text found in Chinese file - both the warning callout and "React Hook Example" heading remain in English

Suggested change
<Callout type="warning">
在浏览器中使用 SDK 时,请注意不要暴露敏感的 API 密钥。建议使用后端代理或具有有限权限的公共 API 密钥。
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### React Hook 示例
### React Hook Example
为工作流执行创建自定义 React hook:
Create a custom React hook for workflow execution:
<Callout type="warning">
在浏览器中使用SDK时,请注意不要暴露敏感的API密钥。考虑使用后端代理或具有受限权限的公共API密钥。
</Callout>
### React Hook 示例
创建自定义 React hook 用于工作流执行:
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/zh/sdks/typescript.mdx
Line: 704:710

Comment:
**logic:** untranslated English text found in Chinese file - both the warning callout and "React Hook Example" heading remain in English

```suggestion
<Callout type="warning">
  在浏览器中使用SDK时,请注意不要暴露敏感的API密钥。考虑使用后端代理或具有受限权限的公共API密钥。
</Callout>

### React Hook 示例

创建自定义 React hook 用于工作流执行:
```

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

Comment on lines 704 to +710
<Callout type="warning">
Lors de l'utilisation du SDK dans le navigateur, veillez à ne pas exposer de clés API sensibles. Envisagez d'utiliser un proxy backend ou des clés API publiques avec des permissions limitées.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Exemple de hook React
### React Hook Example
Créer un hook React personnalisé pour l'exécution de workflow :
Create a custom React hook for workflow execution:
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: untranslated English text found in French file - both the warning callout and "React Hook Example" heading remain in English

Suggested change
<Callout type="warning">
Lors de l'utilisation du SDK dans le navigateur, veillez à ne pas exposer de clés API sensibles. Envisagez d'utiliser un proxy backend ou des clés API publiques avec des permissions limitées.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### Exemple de hook React
### React Hook Example
Créer un hook React personnalisé pour l'exécution de workflow :
Create a custom React hook for workflow execution:
<Callout type="warning">
Lorsque vous utilisez le SDK dans le navigateur, veillez à ne pas exposer de clés API sensibles. Envisagez d'utiliser un proxy backend ou des clés API publiques avec des permissions limitées.
</Callout>
### Exemple de Hook React
Créez un hook React personnalisé pour l'exécution de workflow :
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/fr/sdks/typescript.mdx
Line: 704:710

Comment:
**logic:** untranslated English text found in French file - both the warning callout and "React Hook Example" heading remain in English

```suggestion
<Callout type="warning">
  Lorsque vous utilisez le SDK dans le navigateur, veillez à ne pas exposer de clés API sensibles. Envisagez d'utiliser un proxy backend ou des clés API publiques avec des permissions limitées.
</Callout>

### Exemple de Hook React

Créez un hook React personnalisé pour l'exécution de workflow :
```

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

Comment on lines 704 to +710
<Callout type="warning">
Bei der Verwendung des SDK im Browser sollten Sie darauf achten, keine sensiblen API-Schlüssel offenzulegen. Erwägen Sie die Verwendung eines Backend-Proxys oder öffentlicher API-Schlüssel mit eingeschränkten Berechtigungen.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### React Hook-Beispiel
### React Hook Example
Erstellen eines benutzerdefinierten React-Hooks für die Workflow-Ausführung:
Create a custom React hook for workflow execution:
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: untranslated English text found in German file - both the warning callout and "React Hook Example" heading remain in English

Suggested change
<Callout type="warning">
Bei der Verwendung des SDK im Browser sollten Sie darauf achten, keine sensiblen API-Schlüssel offenzulegen. Erwägen Sie die Verwendung eines Backend-Proxys oder öffentlicher API-Schlüssel mit eingeschränkten Berechtigungen.
When using the SDK in the browser, be careful not to expose sensitive API keys. Consider using a backend proxy or public API keys with limited permissions.
</Callout>
### React Hook-Beispiel
### React Hook Example
Erstellen eines benutzerdefinierten React-Hooks für die Workflow-Ausführung:
Create a custom React hook for workflow execution:
<Callout type="warning">
Achten Sie bei der Verwendung des SDK im Browser darauf, keine sensiblen API-Schlüssel preiszugeben. Erwägen Sie die Verwendung eines Backend-Proxys oder öffentlicher API-Schlüssel mit eingeschränkten Berechtigungen.
</Callout>
### React-Hook-Beispiel
Erstellen Sie einen benutzerdefinierten React-Hook für die Workflow-Ausführung:
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/de/sdks/typescript.mdx
Line: 704:710

Comment:
**logic:** untranslated English text found in German file - both the warning callout and "React Hook Example" heading remain in English

```suggestion
<Callout type="warning">
  Achten Sie bei der Verwendung des SDK im Browser darauf, keine sensiblen API-Schlüssel preiszugeben. Erwägen Sie die Verwendung eines Backend-Proxys oder öffentlicher API-Schlüssel mit eingeschränkten Berechtigungen.
</Callout>

### React-Hook-Beispiel

Erstellen Sie einen benutzerdefinierten React-Hook für die Workflow-Ausführung:
```

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

@waleedlatif1 waleedlatif1 deleted the auto-translate/staging-merge-18438644873 branch October 13, 2025 17:37
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