Translator Revolution Pro (PHP script)

 

  1. Translate Albert.

    • Initializing translator, please wait a moment...
    • Initializing translator, please wait a moment...
    • Specific areas of the web page can be translated using the following setting: target_selectors
      Different skins can be specified using the following setting: skin
  2. Translate Albert. Then reload the page for automatic translation.

    • Initializing translator, please wait a moment...
    • Automatic translations are possible using the following setting: remember_auto_translate
      The swap button can be enabled using the following setting: bar.show_swap_button
  3. Translate the whole page except the translators.

    • Initializing translator, please wait a moment...
    • Parts of the web page can be excluded from the translation using the following setting: exclude_selectors
      CSS3 effects can be applied using the following setting: show_css3
      Remember, CSS3 is available in modern browsers only.
  4. How hard is to get this working?

    • Actually, It's pretty easy. All these translators are generated with only a couple lines of code, for instance:
    • Initializing translator, please wait a moment...
    • <?php
      require_once dirname(__FILE__) . '/translator/main.class.php';
      TranslatorManager::initialize('
          languages = Czech,Danish,Dutch,French,German,Italian,Russian,Spanish
          restore_button_label = <img src="images/back.gif" alt="Restore!" />
          bar.show = false
          tab.rows = 2
          tab.title_label = Translate Albert
      ');
      ?>