Útgáfa 0.8.0 – Árás á APIs


Þegar APIs berjast

Jæja framundan á frestinum sem stafar af Google Þýða API til að hætta að vinna, við vorum loks fær um að safna saman þessum nýja útgáfu. Þessi fylgt í langan tíma vandamál sem voru kynnt af eldri útgáfa, aðallega vegna þess að Google ákvað að sitja takmarkanir á notkun áður en frestur þeirra sem olli fyrri útgáfur styðja beiðnir um að bylgja í nýjar hæðir. The Google breyting kveiktu einnig API mörk í Bing þýðingu API, þar sem notendur voru að skipta vél, sem of mikið er Transposh harða dulmáli API lykill fyrir Bing.

Hins vegar, við lifað á þessu tímabili að veita þér nýjustu og mest útgáfu okkar. Þessi útgáfa fastur þessi vandamál er að veita framhjá (Proxy á Google og Temp lykla MSN) og það leyfir þér einnig að nota eigin lykil beint (þökk sé Randy frá spyware hjálparmiðstöð fyrir að veita okkur helstu sínum fyrir próf) sem mun ganga framar þeim öðrum aðferðum. Á meðan þessu við gátum verulega bæta innviði tappi, breyta því hvernig AJAX símtöl voru gerðar á aðferð sem er innfæddur maður til WordPress (td. Ef admin síðuna þína virkar, Það ætti líklega að vinna eins og heilbrigður). Þó gera að við gátum að draga javascript kóða sem þarf til að stuðningur meðan leyfa the þýða allar eiginleiki til að vinna mun hraðar (og styðja Apertium líka!).

Á þessum tímapunkti höfðum við traustan útgáfa, sem virtist eins gott að gefa út, en ekki, Við urðum að fá nokkrar aðrar aðgerðir í, þannig að við ákváðum að lokum að takast á við útgáfu mörgum tækjum stuðning (og titill val líka, yippee!). Virðast alveg beinn áfram? en ekki, Þetta olli mikil umrita innviða búnaður okkar eins og heilbrigður. Reyndar bæta það alveg harkalegur við að breyta því hvernig CSS var bætt, og hvernig búnaður tilkynnt the framreiðslumaður um breytingu á tungumáli (Við forðumst nú gagnslaus POST hringja í miðlara). Þó að skrifa að við vorum svo heppin að hrasa á PHP5.3 til PHP5.2 ósamrýmanleiki tölublað með a setja af öðrum vandamálum sem haldin gefa út okkar til baka aðra viku. Við viljum þakka þeim fjölmörgu notendur sem hafa sett upp með beta útgáfur okkar og hjálpaði okkur að finna vandamál sem voru falin samkvæmt lögum af kóða og margbreytileika.

Við tók líka þetta tækifæri til að breyta skilmálum okkar lítillega, Ef þú ert að birta Google auglýsingar frá AdSense á þýðing síðurnar þínar, við munum taka 1/1000 þess pláss til notkunar með eigin AdSense okkar, þannig að ef Transposh er að hjálpa þér að búa til tekjur á $ 10K þú verður að kaupa okkur kaffi! Svo takk! Til að skýra hlutina aðeins, Við bý ekki fleiri auglýsingar pláss á síðunni, og við munum ekki setja inn hvaða auglýsingar eða breyta síðuna þína, Ef þú hefur engar auglýsingar, við gerum ekkert. Ef þú heldur að þetta sé að spyrja of mikið, Þú getur einfaldlega eytt tappi okkar, flautu mjúkan lag, og vera á vegi þínum. Ef þú vilt auglýsing leyfi, Við seljum ekki þá enn, En þeir sennilega kosta meira.

Aðrar breytingar á þessari útgáfu er meðal annars:

  • Added Katalónska og hindí stuðning Bing – talar fyrir sig.
  • Listanum búnaður endurbætt CSS – það lítur reyndar miklu betra núna.
  • Stuðningur við Memcached – Ef APC og önnur felustaður opcode voru of mikið fyrir þig, Nú getur þú notað memcached og hafa a einhver fjöldi af gaman.
  • Betri 404 síðu meðhöndlun (bý ekki nýja tengla sem ekki eru með síður) – sem þýðir að Google vefskriðillinn vilja traust á síðuna þína minna.
  • Festa búrhvalur á cloudsites Rackspace – þeir höfðu x-skyndiminni sett upp fyrir skyndiminni opcode, en enginn notandi minni, sem leiddi til aukningar á logfiles – nú fast.
  • Margir fleiri minniháttar lagfæringar – Við gætum telja þá, en við höfum ekki nógu fingur.
  • Tyrkneska þýðingu Semih Yesilyurt.

Við vonum að þú njótir þessa útgáfu, og eins og alltaf, bíða eftir athugasemdum, hugmyndir, tillögur og eldi.

PS – Prófaðar á WordPress 3.3 beta4, virkar fínt.

, , , , , ,

  1. #1 eftir DART á Nóvember 29, 2011 - 7:18 á

    Short code call transposh widget does not work and causes fatal error

    - Banvæn villa: Call to undefined method transposh_plugin_widget:: transposh_widget () in on line 407

    Hvernig laga ég þetta? The whole site is not working after the update because of this error :(

    • #2 eftir ofer á Nóvember 29, 2011 - 7:42 á

      Hello There,

      Já, a bugplease replace the 407 line with:
      $GLOBALS['my_transposh_plugin']->widget->widget($args, $instance);
      and try again,

      It might also be worthwhile to know that you can send a param now defining the look of the plugin inside the $instance variable

      • #3 eftir DART á Nóvember 29, 2011 - 10:10 á

        Þakka þér! Yes this is debug code! But now displays listbox and I want to display flags. How to do it wrong so that flags are displayed.

        • #4 eftir ofer á Nóvember 29, 2011 - 12:15 promethium

          SInce I guess you are calling it like:
          transposh_widget();
          You should now call it something like:
          transposh_widget(array(), array('title' => 'Translation', 'widget_file' => 'flags/tpw_flags.php'));

          • #5 eftir DART á Nóvember 29, 2011 - 12:39 promethium

            Þakka þér!
            Everything has worked perfectly :)

          • #6 eftir Matt á Nóvember 29, 2011 - 12:45 promethium

            Hi I’m having the same problem. Where do I locate 407 line so I can replace it with the above debug code please? Takk

          • #7 eftir ofer á Nóvember 29, 2011 - 8:45 promethium

            its in the transposh_widget.php in the wp directory of the plugin, if you can’t manage, use the contact us form on this site and we’ll send you a fixed version

          • #8 eftir asf á Nóvember 29, 2011 - 1:06 promethium

            Takk, but how to load CSS?
            I use transposh_widget(array(), array(‘title’ => ‘Translation’, ‘widget_file’ => ‘flags/tpw_flags.php’));
            Flags are now, þó, does not load tpw_flags.css.

          • #9 eftir ofer á Nóvember 29, 2011 - 11:43 promethium

            Já, this is a tricky part,

            there are two ways to handle this, one is that I will think of some way to correct it (clueless) and the other is to add the widget to a sidebar you are not displaying which will force the addition of the css.
            This code was indeed quite tricky because now css is added (and aggregates) for all active widgets, and there is no way to know for sure which sidebars will display on which page, so active widgets are considered.
            an alternative way will be to force the addition of the correct css in the actual correct place in the execution of the page, which means adding an action on wp_print_scripts and for which executing the widget class add_transposh_widget_cssI think this will be too much work, so going with the hackerish way is not such a bad idea.

            good night

  2. #10 eftir John á Nóvember 29, 2011 - 9:55 á

    Hæ.
    Thanks for the work you do for us.
    Can you clarify where to find the API KEY to insert the plugin?
    Þakka þér.

    • #11 eftir ofer á Nóvember 29, 2011 - 12:08 promethium

      First, I will clarify that you currently do not need any keys and everything will work.
      I can tell you that the best way to find the keys is to use a search engine to find them, just look forX translate API Keywhere X is the name of your favorite one,
      I am not posting direct links because:
      1. They constantly change their urls, and don’t bother to update anybody, so I don’t want to mislead future readers
      2. I am not getting paid for referring to them, nor do I think it is needed that you do that
      3. I am being a bit lazy ;)

      Gangi þér vel

  3. #12 eftir Yann á Nóvember 29, 2011 - 4:51 promethium

    Really much more quick, congratulations.
    Nevertheless, I have a problem to create a sitemap who will consider all the languages. Do you have a solution for this problem?

    • #13 eftir ofer á Nóvember 29, 2011 - 8:46 promethium

      There is a patch available for Google XML Sitemaps plugin, og einnig – Útgáfa 4 beta of that Plugin needs no patch. You can find the patch on our trac site

  4. #14 eftir Fabrice Meuwissen á Nóvember 29, 2011 - 11:10 promethium

    so better to wait for the new 0.81 útgáfa ? if we don’t want to patch manually ?

    • #15 eftir ofer á Nóvember 29, 2011 - 11:25 promethium

      I promise there will be new bugs in 0.8.1 ;) but seriously, you can write me and I’ll send you a patched version, or patch it yourself. Einnig – most users are not using this feature, which can also be replaced by placing a widget copy in a sidebar and instead of inserting the widget code directly, inserting the sidebar

  5. #16 eftir Ezio á Nóvember 30, 2011 - 1:41 á

    Halló, first of all thanks for your wonderful plugin. Second, after the last update I’m unable to edit my translation. When I clich the edit button the page change in translate mode but I don’t have any popup window to modify. Getur þú hjálpað mér?

    Takk

    • #17 eftir ofer á Nóvember 30, 2011 - 7:01 promethium

      Please use the contact form and we’ll work with you on fixing this, probably a new conflict with other plugins

    • #18 eftir Thomas á Nóvember 30, 2011 - 9:44 promethium

      Ezio, can you check if the popup window is now displaying at the end of your page without style?

  6. #19 eftir Matt á Nóvember 30, 2011 - 7:53 á

    Hi there. I’ve corrected the bug but I can’t change the dropdown back to flags. Do I add the above code to the bottom of the widget.php or a different file?

    • #20 eftir ofer á Nóvember 30, 2011 - 7:00 promethium

      You need to change the code that called the widget, it was explained above

  7. #21 eftir Cristina á Nóvember 30, 2011 - 9:59 á

    Halló, ho appena installato la nuova Versione 0.8.0, ma ora non funziona più nullache fare? takk!

    • #22 eftir ofer á Nóvember 30, 2011 - 7:02 promethium

      Please contact us directly and we’ll try to fix it

      • #23 eftir Cristina á Desember 5, 2011 - 12:54 promethium

        Grazie per la disponibilità a tutto il team: ho risolto il problema canbiando JQuery e lo script che lo collegava :)

  8. #24 eftir deborah gamble á Nóvember 30, 2011 - 4:07 promethium

    Transposh doesn’t display properly in version 0.8.0 Is there a fix?

    • #25 eftir ofer á Nóvember 30, 2011 - 7:05 promethium

      Hello there, seems like a CSS issue, contact us directly to work on a fix

  9. #26 eftir Glenn Newland á Nóvember 30, 2011 - 5:44 promethium

    Hæ krakkar,

    I am greatful for all the work you have put into the new release, considering how hard the google API crisis might have been to deal with at first. WELL DONE!

    What I am curious about is how can I ensure my site is being listed in international search engines, in multiple language? Ég meina, thanks to transposh my site is now readable in 3 tungumál, but is that the same as if it werehostedin thoe languages or do I need to do something (like cache each page or create a multisite?)

    Thanks for the new release, and API fix.

    The Red Bicycle

    • #27 eftir ofer á Nóvember 30, 2011 - 7:08 promethium

      Hello Glenn

      You have a problem on your site which will not allow search engines to see your sites, my guess is a database issue, but it needs testing, contact us directly for working on fixing this

      • #28 eftir Glenn Newland á Desember 2, 2011 - 9:56 á

        OK Ofer, I have contacted you directly. Subsequently, I have also removed Disallow: /index.php/* from my robots.txt file. Maybe this was the cause?

        • #29 eftir ofer á Desember 2, 2011 - 10:06 á

          Í, the cause is missing database tables, I have written to you directly about the issue with how to solve it.

  10. #30 eftir Charlie á Desember 1, 2011 - 12:38 á

    Hi Transposh peeps,
    Great update. Is there a way of making the flags any bigger? They look a bit lost on the white background.
    Takk eins og alltaf.

  11. #32 eftir limos á Desember 1, 2011 - 6:01 á

    The new plugin broke my site after installing it today. I wish I had not upgraded because my entire site is down now if I enable the plugin :(

    • #33 eftir ofer á Desember 1, 2011 - 12:25 promethium

      Please try re-installing the plugin from wordpress.org, a fix for a breakage for users of the widget function was deployed, you can also contact us directly and we’ll help

  12. #34 eftir Mismunandi á Desember 2, 2011 - 10:53 á

    Cant edit text with ver. 0.8, whats wrong?

    At this site http://www.wcafeasia.com have installed the plugin but can not edit any text at all?

    Have another site with an erlier version that works good, I have usel same settings with this one (0.8), but cant edit.

    I have insert à api key from Google (for browser)

    Anyone who knows?

    • #35 eftir ofer á Desember 2, 2011 - 11:29 á

      Your theme is loading a jQuery1.3.2 (which is ancient), fix it and will be so very happy

      • #36 eftir Mismunandi á Desember 2, 2011 - 1:18 promethium

        Thanks for reply! Do you have any idea how to do that?

        • #37 eftir ofer á Desember 2, 2011 - 3:21 promethium

          Either:
          Change theme
          Edit current theme files to remove the include (probably in header)
          Delete the file itself or replace it

  13. #38 eftir limos á Desember 3, 2011 - 6:39 promethium

    Re-installed .80 version per instructions, and the site is still 100% broken if I enable the plugin.

    Word of cautiondo not install this version, it may break your site like it did mine.

    I deleted the plugin folder, unzipped a fresh copy of 0.80 and still the entire site goes belly up. Nothing displaysit will become a white browser screen.

    • #39 eftir ofer á Desember 4, 2011 - 8:19 á

      Halló,

      Ég er sammála, never install any upgrades, everything might break, but to your point, look at the FAQ, this is probably the memory limit issue, but not that we see a reason why it should be connected to the upgrade.

      Nú, if you want to get this issue resolved, try contacting us directly, we normally try to help. Sometimes we don’t

      Gangi þér vel

  14. #40 eftir Jijo Sunny á Desember 4, 2011 - 6:25 á

    Thumbs up guys!
    The plugin is playing perfect than never before!
    Few things to clarify:
    1. Could you please explain how to add translated pages to sitemap? (I didn’t get it when you said about it in the previous comments).
    2. Is this okay with WP Super Cache?

    Þakka þér!

  15. #42 eftir Tom á Desember 4, 2011 - 10:28 á

    First, let me say, you have a great plugin. I am in the USA, working on a directory site in Morocco. The default language on the site is French. On this site, businesses may add a listing to the directory (standard post type) using a different language. For instance if a business were to add a listing in English, the plugin will translate the post (listing) into all the active languages, except the default language (because it believes it is French?). In other words, the English version and the French translation are both actually the same English version. The site owners want all of the posts to display in the default language; and be available in each of the active languages. Is there a shortcode to wrap the entire listing in, so it will display in the default language? (td [tp translate="fr"]Halló[/TP] and it will display Bonjour. Eða, is there some other way to accomplish this?

    Thx
    Tom

  16. #43 eftir Fernanda á Desember 6, 2011 - 3:02 á

    Has someone having the same problem?
    It does not translate anymore

    • #44 eftir ofer á Desember 7, 2011 - 1:10 á

      If you still have problems, don’t hesitate to use the contact form on this site, and we’ll do our best to help

  17. #45 eftir Tom á Desember 6, 2011 - 5:23 á

    Jæja, I didnt hear anything back. Hins vegar, I did figure out how to accomplish what I wanted to be able to do. Simply wrap the content in a div tag with a class of mylang.

    Einnig, FWIW, for anyone looking through the comments for any information on whether or not this plugin will translate custom post types. Even though the plugin does not recognize a theme’s custom post types, you can convert the plugin to work with custom post types, fairly quickly. You need to edit two files. You need to edit the on_ajax_tp_translate_all() function in transposh_admin.php and the on_admin_menu() function, in transposh_postpublish.php.

    Tom

  18. #46 eftir wukungfu á Desember 6, 2011 - 4:12 promethium

    你好:
    我第一次使用這個感覺是個很棒的插件。

    但是我目前遇到了問題
    在安裝後所有的頁面出現了:
    錯誤 330 (nettó::ERR_CONTENT_DECODING_FAILED)

    請問我該如何解決?

    • #47 eftir ofer á Desember 7, 2011 - 1:08 á

      Hello There,

      My guesses will be problems with memory, or double gzipping issue

      Gangi þér vel

  19. #48 eftir Stacy & James á Desember 6, 2011 - 5:55 promethium

    millions thanks Ofer for sharing your project.

    Apart from straight translation it does accept multi-languages domains if more than 1 default language is used in a domain.

    Thanks also for private help for small troubleshooting we had.

    all the best

  20. #49 eftir wukungfu á Desember 7, 2011 - 9:49 á

    你好我還在找方法解決問題。

    想請問我啟用時會出現:
    “Við gátum ekki fundið stutt í minni búrhvalur vél, setja einn geta bætt árangur. Athugaðu Transposh spurningar”
    我是要忽略它還是要處理它才可以順利運作?

    ==========

    另外我目前使用固定網址的設定是數值式範例:http://www.wukungfu.com/archives/123
    這樣的網址設定會有影響嗎?

    期待能趕快使用~謝謝你的幫忙

    • #50 eftir ofer á Desember 7, 2011 - 12:02 promethium

      Hæ,
      To your questions:
      1. You can safely ignore this warning, it only regards performance, the plugin will work without this
      2. The permalink structure will be kept.

      Gangi þér vel

  21. #51 eftir wukungfu á Desember 7, 2011 - 1:09 promethium

    你好

    關於錯誤:
    錯誤 330 (nettó::ERR_CONTENT_DECODING_FAILED)

    後來我把GZIP關閉就解決了^^。
    =====

    目前順利開啟了插件
    可是我在側邊欄看不到跟你一樣的翻譯工具
    如何讓插件融入我的側邊欄?

    謝謝你感覺我快成功了!^^

    • #52 eftir ofer á Desember 7, 2011 - 1:28 promethium

      Hello There,

      To put the plugin in the sidebar, go to your appearance menu and drag the transposh widget to the sidebar, choose the widget style you want and the title and that’s it

  22. #53 eftir wukungfu á Desember 7, 2011 - 1:26 promethium

    我看到後台設置要填寫:
    MSN API key
    Google API key

    請問我該去哪邊申請MSN API 與 GOOGLE API?

    謝謝你不斷的幫忙^^

    • #54 eftir ofer á Desember 7, 2011 - 1:30 promethium

      You can add them if you wish, follow instructions on their appropriate sites, but for now this is not needed

  23. #55 eftir wukungfu á Desember 7, 2011 - 2:02 promethium

    感謝你終於可以顯示了。

    不過為什麼我選擇其他語言(例如:英文)頁面卻沒有被翻譯呢?

    我的網站:http://www.wukungfu.com

    感謝你大力的幫忙^^

    • #56 eftir ofer á Desember 7, 2011 - 2:24 promethium

      That’s because your theme is loading a very old jQuery (1.3.2), so edit it and see that it will work

  24. #57 eftir wukungfu á Desember 7, 2011 - 2:27 promethium

    不好意思!

    我剛把插件拖側邊攔了
    我用自己的電腦可以看的到
    可是換其他的電腦使用時卻看不到。

    這是為什麼?

    對不起問題這麼多~

  25. #58 eftir George á Desember 7, 2011 - 3:38 promethium

    Happy ….riuscito a farlo funzionare

    Meraviglioso plug-in ….

    Grande lavoro Ofer

    Takk.

  26. #59 eftir wukungfu á Desember 8, 2011 - 2:11 promethium

    不好意思可以請你再幫我看看我的網頁是什麼問題嗎?

    對於jQuery我有稍微調整過。

    目前已經啟用插件不過頁面、文章還是沒有被完整的翻譯
    請問我該如何解決?

    謝謝你

  27. #60 eftir Angel á Desember 11, 2011 - 1:24 á

    The spaces before and after bolded text disappear in the translations.

    Can you see it here?

    • #61 eftir Angel á Desember 11, 2011 - 1:28 á

      vel, i think is using the strong tag instead the bold

    • #62 eftir ofer á Desember 12, 2011 - 1:33 á

      I actually think it should work fine, no reason it should not, please provide a url where it is not

  28. #63 eftir Angel á Desember 12, 2011 - 8:22 promethium

    Ok!
    You can see in http://intl.relatividad.org/pt/relatividade/albert-einstein-biografia-e-obras/
    and in all translated pages that the firststrongsentence is with the error, but in
    http://intl.relatividad.org/relativity/albert-einstein-biography-and-works/
    (the original)
    is correct

  29. #64 eftir John á Desember 13, 2011 - 10:26 á

    I’d like to continue to use your great plugin, but this sends the server on overload.
    I installed memcached and W3 Total Cache (only database cache enabled), but the results are disappointing.
    If active Transposh on a blog having 7.000 innlegg, this alone is enough to crash the CPU.
    Allar uppástungur?

    • #65 eftir WWWDN á Desember 29, 2011 - 11:59 á

      what are your server specs my budget server handles 3 huge websites with 20K+ posts each with transposh installed. Perhaps try a reverse proxy like Nginx?

(verður ekki birt)


*