Versión 0.5.7 - Widgets Pluggable


Octopus by Dr. Dwayne Meadows, NOAA/NMFS/OPR

Paul está a ser entrevistado polo equipo Transposh

Invitados Paulo, o polbo á Transposh por un par de cervexas a consecuencia da súa máis recente éxito na Copa do Mundo. Pedimos a el para facer algunhas previsións para nós sobre a próxima versión de Transposh, e que despois de beber moito, era realmente cooperativa, tivemos a oportunidade de facer unha entrevista exclusiva con el.

Primeiro, pregunta-lle sobre a nova versión do Transposh, o con soporte para escribir o seu propio idioma widget (quero saber como? vaia o noso Widget escrita manual). El dixo que, como un polbo que realmente lle gusta cousas con sockets ou cousas que son de calquera xeito pluggable, así, el previu este recurso será un gran éxito (despois de ver o widget javascript baseado mostra). Tamén nos deu un aviso xusto que se alguén perde as etiquetas ul (e saben o que supuxo) poden rapidamente seu código propio widget.

Tras esta parte quedou tranquilo, e lembrou-nos por piscadinha que os polbos non podo falar. Entón decidimos ir para as dúas caixas de artificio, poñemos unha caixa cunha fermosa imaxe dun gran, e outro con unha foto de un recurso (Abril?), e esperamos que abrise calquera caixa que entender. Por suposto, el abriu a caixa erro, que vimos como unha razón para escribir o aviso normal que Bugs poden ata escapar ao noso proba (mesmo coa axuda dun profeta oito armado traballando para nós no QA). Tamén aproveitou a oportunidade para escribir unha guía rápida sobre como obter unha versión de desenvolvemento para a depuración no noso wiki.

E a última nota, Quen quere dar unha man (ou pernas), ou quere compartir a súa creación widget co mundo é máis que ben benvida para contactar.

Disfruta xogo de hoxe, as preguntas para Paul será enviada directamente para el.

PS – partes habituais correccións de erros están en, fixa algúns idiomas no MSN traducir e engadiu algunhas linguas para as configuracións (aínda non é auto traduzível – pero será en breve)

Actualizar: grazas a un erro crítico en ocasións atopar, 0.5.6 foi pronto substituído por 0.5.7 grazas por todos aqueles que informaron esta, con agradecemento especial a dgrut.

, , , , ,

  1. #1 por dgrut en Xullo 11, 2010 - 5:57 no

    got error when update :

    Aviso: 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

    Erro moi grave: 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

    • #2 por ofer en Xullo 11, 2010 - 11:25 no

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

      • #3 por dgrut en Xullo 11, 2010 - 4:15 pm

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

  2. #4 por Craig en Xullo 11, 2010 - 6:52 no

    Latest update crashed my site!

    • #5 por ofer en Xullo 11, 2010 - 11:30 no

      Grazas pola información, 0.5.7 is out to fix thissorry about the troubles

  3. #6 por Terence en Xullo 11, 2010 - 7:45 no

    The plugin does not have a valid header.

    • #7 por ofer en Xullo 11, 2010 - 11:40 no

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

      • #8 por Terence en Xullo 26, 2010 - 2:14 pm

        The updated did the trick. Moitas grazas. 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.

        • #9 por ofer en Xullo 29, 2010 - 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 ;)

  4. #10 por Claudio castelos en Xullo 11, 2010 - 10:25 no

    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..

    • #11 por ofer en Xullo 11, 2010 - 11:29 no

      Grazas pola información, 0.5.7 is out to fix this

  5. #12 por Tib en Xullo 12, 2010 - 1:33 pm

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

    • #13 por ofer en Xullo 12, 2010 - 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.

  6. #14 por Timo en Xullo 15, 2010 - 3:59 pm

    Why Google will not translate the new language?
    Versión 0.5.7 updated 2010-Jul-01 (hy,az,eu,ka,ur) Grazas

    • #15 por ofer en Xullo 15, 2010 - 4:05 pm

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

  7. #16 por Thế Định Trịnh en Xullo 18, 2010 - 10:27 no

    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.

    • #17 por ofer en Xullo 21, 2010 - 12:38 no

      Ola

      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

  8. #18 por Atomboy en Xullo 18, 2010 - 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 versión.

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

    • #19 por ofer en Xullo 19, 2010 - 12:33 no

      Ola alí

      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

  9. #20 por pam en Xullo 18, 2010 - 6:52 pm

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

    • #21 por ofer en Xullo 19, 2010 - 12:29 no

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

  10. #22 por Marko en Xullo 18, 2010 - 10:27 pm

    Ola
    With my previous comment I just prove something I could hardly believeyour really great plugin seems to have a major bug, it switch to default language after commentingin 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 thisI am just hoping that this is somehow happening only to me
    Anyway thanks for a best translation plugin
    Marko

    • #23 por ofer en Xullo 19, 2010 - 12:27 no

      Ola,

      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

      • #24 por scanzin en Xullo 19, 2010 - 1:00 pm

        Hello Sir

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

        • #25 por ofer en Xullo 21, 2010 - 12:37 no

          I can only try to help if you provide more details

      • #26 por Marko en Xullo 20, 2010 - 4:08 no

        Hi it’s me again
        Although I am not even a close to be programmer I managed to get this to workthat 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:

        insert_in_arr función($matriz, $new_element, $Índice) {
        $start = array_slice($matriz, 0, $Índice);
        $= Fin array_slice($matriz, $Índice);
        $comezar[] = $ New_element;
        $new_url_arr = array_merge($comezar, $que);
        $new_url = implodiu(“/”, $new_url_arr);
        return $ new_url;
        }

        $Referral = $ _SERVER['HTTP_REFERER'];
        $url_arr = explota(“/”,$envío);
        $code = $ url_arr[3];
        se(strlen($código) != 2){$code = ”;}

        wp_redirect(insert_in_arr(explotar(“/”,$location), $código, 3));

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

        • #27 por ofer en Xullo 20, 2010 - 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

        • #28 por ofer en Xullo 21, 2010 - 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

          Disfrutao

  11. #29 por dgrut en Xullo 19, 2010 - 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, di :

    The plugin does not have a valid header.

    how to solve this.

  12. #30 por Josh en Xullo 23, 2010 - 3:15 pm

    Hey Ofer -

    potentially this product looks great. I’m using WP 3.0 and the Headway theme 1.6 – e … 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 widgetand 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.

    En segundo lugar, on other pages if you attach the /?lang=ru in the address barit’ll simply read the page ignoring the function call.

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

    Enjoy mate

    • #31 por ofer en Xullo 28, 2010 - 10:42 pm

      Ola,

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

  13. #32 por Terence en Xullo 26, 2010 - 3:41 no

    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?

    • #33 por ofer en Xullo 29, 2010 - 4:22 pm

      Ola,

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

  14. #34 por Jason en Xullo 29, 2010 - 6:09 pm

    Ola- I am using transposh on a new blog I am developingI 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?

    Segunda pregunta: 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. Porén, 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

    PS. Sentímolo, double post: forgot to include the website address

    • #35 por ofer en Xullo 29, 2010 - 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.

      • #36 por Jason en Agosto 2, 2010 - 11:26 pm

        Ola, 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! Porén, I have updated and still do not see any improvement on the “Editar Tradución” option for me. I have tried on multiple browsers/configurations with no luckThis 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, con todo, 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

        • #37 por ofer en Agosto 2, 2010 - 11:35 pm

          Ola,

          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, con todo – 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)

          Boa sorte

(non será publicado)