Cookbook RecipeAll Integrations

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.

Audience:Frontend Developers & Content Engineers

Apply any of the following standard HTML attributes or classes to bypass translation for that element and all its children.

ParameterTypeDefaultDescription
.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.
Excluded HTML Elementshtml
<!-- 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.

ParameterTypeDefaultDescription
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.

Display customizable translation disclaimer banners complying with international transparency requirements.

ParameterTypeDefaultDescription
Templatesoptional
UI Styles—corner_card (Floating Card), modal (Centered Modal), top_bar (Full-width Top Bar), bottom_bar, and cookiebot_box.
Cookie Expiryoptional
Persistence—Stores dismissal in cookie for 30 days (configurable). Supports localized message text and custom CSS.

Related Technical Guides & Next Steps

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.

Open Console