# xnx3/translate

AI i18n, Two lines of js realize automatic html translation. No need to change the page, no language configuration file, no API key, SEO friendly!

Repository: https://github.com/xnx3/translate
Canonical: https://ross.abutalabs.com/products/translate
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-26T09:45:03+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 69, longevity 94
- inputs: {"age_days": 1324, "days_push": 7, "days_rel": 204, "gap_med": 29.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3058, forks 479 (observed 2026-08-28T04:07:41.066844+00:00)

## What it is
translate.js is a JavaScript library that adds automatic HTML page translation with just two lines of code, scanning the DOM and translating text without language configuration files or API keys. It supports hundreds of languages, SEO-friendly operation, caching, and optional private deployment of its translation API service.

## Use cases
- add multi-language support to an existing website without rewriting pages
- automatically translate html content for international visitors
- let users switch website language with a dropdown selector
- translate dynamically injected dom content
- privately deploy a translation service for intranet or government sites
- avoid maintaining per-language i18n configuration files

## When to choose
- you want instant i18n on an existing static or server-rendered site with minimal code changes
- you have no budget or desire to manage language files and translation keys
- SEO must remain unaffected since crawlers see original source
- you need self-hosted translation for privacy-restricted environments

## When to avoid
- you need precise, human-reviewed translations of application strings
- your app is a SPA framework where you want build-time i18n tooling like i18next
- you require offline translation without any service endpoint

## Facets
- artifact type: library
- maturity: active
- function: internationalization, nlp
- domain: web-development, frontend
- platform: browser
- tags: translate-js, html-translation, machine-translation, seo-friendly, client-side-i18n, language-switching, localization, web-server

## Member repositories
- xnx3/translate (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.066844+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:48.400032+00:00, confidence not recorded.
  - readme: https://github.com/xnx3/translate (fetched 2026-08-28T04:07:41.066844+00:00, sha 9435171cf736)
- Data as of 2026-08-30T08:39:29.467469+00:00.
