Skip to content

Conversation

@iamanishroy
Copy link

LingoPad: Structure-Safe AI Translation for Developers

References #1761

Summary
Introduces LingoPad, a developer-focused playground that showcases the structural preservation capabilities of the lingo.dev SDK. It allows developers to translate JSON, HTML, and Plain Text while ensuring that keys, tags, and code structures remain perfectly intact.

Check out the Live Demo.

Screenshot

Screenshot

Lingo.dev SDK Features

  • localizeObject() — Demonstrates structural preservation for nested JSON objects. Keys remain untouched while only values are localized.
  • localizeHtml() — Showcases markup-safe translation. Translates text content within complex HTML without breaking tags, attributes, or class names.
  • localizeText() — High-quality contextual translation for raw text content.
  • fast Parameter — Implements the toggle between fast: true (Speed) and fast: false (Quality) to show model behavior differences.
  • Language Detection — Uses sourceLocale: null to leverage the SDK's automatic source language detection.

Tech Stack

  • Next.js 16 (App Router) & TypeScript
  • Monaco Editor — For a VS Code-like editing experience with syntax highlighting.
  • Tailwind CSS — Premium, dark-mode focused UI/UX.
  • Lucide Icons — Modern iconography for toolings and indicators.

@sumitsaurabh927
Copy link
Contributor

hi @iamanishroy your PR is missing changeset. Please add the changeset by following instructions here. Make sure you've joined our discord to see this message. If you haven't you need to:

  1. Join our discord here
  2. Go through the instructions to add changeset and add it to your PR

Please also sign your commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants