This new version provides integrations with two of the most popular wordpress plugins. The first, google-xml-sitemaps provides a way to create sitemaps for use with google and google webmaster tools, the integration creates for each url in the sitemaps additional urls for the translated pages. This integration needs a simple patch to be performed on the original plugin, read how in the FAQ, or contact us to receive the patched file. We hope that future versions of google-xml-sitemaps will include this patch by default.
The second integration is with wp-super-cache which provides a caching mechanism for wordpress, this plugin is not for the faint of heart and provides a strong caching mechanism in exchange for tons of problems on the way, installation is hard and integration is even harder. However, this integration provides this plugin user a simple change which delete the cached page upon translation action, this prevents translations from happening multiple times and from users to see non-translated content (and in the case of auto-translation, translating again and again).
If you have more plugins you want integration with, and you have ideas on how (and maybe some code), just drop a note here. And yes – happy new decade to us all!
————
Update 2010/1/3 – It appears there was an error with the patch instructions, the new instructions are updated on this site FAQ section (thanks myatus). The patch can also be directly downloaded from this link : sitemap-core-322-patched
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?
Thanks
I found the FAQ in WP, but still can’t make it work. Can someone send me the patch to my email? Thank you so much 🙂
Hi, sent it to you in email, hope it works fine 🙂 (let us know)
Same here actually, using 3.2.2 of Google XML Sitemap, added the code just before $this AddElement($page) but nada. Is this where it is supposed to go?
Nope, exactly one line after… just 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);
}
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, &$page) — 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 a “penalty” with search engines?
Hi,
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 instead of 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.
I need the patch, you can send it to my email? please, thanks very much
On the way…
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.
Hello,
For some reason, 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
Hi all,
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… I mean, Transposh and the whole plugins together in just one pack… But all need to appear in the same panel as Transposh, like Tabs.
One other request is, well, 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, so, I just think it is better to make this tool as a “sugested” translation, the sugested translation will appear in the dashboard and one Admin will check it.
Hello,
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. If you want, feel free to comment on my message and request the patch to be included, you can do this here.
With regards to the second point, I can say two things, the first – you can disable anonymous translation and only allow people you know. and second, 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.
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, well, 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?
Thanks again.
Hello,
Thanks for the comments (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.
Hi,
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 “edit translation” and in case the person try to put bad words, so, the block list will block them to dont put bad words in the text. I just think it is a good idea. So, 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.
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, first – spell checkers in the browser should work on the input field as they normally do, and also – if you know any multilingual online spell checker that we might add, let us know and we’ll definitely take a look!
Hi,
Again, I want to thank you! Your plugin is really a good piece of work!!
Well, 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. And, for example, 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. Also, 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, but, why you dont test this feature in a real environment, so you can see how util is this function, so, later you can choose on keep this feature, or remove.
About the spellcheker, well, there is a lot of dictionary on the web. My idea about the implementation of this is to use the spellchecker automatically to “catch” where on all posts are text inconsistency. It is to be used for mass post edition!! I dont want to, for example, re-edit all my old posts to check if there are any wrong word, so, 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?
Thanks.
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 request… sometimes 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?
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) here.
Ok,
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.
But, it is nice that someone thought the same idea.
Thanks.
Hi all,
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, so, I suggest the implementation of a “dont translate list”.
Thanks.
Just wrap what you want with the no_translate class as mentioned in the FAQ
Hi,
It works for words that are part of the theme template?
Hi,
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.
Thanks.