Skip to main content

Default Translatable Content in the GDN

The following image is an example website highlighting the default translatable content in blue and non-translatable content in orange.

GDN sample code.png

Translatable Content

  1. Alt, title, or placeholder tags, attributes & metadata.

  2. "Normal" body, div, or paragraph content.

Non-translatable Content

  1. Attributes other than alt, title, placeholder, are not translated by default.

  2. Any content proceeding a "notranslate" class or ID, or translate=”no” attribute, or ‘sl_opaque’ class on a containing element.

  3. ‘value’ attribute of an <input> element is not translated without a translate class added to the element.

  4. Any text embedded in an image.

  5. JSON strings are not translated, unless the "sl:translate" directive is included.
    ​

Tip: For more information on how you can control translatable content, read Methods to Control Global Delivery Network Behavior

Did this answer your question?