Skip to content

feat(i18n): update translations - #1899

Merged
waleedlatif1 merged 1 commit into
stagingfrom
auto-translate/staging-merge-19278258521
Nov 11, 2025
Merged

feat(i18n): update translations#1899
waleedlatif1 merged 1 commit into
stagingfrom
auto-translate/staging-merge-19278258521

Conversation

@waleedlatif1

Copy link
Copy Markdown
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

vercelBot commented Nov 11, 2025

Copy link
Copy Markdown

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

ProjectDeploymentPreviewCommentsUpdated (UTC)
docsReadyReadyPreviewCommentNov 11, 2025 8:59pm

@greptile-apps

Copy link
Copy Markdown
Contributor

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

FilenameScoreOverview
apps/docs/content/docs/de/blocks/loop.mdx5/5German translation updated with improved clarity and consistent code examples using variable syntax
apps/docs/content/docs/es/blocks/loop.mdx5/5Spanish translation refined with better wording and updated code examples
apps/docs/content/docs/fr/blocks/loop.mdx5/5French translation improved with minor phrasing adjustments and updated code examples
apps/docs/content/docs/ja/blocks/loop.mdx2/5Japanese translation contains duplicate content in Do-While section and removed Best Practices section
apps/docs/content/docs/zh/blocks/loop.mdx5/5Chinese 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

@greptile-appsgreptile-appsBot left a comment

Copy link
Copy Markdown
Contributor

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 stagingNov 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
@waleedlatif1waleedlatif1 mentioned this pull request Nov 12, 2025
10 tasks
Sign up for freeto 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.

1 participant

@waleedlatif1