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(i18n): update translations (#1896)

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 Nov 11, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Nov 11, 2025 8:59pm

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Nov 11, 2025

Greptile Overview

Greptile Summary

Automated translation updates for loop block documentation across 5 languages (German, Spanish, French, Japanese, Chinese). Changes refine descriptions and update code examples to use consistent variable syntax ({"<variable.i>"}) instead of generic placeholders.

Key changes:

  • While/Do-While loop descriptions improved for clarity across all languages
  • Code examples standardized with proper variable reference syntax
  • i18n.lock checksums updated to reflect content changes

Issue found:

  • Japanese translation (apps/docs/content/docs/ja/blocks/loop.mdx:110-128) contains duplicate Do-While loop explanation and code example, with the second instance using outdated format

Confidence Score: 3/5

  • Safe to merge after fixing the Japanese translation duplication issue
  • Score reflects that 5 out of 6 files have clean, accurate translations with proper formatting. However, the Japanese file contains a critical syntax error with duplicate content that needs correction before merging to avoid confusing documentation readers.
  • apps/docs/content/docs/ja/blocks/loop.mdx requires immediate attention to remove duplicate Do-While loop content (lines 121-128)

Important Files Changed

File Analysis

Filename Score Overview
apps/docs/content/docs/de/blocks/loop.mdx 5/5 German translation updated with improved clarity and consistent code examples using variable syntax
apps/docs/content/docs/es/blocks/loop.mdx 5/5 Spanish translation refined with better wording and updated code examples
apps/docs/content/docs/fr/blocks/loop.mdx 5/5 French translation improved with minor phrasing adjustments and updated code examples
apps/docs/content/docs/ja/blocks/loop.mdx 2/5 Japanese translation contains duplicate content in Do-While section and removed Best Practices section
apps/docs/content/docs/zh/blocks/loop.mdx 5/5 Chinese translation updated with improved formatting and consistent variable syntax

Sequence Diagram

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

    Dev->>Repo: Merge PR #1887 (English docs changes)
    Repo->>GH: Trigger translation workflow
    GH->>Lingo: Send updated English content
    Note over Lingo: Translate to 5 languages<br/>(DE, ES, FR, JA, ZH)
    Lingo->>GH: Return translated content
    GH->>Repo: Update translation files
    GH->>Repo: Update i18n.lock checksums
    GH->>Repo: Create PR #1899
    Note over Repo: Automated translation PR<br/>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 (1)

  1. apps/docs/content/docs/ja/blocks/loop.mdx, line 110-128 (link)

    syntax: duplicate explanation and code example

    The description and code example appear twice (lines 110-119 and 121-128). The second occurrence (lines 121-128) uses outdated "Do-While Loop" format instead of the updated format with variable references.

    Example: Do-while {"&lt;variable.i&gt;"} &lt; 10
    - Execute blocks
    - Inside loop: Increment {"&lt;variable.i&gt;"}
    - Inside loop: Variables assigns i = {"&lt;variable.i&gt;"} + 1
    - Check condition → Continue if true
    - Check condition → Exit if false
    ```
    
    
    

5 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit 7c398e6 into staging Nov 11, 2025
9 checks passed
@waleedlatif1 waleedlatif1 deleted the auto-translate/staging-merge-19278258521 branch November 11, 2025 20:59
waleedlatif1 added a commit that referenced this pull request Nov 12, 2025
waleedlatif1 added a commit that referenced this pull request Nov 12, 2025
@waleedlatif1 waleedlatif1 mentioned this pull request Nov 12, 2025
10 tasks
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