faʻamatalaga 0.8.3 – The widget’s shortcode

This version fixes some bugs and adds support for a nice shortcode that allows you to place the widget inside the post

Faataitaiga, lea:
[tp widget="flags/tpw_flags_css.php"]

Will display:


  1. Fai mai

    Ofer, hi!
    Where can we learn more about the shortcode?
    Faataitaiga, how to put it into WP built-in menus?
    And why flags don’t display when I use it (only the checkbox)?


      • Fai mai

        Here’s the link, and you can see the checkbox in the upper-right corner.
        And the shortcode I have is
        [tp widget="flags/tpw_flags_css.php"]

        By the way, in your article about shortcodes you mention this as one of the many uses of the widget, but there are no other instructions, how to modify it. Faataitaiga, how to remove some flags, change formatting, display drop-down, etc.?

        Thank you!

        • Fai mai

          I still didn’t get the link, please try the contact us form.
          regarding flag removal, the widget only shows the languages that you have configured it for in the settings.
          drop downs and other widgets may be chosen by using a different widget file, see the widgets subdirectory of the plugin

  2. Fai mai

    Here are a couple of suggestions which would GREATLY improve the plugin’s usability and make me recommend it to my co-workers and partners. (It might’ve been suggested before, but I haven’t found any info).
    1. Implement keyboard shortcuts and other methods to quickly switch to the next text block to manually translate on a page.
    2. Make the plugin understand e-mail addresses, URLs and other content that should not ever be translated.
    3. Include an option to copy-paste an entire page’s translation. Sometimes it’s easier to translate in an external editor, and sometimes you already have the translation ready.

    Will come back with more!

Tuua se tali

o le a le lomia lou tuatusi imeli. fanua manaomia ua faailogaina *