Version 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

For example, this:
[tp widget="flags/tpw_flags_css.php"]

Will display:

, ,

  1. #1 by pspcustomfirmware on August 2, 2012 - 6:57 pm

    Can you tell me if this plugin uses Curl or libcurl ?

    • #2 by ofer on August 2, 2012 - 8:31 pm

      I think its libcurl with the phpcurl library functions

  2. #3 by Josh on August 15, 2012 - 8:45 am

    Hi.
    When are you going to release a new version, with all the patches?

    Cya

    • #4 by ofer on August 15, 2012 - 11:36 am

      As soon as it is ready… :)

  3. #5 by Vladimir on September 11, 2012 - 8:37 am

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

    Thanks.

    • #6 by ofer on September 11, 2012 - 12:31 pm

      You can see all the details about the shortcodes on http://trac.transposh.org/wiki/ShortCodes.

      I don’t know if it can be used inside the built-in menus, but you can always try.

      If flags won’t display, send the url in reply and I’ll be happy to look at it.

      Best

      • #7 by Vladimir on September 16, 2012 - 6:42 pm

        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. For example, how to remove some flags, change formatting, display drop-down, etc.?

        Thank you!

        • #8 by ofer on September 16, 2012 - 10:16 pm

          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

          • #9 by Vladimir on September 17, 2012 - 6:08 pm

            Sorry, didn’t include the link. It’s http://bit.ly/QnJWAf
            Still no flags though.

  4. #10 by Vladimir on September 17, 2012 - 6:18 pm

    Excuse me, how should I address you, maybe by your first name?

    Just remembered, from a very long time ago, since I installed transposh plugin, when it’s activated, the left menu in the Dashboard disappears. When plugin is deactiveated, the menu appears again. Do you have an idea why?
    Here’s a screenshot
    http://s10.postimage.org/jlf56erhl/2012_09_17_19_21_06.png

  5. #11 by Vladimir on September 28, 2012 - 6:04 pm

    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!

(will not be published)


Current ye@r *