JavaScript integration (LiveJS)
Install the dashboard-generated script and check the language switcher on your website.
Copy the entire JavaScript snippet from the MultiLipi dashboard for the domain you are connecting. Paste it in the site-wide <head> or the equivalent head-code setting in your CMS, then publish the site.
The runtime exposes helper methods on the global window.MultilipiTranslation instance.
// Manually clear the persistent client translation cache
window.MultilipiTranslation.clearPersistentTranslationCache();
// Check if a specific language code uses Right-to-Left (RTL) script
const isArabicRTL = window.MultilipiTranslation.isLangRTL('ar'); // true
// Trigger dynamic RTL layout adjustment
window.MultilipiTranslation.applyRTL();
// Inject custom language-specific CSS dynamically
window.MultilipiTranslation.injectCSS('body { font-family: "Noto Sans JP", sans-serif; }');Open the published site, choose an enabled language, and verify the text on more than one page. Adjust the switcher’s position and appearance in the dashboard.
Related Technical Guides & Next Steps
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.
Troubleshoot an integration
Check a missing language switcher, a pending DNS record, or a translated page that does not load.
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.