Transposh - Breaking language barriers

The transposh.org wordpress plugin showcase and support site

  • Home
  • Contact us
  • Download
  • FAQ
    • Donate
  • Tutorial
    • Widget Showcase
  • About

Version 0.5.7 – Pluggable widgets

July 11, 2010 by Ofer 37 Comments

Octopus by Dr. Dwayne Meadows, NOAA/NMFS/OPR
Paul is being interviewed by Transposh team

We invited Paul the octopus to Transposh for a couple of beers following his latest success in the world cup. We asked him to make a few predictions for us regarding the coming version of Transposh, and since after drinking too much he was really cooperative we had the chance to make an exclusive interview with him.

We first asked him about the new version of Transposh, the one with support for writing your own language widget (want to know how? go to our widget writing guide). He said that as an octopus he really likes things with sockets or things that are pluggable anyhow, so he predicted this feature will be a great success (after seeing the javascript based widget sample). He also gave us a fair warning that if someone misses those ul tags (and know what they meant) they can quickly code their own widget.

After that part he became kinda silent, and reminded us by winking that octopuses can’t really talk. So we decided to go for the two boxes trickery, we put a box with a nice picture of a big, and another one with a picture of a feature (huh?), and we waited for him to open whichever box he saw fit. Naturally he opened the bug box, which we saw as a reason to write the normal warning that bugs might even slip through our testing (even with the help of an eight armed prophet working for us on QA). We also used the opportunity to write a quick guide on how to get a development version for debugging on our wiki.

And last note, whoever wants to give us a hand (or leg), or wants to share his widget creation with the world is more than welcomed to contact us.

Enjoy today’s match, any questions to Paul will be forwarded directly to him.

P.S – usual share of bug fixes are in, fixed a few languages in msn translate and added a few languages to the settings (still not auto translatable – but will soon be)

Update: thanks to a critical bug found in some situations, 0.5.6 was promptly replaced with 0.5.7 thanks for all those who reported this, with special thanks to dgrut.

Filed Under: Release announcements Tagged With: bing (msn) translator, fake interviews, minor, release, widget, wordpress plugin

Comments

  1. dgrut says

    July 11, 2010 at 5:57 am

    got error when update :

    Warning: require_once(/home/sempajac/public_html/buyacomputer.info/wp-content/plugins/transposh-translation-filter-for-wordpress/widgets/) [function.require-once]: failed to open stream: Success in /home/sempajac/public_html/buyacomputer.info/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 114

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/*****/public_html/*****/wp-content/plugins/transposh-translation-filter-for-wordpress/widgets/’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/*****/public_html/*****/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 114

    Im reverting on previous version now

    Reply
    • ofer says

      July 11, 2010 at 11:25 am

      Thanks for reporting this, just released a fixed version at 0.5.7

      Reply
      • dgrut says

        July 11, 2010 at 4:15 pm

        upgraded to 0.5.7 and going smooth.
        Thanks for the support.

        Reply
  2. Craig says

    July 11, 2010 at 6:52 am

    Latest update crashed my site!

    Reply
    • ofer says

      July 11, 2010 at 11:30 am

      Thanks for reporting, 0.5.7 is out to fix this… sorry about the troubles

      Reply
  3. Terence says

    July 11, 2010 at 7:45 am

    The plugin does not have a valid header.

    Reply
    • ofer says

      July 11, 2010 at 11:40 am

      Thanks for reporting this, just released a fixed version at 0.5.7, let me know if there are other issues

      Reply
      • Terence says

        July 26, 2010 at 2:14 pm

        The updated did the trick. Many thanks. One other problem I have with Transposh is that the widget only allows a single instance. Can I edit this somewhere to create more than one instance? The reason is that I have a static front page and I have to choose whether to set the language there or on the rest of the pages. It means someone either hast to find Transposh on the front page from inside the blog/buddypress pages, or visitors arriving at the front page won’t know that they can choose a language to read in. Not an easy choice.

        Reply
        • ofer says

          July 29, 2010 at 4:18 pm

          You can use the code that is mention in the FAQ to add more instances. please create a ticket about this in the trac 😉

          Reply
  4. claudio castelli says

    July 11, 2010 at 10:25 am

    activating it it gives me the error: plugin doesen’t have a valid header. going to the site, i have blank screen of death. stickyng with previous version..

    Reply
    • ofer says

      July 11, 2010 at 11:29 am

      Thanks for reporting, 0.5.7 is out to fix this…

      Reply
  5. Tib says

    July 12, 2010 at 1:33 pm

    I want to see some blogs or websites translated if you know. thanks.

    Reply
    • ofer says

      July 12, 2010 at 10:53 pm

      Many exist, google for transposh and find them, maybe we’ll add a showcase here later, anyone proud of his site is welcomed to respond to this with a link.

      Reply
  6. Timo says

    July 15, 2010 at 3:59 pm

    Why Google will not translate the new language?
    Version 0.5.7 updated 2010-Jul-01 (hy,az,eu,ka,ur) Thanks

    Reply
    • ofer says

      July 15, 2010 at 4:05 pm

      Google do not yet support it in their current developers api, so we are waiting.

      Reply
  7. Thế Định Trịnh says

    July 18, 2010 at 10:27 am

    hi admin, my site is now not translated, when i visit my site by translated language it show a white page, i don’t know the reasons. you can see it here:http://vnliebe.info/blog/vi/, thanks for all your supports.

    Reply
    • ofer says

      July 21, 2010 at 12:38 am

      Hi

      Blank pages are caused by errors, which wordpress suppresses, so you should take a look at your error log, something is probably appearing there that I might use to help…

      Reply
  8. Atomboy says

    July 18, 2010 at 6:29 pm

    For those who are getting the:

    Plugin does not have a valid header warning

    Try putting something like this:

    !DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”

    right at the top of the index.php file in the download.

    Not there on 0.5.7 version.

    Seems to cure it. Not sure if that code will come out.

    Reply
    • ofer says

      July 19, 2010 at 12:33 am

      Hello there

      This file can simply go away as well, I have no idea why it would cause any issue whatsoever as it is not something that wordpress should really touch
      please create a bug for this at our trac.transposh.org site, not that I know how we’ll handle this as we have no way to recreate such a bug

      Reply
  9. pam says

    July 18, 2010 at 6:52 pm

    I am getting 404 error on pages that were translated (and checked) a few days ago

    Reply
    • ofer says

      July 19, 2010 at 12:29 am

      Your site seems to work (at least now it does) what is/was the issue?

      Reply
  10. Marko says

    July 18, 2010 at 10:27 pm

    Hi
    With my previous comment I just prove something I could hardly believe … your really great plugin seems to have a major bug, it switch to default language after commenting … in fact it does not change action attribute on any form on the page …. What I can’t believe is that I could not find nothing on internet about this … I am just hoping that this is somehow happening only to me …
    Anyway thanks for a best translation plugin
    Marko

    Reply
    • ofer says

      July 19, 2010 at 12:27 am

      Hello,

      This could very well be, as I am quite sure there is no code to handle that situation that we have written so far, this actually looks that the filter comment_post_redirect should be written and use the posting page language to handle that, and although it is not of a critical priority, there are two things you can help if you want this solved.
      1. write this code 😉
      2. open a bug at http://trac.transposh.org describing the nature of the bug

      Thanks for reporting this and your willingness to help

      Reply
      • scanzin says

        July 19, 2010 at 1:00 pm

        Hello Sir

        URL translation is not working for my site. is thr any bug?

        Reply
        • ofer says

          July 21, 2010 at 12:37 am

          I can only try to help if you provide more details…

          Reply
      • Marko says

        July 20, 2010 at 4:08 am

        Hi it’s me again
        Although I am not even a close to be programmer I managed to get this to work … that why I could not believe that you leave that this long …
        Code below is not perfect in any way but works just fine with Rewrite URLs…/en/ system.
        All that had to be done is to replace last line of wp-comments-post.php file, which is

        wp_redirect($location);

        with this code:

        function insert_in_arr($array, $new_element, $index) {
        $start = array_slice($array, 0, $index);
        $end = array_slice($array, $index);
        $start[] = $new_element;
        $new_url_arr = array_merge($start, $end);
        $new_url = implode(“/”, $new_url_arr);
        return $new_url;
        }

        $referal = $_SERVER[‘HTTP_REFERER’];
        $url_arr = explode(“/”,$referal);
        $code = $url_arr[3];
        if(strlen($code) != 2){$code = ”;}

        wp_redirect(insert_in_arr(explode(“/”,$location), $code, 3));

        And that’s it… thing is that you probably can write this even shorter and better.
        Hope this will help someone until you implement it.
        Thanks again and by

        Reply
        • ofer says

          July 20, 2010 at 11:37 pm

          Thanks Marko,

          I will add code to the next version, will probably be a bit shorter, and I appreciate you picking the glove here.
          Credit goes to you, kudos for the work

          Reply
        • ofer says

          July 21, 2010 at 11:27 pm

          Patch (quite different) entered the code:
          see http://trac.transposh.org/changeset/457 which will be a part of the coming release

          Enjoy

          Reply
  11. dgrut says

    July 19, 2010 at 3:06 pm

    dear ofer,
    i installed new blog, then i install plugin transposh from inside wp-admin/plugin. i have an error during activate it after download, it says :

    The plugin does not have a valid header.

    how to solve this.

    Reply
  12. Josh says

    July 23, 2010 at 3:15 pm

    Hey Ofer –

    potentially this product looks great. I’m using WP 3.0 and the Headway theme 1.6 – and … it doesn’t work.

    I installed the plugin and, there was the invalid header error which was an easy fix by adding the !W3C code as suggested above.

    In the backend, it supposedly translates everything after configuring the options and reaches the end. I add the TRANSLATE widget – and click on the flag (in this case Russian) and what it does is…. either nothing. Or, it strips the css from my page, disables the javascripts and the page loads without any photos/translation/javascript hidden.

    Secondly, on other pages if you attach the /?lang=ru in the address bar…it’ll simply read the page ignoring the function call.

    Hope you can work those bugs out – as I’m in need of a high quality multi-language plugin..

    Enjoy mate

    Reply
    • ofer says

      July 28, 2010 at 10:42 pm

      Hello,

      I must ask if it works with other themes (default and such)?

      Reply
  13. Terence says

    July 26, 2010 at 3:41 am

    I notice now that when a user sets the language on the first page, if he changes to a different page, the language setting is lost and the page returns to the initial (default) language. I am sure this wasn’t broken before so its either something I have done, has happened in updating or, dare I say it, has crept in at your end. The environment is WP3/BP. Where to start looking Ofer?

    Reply
    • ofer says

      July 29, 2010 at 4:22 pm

      Hello,

      I don’t see that on your site, changed to Spanish, got to other pages… all seems ok

      Reply
  14. Jason says

    July 29, 2010 at 6:09 pm

    Hi- I am using transposh on a new blog I am developing… I am loving the functionality so far, but do have a few questions:

    I am trying to set up the blog so that I can write posts in English, and my girlfriend can write posts in German- then have all posts translated into either German, Spanish, OR English, regardless of the original language. This seems to work in version 0.5.1, however I then lose the functionality of being able to have to URLs translated, which I do very much appreciate. I have tried writing posts and wrapping them in langage tags so that they will de translated and not treated as the default language, but I can’t seem to get that to work properly. Perhaps I am doing something wrong? Can you offer any insights or possible solutions?

    Second question: I can’t seem to figure out how to work the editing function. I have enabled it in the settings and the checkbox appears in the widget. However, nothing seems to happen when I click it; the page simply re-loads with no apparent change. I have tried this out on your site and I see that it works as it should, so this is not a browser issue- I guess I am just setting something incorrectly, though I have tried many different combinations of settings to no avail.

    Any help much appreciated, and thanks in advance!!

    -Jason

    P.S. Sorry, double post: forgot to include the website address…

    Reply
    • ofer says

      July 29, 2010 at 6:48 pm

      Hello Jason,

      I was busy with the release of 0.6.0 which unfortunately will still not solve your first issue (which is solveable never the less), the idea is that we would allow to mark the original language of a complete post. for now what you should to is to wrap the posts with a span with the lang attribute, in your case span lang="de". I know this is awkward, will fix that in the future, please create a ticket for me if you want this to go faster.

      The second issue might be actually solved by today’s release, (on pure luck). If it doesn’t, just ping me and I will look deeper into this.

      Reply
      • Jason says

        August 2, 2010 at 11:26 pm

        Hi, thanks a lot for the reply- I had no idea you had released an updated version of the plugin, but sure enough there it was! However, I have updated and still do not see any improvement on the “Edit Translation” option for me. I have tried on multiple browsers/configurations with no luck… This is not a huge deal for me, though I would sure love the functionality if it did work.

        The other problem was solved using the span tags, however, I can’t find a way to use that to translate the titles, so they end up in the original language all the time. Is there any way to add the lang=”xx” code to the template files and fill in xx with the appropriate language code using custom fields when writing the post?? Forgive me if I am going in the wrong direction here, but have have ZERO coding skills. Is there an easier/better way?

        Thanks again for the help, and glad to see this plugin rapidly improving.

        -Jason

        Reply
        • ofer says

          August 2, 2010 at 11:35 pm

          Hello,

          Regarding the first issue, javascript seems a bit messy on your site, just look at the site using firebug and the errors will be quite visible, the first one being is that the jQuery global looks mia. Maybe you should try and disable wp_speedy_something?

          Regarding marking posts for different languages, on the todo list, my guess is that you can currently add the span directly to the title in the database or do some other tricky stuff, however – I would not recommend going that way, just wait for the next version (I’ll mail you once the code hits the svn if you want to try an intermediate version)

          Good luck

          Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Translation

🇺🇸🇸🇦🇧🇩🏴󠁥󠁳󠁣󠁴󠁿🇨🇳🇹🇼🇭🇷🇨🇿🇩🇰🇳🇱🇪🇪🇵🇭🇫🇮🇫🇷🇩🇪🇬🇷🇮🇳🇮🇱🇮🇳🇭🇺🇮🇩🇮🇹🇯🇵🇮🇳🇰🇷🇱🇻🇱🇹🇲🇾🇮🇳🇮🇳🇳🇴🇵🇱🇵🇹🇵🇰🇷🇴🇷🇺🇷🇸🇸🇰🇸🇮🇪🇸🇸🇪🇮🇳🇮🇳🇹🇭🇹🇷🇺🇦🇵🇰🇻🇳
Set as default language
 Edit Translation

Sponsors

We would like to thank our sponsors!

Collectors of stamps, coins, banknotes, TCGs, video games and more enjoy Transposh-translated Colnect in 62 languages. Swap, exchange, mange your personal collection using our catalog. What do you collect?
Connecting collectors: coins, stamps and more!

Recent Comments

  1. fhzy on Version 1.0.9.5 – Fighting the code rotApril 24, 2025
  2. Stacy on Version 1.0.9.5 – Fighting the code rotApril 8, 2025
  3. wu on Version 1.0.9.5 – Fighting the code rotApril 5, 2025
  4. Lulu Cheng on Version 1.0.9.5 – Fighting the code rotMarch 30, 2025
  5. Ofer on Version 1.0.9.5 – Fighting the code rotMarch 30, 2025

Tags

0.7 0.9 ajax bing (msn) translator birthday buddypress bugfix control center css sprites debug donated translation donations emoji fake interviews flags flag sprites full version gettext google-xml-sitemaps google translate major minor more languages parser professional translation release rss securityfix SEO shortcode shortcodes speed enhancements start themeroller trac ui video widget wordpress.org wordpress 2.8 wordpress 3.0 wordpress MU wordpress plugin wp-super-cache xcache

Development feed

  • Releasing 1.0.9.6
    April 5, 2025
  • Minor code improvements to edit interface and remove some deprecation…
    March 22, 2025
  • Fix undefined array key
    March 18, 2025
  • Finally support jQueryUI 1.14.1, shorten code nicely
    March 17, 2025
  • Releasing 1.0.9.5
    March 15, 2025

Social

  • Facebook
  • Twitter

Design by LPK Studio

Entries (RSS) and Comments (RSS)

Copyright © 2025 · Transposh LPK Studio on Genesis Framework · WordPress · Log in