How does qtranslate-X deal with dynamic content?

How does qtranslate-X deal with dynamic content?

In theory, it could be handled by po/mo files, but in an insanely inconvenient way. To deal with dynamic content, qTranslate-X provides language switching buttons on applicable admin editing pages, which, once pressed, make all the text of multilingual fields to be filled with the language chosen.

Where do I enter the class name in qtranslate-X?

However, you may enter “id” or “class” name attribute of those fields into “Custom Fields” section of “Languages” configuration page in “Settings”, and they will then respond to the language switching buttons allowing you to enter different text for each language.

How to set the default language in qtranslate-X?

Configure desirable languages. Go to page “Settings/Languages” ( /wp-admin/options-general.php?page=qtranslate-x ), open section “Languages” and enable languages you wish to use on your site. Designate one of them to be the default, using option “Default Language / Order” in section “General Settings”.

Is the LSB function still used in qtranslate-X?

This function used to deal with multiple input lines per language, which qTranslate-X does not use anymore. That multi-line framework is now replaced with Language Switching Buttons (LSB). Please, ask the authors of those themes and plugins to update their code, if you encounter one of those cases.

What happens when qtranslate-X plugin is disabled?

However, once the plugin is running and all other conflicting plugins are disabled, you can turn on option “Compatibility Functions” and a number of former qTranslate methods with prefix qtrans_ become available again. This ensures compatibility with other plugins and themes that used direct calls to qTranslate methods in their code.

How to add custom filters to qtranslate-X?

If this is a case, then one can put ‘name_of_filter’ into “Custom Filters” option of qTranslate-X to make such field appear translated at the front-end. Read Integration Guide for more information on how to integrate qTranslate-X with a 3rd-party plugin or a theme.