संस्करण 0.8.0 – हमला APIs के


जब एपीआई से लड़ने

खैर आगे काम करना बंद कर Google अनुवाद एपीआई के समक्ष रखी द्वारा समय सीमा के, हम अंततः इस नए रिलीज संकलन करने में सक्षम थे. यह एक समस्या है कि पुराने संस्करण द्वारा प्रस्तुत किए गए एक लंबी अवधि के बाद, जिसका मुख्य कारण तथ्य यह है कि गूगल जिसके कारण पिछले संस्करणों को नई ऊंचाइयों पर महोर्मि अनुरोध का समर्थन उनके समय सीमा से पहले उपयोग पर सीमाओं मुद्रा का फैसला किया. Google परिवर्तन भी बिंग अनुवाद एपीआई में एक एपीआई सीमा ट्रिगर, क्योंकि उपयोगकर्ताओं इंजन स्विचन थे, Transposh हार्ड कोडित बिंग के लिए एपीआई कुंजी अतिभारित.

तथापि, हम आप हमारे नवीनतम और सबसे बड़ी संस्करण के साथ उपलब्ध कराने के लिए इस अवधि से बच. यह संस्करण फिक्सेस इन समस्याओं का एक बाईपास प्रदान किया (गूगल और MSN के लिए अस्थायी चाबियाँ के लिए प्रॉक्सी) और यह भी आप अपनी खुद की कुंजी का उपयोग करने के लिए सीधे अनुमति देता है (से रैंडी के लिए धन्यवाद स्पाइवेयर मदद केंद्र हमें अपने कुंजी के साथ परीक्षण के लिए प्रदान करने के लिए) जो उन अन्य तरीकों से अधिक पूर्वता ले जाएगा. जबकि यह कर हम नाटकीय रूप से प्लगइन के बुनियादी ढांचे में सुधार करने में सक्षम थे, बदल रहा है कि जिस तरह से AJAX कॉल एक विधि के लिए प्रदर्शन किया गया WordPress करने के लिए देशी है (e.g. यदि आपके व्यवस्थापक पृष्ठ काम करता है, यह शायद के रूप में अच्छी तरह से काम करना चाहिए). जबकि कर रही है कि हम बैकेंड के लिए जावास्क्रिप्ट की जरूरत कोड को कम करने में सक्षम थे, जबकि सभी सुविधा का अनुवाद बहुत तेजी से काम करने के लिए अनुमति (और Apertium भी समर्थन!).

इस बिंदु पर हम एक ठोस संस्करण था, जो एक अच्छी बात करने के लिए जारी की तरह लग रहा था, लेकिन कोई, हम में कुछ अन्य सुविधाओं किया था, इसलिए हम अंततः एकाधिक विगेट्स समर्थन के मुद्दे से निपटने का फैसला किया (और शीर्षक चयन भी, जय - जय!). काफी सीधे आगे लगता है? लेकिन कोई, इस कारण हमारे विजेट बुनियादी ढांचे के एक प्रमुख फिर से लिखना के रूप में अच्छी तरह से. असल में यह जिस तरह से सीएसएस जोड़ा गया बदलने के साथ काफी तेजी में सुधार, और जिस तरह widgets भाषा में परिवर्तन के सर्वर अधिसूचित (अब हम एक बेकार पोस्ट सर्वर करने के लिए कॉल से बचने). जबकि लेखन कि हम बहुत भाग्यशाली थे जो हमारे रिलीज एक और सप्ताह का आयोजन किया वापस अन्य समस्याओं का एक सेट के साथ एक PHP5.3 PHP5.2 बेजोड़ता मुद्दे पर ठोकर. हम कई प्रयोक्ताओं है कि हमारे बीटा रिलीज के साथ डाल दिया है और मदद की हमें समस्या है कि कोड और जटिलता की परतों के नीचे छिपे हुए थे मिल शुक्रिया अदा करना चाहता हूँ.

हम भी इस अवसर करने के लिए हमारी शर्तों को थोड़ा बदल लिया, अगर आप ऐडसेंस से आपके अनुवाद पृष्ठों पर गूगल विज्ञापन प्रदर्शित कर रहे हैं, हम ले जाएगा 1/1000 हमारे अपने ऐडसेंस कोड के साथ प्रयोग के लिए है कि अंतरिक्ष के, इसलिए यदि Transposh मदद कर रहा है आप $ 10K के एक राजस्व उत्पन्न आप हमें खरीद होगी कॉफी! तो धन्यवाद! चीजों को थोड़ा स्पष्ट, हम अपने पृष्ठ पर अतिरिक्त विज्ञापन स्थान नहीं बना, और हम किसी भी विज्ञापन नहीं डालने या अपने लेआउट बदलने, यदि आप कोई विज्ञापन नहीं है, हम कुछ भी नहीं. यदि आपको लगता है कि यह बहुत ज्यादा पूछ रहा है, आप बस हमारी प्लगइन हटा सकते हैं, एक मुलायम धुन सीटी, और अपने रास्ते पर हो हैं. यदि आप एक वाणिज्यिक लाइसेंस चाहते हैं, हम उन्हें अभी तक नहीं बेचते, लेकिन वे शायद अधिक खर्च होगा.

इस संस्करण के लिए अन्य परिवर्तनों में शामिल:

  • जोड़ा गया कातालान और बिंग के लिए हिन्दी का समर्थन – खुद के लिए बोलती.
  • ड्रापडाउन विजेट में सुधार सीएसएस – यह वास्तव में अब बेहतर लग रहा है.
  • Memcached के लिए सहायता – अगर APC और अन्य opcode caches आप के लिए बहुत ज्यादा थे, अब आप memcached का उपयोग करें और आनन्द का एक बहुत कुछ हो सकता है.
  • बेहतर 404 पृष्ठ से निपटने (गैर मौजूदा पृष्ठों करने के लिए नए लिंक नहीं बना) – अर्थ गूगल क्रॉलर आपकी साइट कम परेशानी.
  • Rackspace cloudsites पर कैशिंग फिक्स – वे एक्स - कैश opcode कैश के लिए स्थापित किया था, लेकिन कोई उपयोगकर्ता स्मृति के साथ, जिसके कारण लॉगफ़ाइल में भारी उछाल – अब फिक्स किया.
  • कई मामूली सुधार – हम उन गिनती हो सकता है, लेकिन हम पर्याप्त उंगलियों नहीं है.
  • तुर्की अनुवाद Semih Yesilyurt.

हमें उम्मीद है कि आप इस संस्करण का आनंद लेंगे, और हमेशा की तरह, अपनी टिप्पणी के लिए इंतज़ार कर, विचारों, सुझाव और आग.

पुनश्च – WordPress पर परीक्षण किया गया 3.3 beta4, महान काम करता है.

, , , , , ,

  1. #1 द्वारा डार्ट पर नवंबर 29, 2011 - 7:18 पर

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

    - घातक त्रुटि: Call to undefined method transposh_plugin_widget:: transposh_widget () in on line 407

    मैं यह कैसे तय करते हैं? The whole site is not working after the update because of this error :(

    • #2 द्वारा ofer पर नवंबर 29, 2011 - 7:42 पर

      नमस्ते वहाँ,

      हां, 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 द्वारा डार्ट पर नवंबर 29, 2011 - 10:10 पर

        शुक्रिया! 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 द्वारा ofer पर नवंबर 29, 2011 - 12:15 बजे

          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 द्वारा डार्ट पर नवंबर 29, 2011 - 12:39 बजे

            शुक्रिया!
            Everything has worked perfectly :)

          • #6 द्वारा मैट पर नवंबर 29, 2011 - 12:45 बजे

            Hi I’m having the same problem. Where do I locate 407 line so I can replace it with the above debug code please? धन्यवाद

          • #7 द्वारा ofer पर नवंबर 29, 2011 - 8:45 बजे

            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 द्वारा asf पर नवंबर 29, 2011 - 1:06 बजे

            धन्यवाद, but how to load CSS?
            I use transposh_widget(सरणी(), सरणी(‘title’ => ‘Translation’, ‘widget_file’ => ‘flags/tpw_flags.php’));
            Flags are now, तथापि, does not load tpw_flags.css.

          • #9 द्वारा ofer पर नवंबर 29, 2011 - 11:43 बजे

            हां, 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 द्वारा जॉन पर नवंबर 29, 2011 - 9:55 पर

    हाय.
    Thanks for the work you do for us.
    Can you clarify where to find the API KEY to insert the plugin?
    शुक्रिया.

    • #11 द्वारा ofer पर नवंबर 29, 2011 - 12:08 बजे

      पहले, 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 ;)

      गुड लक

  3. #12 द्वारा yann पर नवंबर 29, 2011 - 4:51 बजे

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

    • #13 द्वारा ofer पर नवंबर 29, 2011 - 8:46 बजे

      There is a patch available for Google XML Sitemaps plugin, और भी – संस्करण 4 beta of that Plugin needs no patch. You can find the patch on our trac site

  4. #14 द्वारा Fabrice Meuwissen पर नवंबर 29, 2011 - 11:10 बजे

    so better to wait for the new 0.81 संस्करण ? if we don’t want to patch manually ?

    • #15 द्वारा ofer पर नवंबर 29, 2011 - 11:25 बजे

      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. भी – 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 द्वारा Ezio पर नवंबर 30, 2011 - 1:41 पर

    नमस्ते, first of all thanks for your wonderful plugin. दूसरा, 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. क्या आप मेरी मदद कर सकते हैं?

    धन्यवाद

    • #17 द्वारा ofer पर नवंबर 30, 2011 - 7:01 बजे

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

    • #18 द्वारा थॉमस पर नवंबर 30, 2011 - 9:44 बजे

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

  6. #19 द्वारा मैट पर नवंबर 30, 2011 - 7:53 पर

    हाय वहाँ. 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 द्वारा ofer पर नवंबर 30, 2011 - 7:00 बजे

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

  7. #21 द्वारा क्रिस्टीना पर नवंबर 30, 2011 - 9:59 पर

    नमस्ते, ho appena installato la nuova Versione 0.8.0, ma ora non funziona più nullache fare? grazie!

    • #22 द्वारा ofer पर नवंबर 30, 2011 - 7:02 बजे

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

      • #23 द्वारा क्रिस्टीना पर दिसंबर 5, 2011 - 12:54 बजे

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

  8. #24 द्वारा deborah gamble पर नवंबर 30, 2011 - 4:07 बजे

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

    • #25 द्वारा ofer पर नवंबर 30, 2011 - 7:05 बजे

      नमस्ते वहाँ, seems like a CSS issue, contact us directly to work on a fix

  9. #26 द्वारा ग्लेन Newland पर नवंबर 30, 2011 - 5:44 बजे

    हाय दोस्तों,

    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? मेरा मतलब है, thanks to transposh my site is now readable in 3 भाषाओं, 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 द्वारा ofer पर नवंबर 30, 2011 - 7:08 बजे

      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 द्वारा ग्लेन Newland पर दिसंबर 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 द्वारा ofer पर दिसंबर 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 द्वारा चौकीदार पर दिसंबर 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.
    हमेशा की तरह धन्यवाद.

  11. #32 द्वारा limos पर दिसंबर 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 द्वारा ofer पर दिसंबर 1, 2011 - 12:25 बजे

      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 द्वारा अलग पर दिसंबर 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 द्वारा ofer पर दिसंबर 2, 2011 - 11:29 पर

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

      • #36 द्वारा अलग पर दिसंबर 2, 2011 - 1:18 बजे

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

        • #37 द्वारा ofer पर दिसंबर 2, 2011 - 3:21 बजे

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

  13. #38 द्वारा limos पर दिसंबर 3, 2011 - 6:39 बजे

    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 द्वारा ofer पर दिसंबर 4, 2011 - 8:19 पर

      नमस्ते,

      I agree, 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.

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

      गुड लक

  14. #40 द्वारा Jijo सनी पर दिसंबर 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?

    शुक्रिया!

  15. #42 द्वारा टॉम पर दिसंबर 4, 2011 - 10:28 पर

    पहले, 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? (उदा [tp translate="fr"]नमस्ते[/टी.पी.] and it will display Bonjour. Or, is there some other way to accomplish this?

    Thx
    टॉम

  16. #43 द्वारा Fernanda पर दिसंबर 6, 2011 - 3:02 पर

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

    • #44 द्वारा ofer पर दिसंबर 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 द्वारा टॉम पर दिसंबर 6, 2011 - 5:23 पर

    अच्छी तरह ब, I didnt hear anything back. तथापि, 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.

    भी, 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.

    टॉम

  18. #46 द्वारा wukungfu पर दिसंबर 6, 2011 - 4:12 बजे

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

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

    請問我該如何解決?

    • #47 द्वारा ofer पर दिसंबर 7, 2011 - 1:08 पर

      नमस्ते वहाँ,

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

      गुड लक

  19. #48 द्वारा स्टेसी & जेम्स पर दिसंबर 6, 2011 - 5:55 बजे

    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 द्वारा wukungfu पर दिसंबर 7, 2011 - 9:49 पर

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

    想請問我啟用時會出現:
    We were not able to find a supported in-memory caching engine, installing one can improve performance. Transposh अक्सर पूछे जाने वाले प्रश्न की जाँच करें”
    我是要忽略它還是要處理它才可以順利運作?

    ==========

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

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

    • #50 द्वारा ofer पर दिसंबर 7, 2011 - 12:02 बजे

      हाय,
      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.

      गुड लक

  21. #51 द्वारा wukungfu पर दिसंबर 7, 2011 - 1:09 बजे

    你好

    關於錯誤:
    錯誤 330 (जाल::ERR_CONTENT_DECODING_FAILED)

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

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

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

    • #52 द्वारा ofer पर दिसंबर 7, 2011 - 1:28 बजे

      नमस्ते वहाँ,

      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 द्वारा wukungfu पर दिसंबर 7, 2011 - 1:26 बजे

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

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

    謝謝你不斷的幫忙^^

    • #54 द्वारा ofer पर दिसंबर 7, 2011 - 1:30 बजे

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

  23. #55 द्वारा wukungfu पर दिसंबर 7, 2011 - 2:02 बजे

    感謝你終於可以顯示了。

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

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

    感謝你大力的幫忙^^

    • #56 द्वारा ofer पर दिसंबर 7, 2011 - 2:24 बजे

      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 द्वारा wukungfu पर दिसंबर 7, 2011 - 2:27 बजे

    不好意思!

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

    這是為什麼?

    對不起問題這麼多~

  25. #58 द्वारा जॉर्ज पर दिसंबर 7, 2011 - 3:38 बजे

    Happy ….riuscito a farlo funzionare

    Meraviglioso plug-in ….

    Grande lavoro Ofer

    धन्यवाद.

  26. #59 द्वारा wukungfu पर दिसंबर 8, 2011 - 2:11 बजे

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

    對於jQuery我有稍微調整過。

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

    謝謝你

  27. #60 द्वारा फरिश्ता पर दिसंबर 11, 2011 - 1:24 पर

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

    Can you see it here?

    • #61 द्वारा फरिश्ता पर दिसंबर 11, 2011 - 1:28 पर

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

    • #62 द्वारा ofer पर दिसंबर 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 द्वारा फरिश्ता पर दिसंबर 12, 2011 - 8:22 बजे

    ठीक है!
    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 द्वारा जॉन पर दिसंबर 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 posts, this alone is enough to crash the CPU.
    किसी भी सुझाव?

    • #65 द्वारा WWWDN पर दिसंबर 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?

(प्रकाशित नहीं किया जाएगा)


*