版本 0.4.0 – 快乐新的整合


这个新版本提供了最流行的wordpress插件2集成. 第一, 谷歌- XML的站点地图 提供了一种方法创建与谷歌和谷歌网站管理员工具的使用Sitemaps, 整合中的每个创建的翻译网页的Sitemaps其他网址链接. 这种整合需要一个简单的补丁将原来的插件进行, 阅读如何在常见问题, 或与我们联系获得修补文件. 我们希望,用谷歌XML的站点地图的未来版本将包括此默认补丁.

第二个一体化是与 可湿性粉剂超高速缓存 它提供了一个WordPress的缓存机制, 这个插件是不是为胆小并提供了交流的问题一大堆的道路上一个强大的缓存机制, 安装硬盘和集成更难. 然而, 这种结合提供了此插件的用户一个简单的变化而删除后,缓存的网页翻译行动, 这可以防止这种情况发生多次,从用户看到非翻译内容翻译 (并在自动翻译的情况, 一次又一次的翻译).

如果你想有更多的插件集成, 和你的想法如何 (也许一些代码), 这里的说明只是下降. 是的 – 快乐新的十年对我们所有人!

————

更新 2010/1/3 – 看来,这与该修补程序指令错误, 新指令更新本网站的常见问题部分 (谢谢 myatus). 这个补丁也可以直接下载这个链接 : 网站导航核心- 322修补的

, , , ,

  1. #1Fernanda Gomez on 一月 2, 2010 - 2:09 a关于

    Happy New Year!! I just went thru the FAQ, but I can’t find the How to for the sitemaps, can someone help me here?

    谢谢

    • #2Fernanda Gomez on 一月 2, 2010 - 2:23 a关于

      I found the FAQ in WP, but still can’t make it work. Can someone send me the patch to my email? 谢谢你这么多 :)

      • #3ofer 关于 一月 2, 2010 - 12:50 下午

        你好, sent it to you in email, hope it works fine :) (让我们知道)

      • #4Myatu 关于 一月 2, 2010 - 4:38 下午

        Same here actually, using 3.2.2 of Google XML Sitemap, added the code just before $this AddElement($页面) but nada. Is this where it is supposed to go?

        • #5ofer 关于 一月 2, 2010 - 4:44 下午

          没了, exactly one line afterjust sent you the patch, but for reference, this is how the function should look:
          function AddUrl($loc, $lastMod = 0, $changeFreq = "monthly", $priority = 0.5) {
          //Strip out the last modification time if activated
          if($this->GetOption('in_lastmod')===false) $lastMod = 0;
          $page = new GoogleSitemapGeneratorPage($loc, $priority, $changeFreq, $lastMod);
          $this->AddElement($page);
          do_action('sm_addurl',&$page);
          }

          • #6Myatu 关于 一月 2, 2010 - 4:55 下午

            Awesome, it works now.

            In the FAQ (as well as the transposh.php source code) you have it listed as do_action(‘sm_addurl’, $loc, &$页面) — remove the $loc portion and it works OK.

            NB: The priority in the sitemap for the translated pages are always 0%. Do you think this will incur apenaltywith search engines?

          • #7ofer 关于 一月 2, 2010 - 5:05 下午

            你好,
            Thanks for the notice, I’ll fix the comment and the FAQ. That’s what you get when copy pasting without looking.
            Regarding the priority, I am currently reducing the page priority by 0.2 (You can see in the code) Could have opted for other options such as doing nothing, multiplying by 0.8 or using a minimum of 0.1 而不是 0.
            I don’t know why google should penalize such pages, although it might, if you stumble upon any resource claiming this, It will be a breeze to change.

  2. #8layared 关于 一月 2, 2010 - 2:50 下午

    I need the patch, you can send it to my email? 请, thanks very much

    • #9ofer 关于 一月 2, 2010 - 4:25 下午

      On the way

  3. #10AutoCAD的Hocası 关于 一月 4, 2010 - 6:26 下午

    http://www.autocadhocasi.com/fr/

    Unable to display the site in version 0.4
    the source of the site appears. How do I solve this problem.

    • #11ofer on 一月 5, 2010 - 1:44 a关于

      你好,

      出于某种原因,, your server sends the mime-type of the pages as application/x-javascript

      This will cause the source to view.

      I fail to see any reason that the plugin will change this, ever,

      My guess is that something else is wrong. with first look at other plugins, and second look at the .htaccess files

      I would also suggest trying the previous version,

      Let me know if there’s anything else I can do

  4. #12Chantak on 一月 9, 2010 - 6:01 a关于

    大家好,

    I would like to see the integration of one plugin that is capable of inject/hook codes, it will worth more than patching files by hand, and when you update a plugin and forgot to patch again? And all the work you will need to do all again?

    I think that would be better to just make transposh available with all the plugins that it have integrated together… 我的意思, Transposh and the whole plugins together in just one packBut all need to appear in the same panel as Transposh, like Tabs.

    One other request is, 以及, I dont like the way Transposh make available to anyone modify the translation without any restriction, if one bad person go and modify something to SPAM or for Pishing, it would be hard to the Admin of the site fix all it, mainly because the Admin dont know all the languages available, 所以, I just think it is better to make this tool as asugested” 翻译, the sugested translation will appear in the dashboard and one Admin will check it.

    • #13ofer 关于 一月 9, 2010 - 2:59 下午

      你好,
      Regarding the patch to other plugins, I wrote the plugin programmer and sent him the patch, I don’t think that bundling other plugins is the right solution. 如果你想, feel free to comment on my message and request the patch to be included, you can do this 这里.
      With regards to the second point, I can say two things, the firstyou can disable anonymous translation and only allow people you know. 第二, they can deface the translation but cannot spam or phish because they can’t change the links.
      I hope that in the future we’ll be able to introduce a better system to do that.

      • #14Chantak 关于 一月 9, 2010 - 5:09 下午

        Firt,

        Thanks a lot for your hard work! I really apreciate this.

        About the second point, I think I bypassed this because it was not too obvious, maybe a better explanation and organization of the interface will make it more obvious!!

        For the integrations, 以及, if bundling things together is not the solution, at least you could make Extra Tabs in the configuration page and put a switch to enable or disable the integration? And could you make more visible in the interface about what plugins Transporsh can be integrated?

        再次感谢.

        • #15ofer 关于 一月 9, 2010 - 10:11 下午

          你好,

          感谢的意见 (all of them). Just one point with regards to the integration, if the other plugin exists and is not patched, the integration will just not happen, there’s no problem here and no need to turn this off. I can make the configuration complicated only up to a certain point, over that point it will be confusing and senseless.

  5. #16looki on 一月 9, 2010 - 6:07 a关于

    你好,

    I would like to request a blocklist of bad words for all languages, this blocklist would be used in the case a person use the “编辑翻译” and in case the person try to put bad words, 所以, the block list will block them to dont put bad words in the text. I just think it is a good idea. 因此,, you will need a dictionary for all the languages, or at least the most used languages.

    One other thing that would be good is a spell checker, to be used in a text before and after a translation, because there maybe appear some strange or malformed translation because a wrong word.

    • #17ofer 关于 一月 9, 2010 - 3:03 下午

      WRT the first option, I am not sure how helpful this is, you can use ordinary words taken out of context and use them for worse, so although it might be trivial to add, the value of this feature will be timid.
      Regarding spell checking, 第一 – spell checkers in the browser should work on the input field as they normally do, 也 – if you know any multilingual online spell checker that we might add, let us know and we’ll definitely take a look!

      • #18looki 关于 一月 9, 2010 - 5:30 下午

        你好,

        再次, I want to thank you! Your plugin is really a good piece of work!!

        嗯, about the bad words, you are right, but having the option to block some words to be posted put some extra protection to the site, and less effort to the site admin. 而, 例如, in case if you have a blocklist, anyone that simple try to put bad words, will be blocked, and the admin will not need to worry about moderate these. 还, there is a lot of blocklist for bad words available on the net, and simple could be used in Transposh, with the option of be enabled or not. It is just a tought, 但, why you dont test this feature in a real environment, so you can see how util is this function, 所以, later you can choose on keep this feature, or remove.

        About the spellcheker, 以及, there is a lot of dictionary on the web. My idea about the implementation of this is to use the spellchecker automatically tocatchwhere on all posts are text inconsistency. It is to be used for mass post edition!! I dont want to, 例如, re-edit all my old posts to check if there are any wrong word, 所以, if these wrong words be translated, it will give me problems, and for any wrong word generated by the engine translation? How I will manage some thousands of wrong words?

        谢谢.

  6. #19looki on 一月 9, 2010 - 6:36 a关于

    I just forgot to say, but I loved this plugin too much, thank you very much for developers of this plugin.

    And I have another requestsometimes a word is simple not translated by google translator, so what about if Transporsh detect the words that are not translated and just try to use another translation engine?

    • #20ofer 关于 一月 9, 2010 - 3:06 下午

      Thanks for the compliments and the suggestions, this one is indeed nice, but the right place to make suggestions is our trac. Where you could see that this was already written (today) 这里.

      • #21looki 关于 一月 9, 2010 - 5:40 下午

        确定,

        Sorry of pollute your post here, but I was just eager to show that I liked the plugin, and would like to see new features in it, so I ended up not paying attention if what I was doing was correct.

        但, it is nice that someone thought the same idea.

        谢谢.

  7. #22looki on 一月 10, 2010 - 7:36 a关于

    大家好,

    Just another request, I am having problem with some words being translated, like names of places, name of people, and some other words that dont need to be translated, 所以, I suggest the implementation of adont translate list”.

    谢谢.

    • #23ofer on 一月 10, 2010 - 7:42 a关于

      Just wrap what you want with the no_translate class as mentioned in the FAQ

      • #24looki 关于 一月 10, 2010 - 5:46 下午

        你好,

        It works for words that are part of the theme template?

  8. #25looki 关于 一月 10, 2010 - 8:12 下午

    你好,

    I come to say that I got a problem with Transporsh. I dont know how it happened, but I got a fatal error because a recursive call. I broke wordpress2.9.1 in file widgets.php in the line 924. For more informations, I would like to talk in private.

    谢谢.

(将不会被发表)