coderef

translateBaseline · Widely available

The translate HTML attribute marks whether an element's text should be translated.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 14, 2023. Widely available since Sep 14, 2025.

Browser support

DesktopChrome
1–18Not supported
19+Supportedsince May 15, 2012
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–110Not supported
111+Supportedsince Mar 14, 2023
Current: 157
Safari
1–5.1Not supported
6+Supportedsince Jul 25, 2012
Current: 27
MobileChrome Android
18–18Not supported
25+Supportedsince Feb 27, 2013
Current: 155
Firefox Android
4–110Not supported
111+Supportedsince Mar 14, 2023
Current: 157
Safari iOS
1–5Not supported
6+Supportedsince Sep 10, 2012
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: translate.

Feature detection

JS · check before using
if ("HTMLElement" in globalThis && "translate" in HTMLElement.prototype) {
  // HTMLElement.translate is available
}

Sub-features

Support for each part of the feature (2). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
HTMLElement.translate19791116251116
translate19791116251116