Translating

What should never be translated

Keep code, names, embeds and other selected content unchanged during translation.

What is skipped already

WPGlotty skips script and style contents, code blocks and attributes that are not text. It also skips content inside elements marked with translate="no" or the notranslate class.

Your own exclusions

Under WPGlotty → Exclusions, add CSS selectors, exact text or URL patterns. Selectors exclude matching elements, such as widgets, forms or booking embeds. Exact text is excluded wherever it appears. A URL pattern such as /downloads/* excludes whole pages.

Selectors match one element; descendant selectors containing a space or > do not work. For one page, tick “Do not translate this page” on the post.

Shortcodes and embeds

Shortcodes run before WPGlotty reads the page, so their output is translated with the rest of the content. You may need to exclude some output, such as a licence key, an API response or serialised data.

Wrap that output in an element and add its CSS selector to the exclusions list.