Disable or Exclude Translation

How to disable or exclude translation for a page, folder or section inside a page

Written by Ishai Jaffe Updated over a week ago

In Bablic you can control which content you want translated and which doesn't. You can disable translation completely for specific pages or sections.

Disable translation for page or folder

Disabling a page or folder, means that the translation for this page will not show in the live website, you can still edit the content of the page in the Visual Editor or the Text Editor, and you can still send it to translation at any time.

In Dashboard -> Pages you'll see a list of pages and folders (turn on folders view by clicking the folder icon).

Select any page of folder to exclude. In the buttons above the list, you'll see "Exclude", click it.

If you have more than one language in your website, Bablic will ask you if you wish to exclude the current language or all languages.

If you wish to undo this, click "Include"

Disabling translation are done per language, so a page/folder can show translation for one language and hide the other

You can choose to start of from all pages/folders disabled, and specifically enable only selected pages/folders. To do so, click "Exclude All" in the page table on the right top side. Then you can choose which pages/folders to enable.

If all languages are disabled for a page, the language widget will not appear on that page at all.

Exclude Section In Page

By excluding a section in a page, we prevent Bablic from even "seeing" that section, and recording its content. This can be done via HTML, JS or Settings.

Exclude using HTML markup

If you have access to the website HTML, use the bablic-exclude markup to exclude any html element from translation. You can read more about that here.

Exclude using JS

If you have access to the website JS code, use bablic.selector().exclude() or bablic.element().exclude() to exclude selected elements in JS. You can read more about that here.

Excluding using Settings

If you know the CSS selectors of the elements to exclude, and you want to apply the exclusion to every page in the website, you can do it from Bablic Dashboard -> Settings -> Advanced Configuration -> Exclude elements. Simply type in the CSS selector of the elements to exclude. You can add as many selectors you want, all elements that match any of those selectors will be excluded.

Turn off machine translation for pages/folders/sections

Some users wants to keep translation abilities on a page, but just turn off machine translation for it. The best thing to do in that scenario is set machine translation to "Translate Per Request" in Dashboard -> Languages. This means that from this moment on Bablic will not translate using machine automatically without being requested specifically.

After you have set this you can select a page/folder to translate with machine. You can also use the Text Editor to query for text items, and machine translate only those items.