Advanced Features

Switching displayed language - javascript API

With Localizer, you can use our custom Switch Language javascript code to switch your user to their desired language programmatically. For example, if you receive a new sign up and recognize the user's language preference is French, your developer can place the relevant language code into the backend of your system and ensure that your user is displayed content in that language upon login. The Switch Language code can also be added in instances where you don't want your user to change languag...

Static Link Syntax

When you translate your site and add sub domains, this changes the sub domain for every static link also. For SEO purposes, some static links need to retain their original domain. For example, a link back to the English version of your site should not change to fr.yoursite.com when someone is browsing the French version. To ensure your static links on translated versions of your site keep the correct sub domain, enter the below code in front of the static link: a data-tbkeephostname=“true” ...

Localizer Language Code Detection

The below Javascript will return the language code that Localizer is currently using and can be very useful if you are running any support apps.If you don't want to run this Javascript, you can also get the language code by using a cookie called tbLang. window.Localizer.GetLanguage()

Detect and Ignore Page Elements

While Localizer provides regular users with the ability to detect or ignore certain phrases or pages, there is a more in-depth function available to developers. By entering the code below, you can detect a specific page element as a single, translatable phrase, or choose to ignore it. Simply tweak to "detect" or "ignore" depending on what action you want to take. This can be useful if there is a table or headline that you'd like to keep in its original language, or just to translate on its own....

Exact URL Search

A standard feature of Localizer is the ability to search for specific words or phrases in your indexed content. This is done by entering your search query in the search bar on your Phrases tab as below: Localizer also provides a more sophisticated search function that allows you to locate specific URLs and pages. Simplyfollow the steps below: 1Click on the Advanced button under the search bar to bring up additional search options. 2Enter your under Filter by URL, including quotation marks ...

Integration Code Modes

The Localizer integration code is extremely flexible and can be customized to meet the needs of your website. Here are two ways you can adjust the code: A. Cache All Language Data With this function, you can cache all the data on your website for whatever language you translate to. This means that translated data for the entire website will be stored in a user’s browser and ready to display once they visit any page, reducing load times. You can also choose to turn this off. Once turned o...