Content Exclusions, Linguistic Filtering & Localized Media
Protect brand names, pricing tables, and code snippets from translation via .notranslate and translate="no", plus localized image replacement.
Apply any of the following standard HTML attributes or classes to bypass translation for that element and all its children.
| Parameter | Type | Default | Description |
|---|---|---|---|
.notranslate, .no-translateoptional | CSS Class | — | Industry standard exclusion classes recognized by MultiLipi edge proxy and client TreeWalker. |
.t-avoid, .mlp-uioptional | CSS Class | — | MultiLipi internal exclusion classes protecting UI switchers and designated non-translatable blocks. |
translate="no"optional | HTML Attribute | — | Standard HTML5 attribute. MultiLipi respects this attribute case-insensitively across both server Flight and client DOM. |
notranslate, data-no-translateoptional | HTML Attribute | — | Boolean attributes that exempt an element from translation. |
<!-- 1. Exclude brand name using CSS class -->
<span class="notranslate">Acme Cloud Corp</span>
<!-- 2. Exclude user comments using translate="no" -->
<div translate="no">
<p>User-generated feedback that must remain in original language.</p>
</div>
<!-- 3. Dynamic input placeholder exclusion -->
<input type="text" placeholder="Coupon Code" notranslate />MultiLipi replaces image sources, srcset attributes, and alt tags for localized graphics (such as translated diagrams).
• In the MultiLipi Dashboard under "Media Translation", assign localized replacement image URLs for specific target languages.
• The edge proxy and client script replace <img> src, <picture> <source> srcset, and alt attributes automatically when rendering in that language.
Mutate DOM elements by CSS selector per-page or site-wide across translated pages without altering origin CMS templates.
| Parameter | Type | Default | Description |
|---|---|---|---|
replace_inneroptional | Action | — | Replaces inner HTML content of elements matching a CSS selector. |
insert_before / insert_afteroptional | Action | — | Injects custom localized HTML markup immediately before or after matching elements. |
hideoptional | Action | — | Applies display: none !important to hide region-specific elements on target languages. |
Manage WPCode-style modular HTML/JS snippets in MultiLipi, callable via shortcodes: [mlp_snippet id="key"].
• Store language-scoped HTML snippets in the dashboard (e.g. EU regulatory notices, regional payment logos).
• Reference in CMS content or templates with [mlp_snippet id="eu_notice"]. MultiLipi dynamically renders the matching language version.
Related Technical Guides & Next Steps
JavaScript integration (LiveJS)
Install the dashboard-generated script and check the language switcher on your website.
Edit translations in context
Open a translated page in the visual editor, change its wording, and review the result in the page layout.
Need Architecture Guidance for Your Production Stack?
Our engineering team assists enterprise clients with custom reverse proxy configurations, edge caching strategies, and white-label deployments.