notranslate
No Translate adds a CKEditor 5 toolbar button that wraps selected text in class="notranslate"> so translation services such as GTranslate and Google Translate can skip specific words or phrases.
This is useful for brand names, product names, abbreviations, and other text that should remain unchanged when a site is translated.
Features
- CKEditor 5 toolbar button
- Toggle selected text on and off
- Supports "click then type" behavior like Bold/Italic
- Admin-side icon support for the CKEditor 5 toolbar configuration UI
- Drupal 10.3+ and Drupal 11 support
Post-Installation
1. Enable the module.
2. Edit a text format that uses CKEditor 5.
3. Drag the "No Translate" button into the active toolbar.
4. Save the text format.
The button then allows editors to wrap text in: <span class="notranslate">...</span>.