Tutorial
A very quick howto:
1. Install the plugin
2. Configure languages and appearance
As a user:
1. Using the transposh widget, just select the language you want
As a translator:
1. Select the language you want to work with
2. Click the edit translation link
3. Use the interface to translate phrase, press translate and the text is translated…
Enjoy!

Follow us on
#1 by Angela on March 24, 2009 - 9:58 pm
Hello,
Could you please explain what is Enable automatic translation for? I can´t find out the difference when I check the box.
Great widget. Thanks a lot.
#2 by amir on March 25, 2009 - 10:15 am
Hello,
‘Enable automatic translation’ will translate the page when it is first viewed (using google translate) – regardless if you are in edit mode or not .
In edit mode (i.e. transposh’s checkbox) the page will always be first automatically translated via automatic tools, you later on can improve the translation by editing it by hand.
Enjoy
-Amir
#3 by Jules on March 26, 2009 - 12:31 pm
Hi, I can’t get it to translate at all.
The “Allow automatic translation of pages” option is ticked.
I’m running Wordpress 2.7.1
Just a thought, do I need to install Wordpress .mo language files for the languages I want to translate?
Feel free to click my link and see for yourself, but any hints would be very welcome.
#4 by Angela on March 27, 2009 - 1:19 am
Thanks for the answer amir. Now I try to translate some sentences but as soon as I uncheck the edit mode the changes disappear. Do I have to do anything to save them?
#5 by daniel on May 6, 2009 - 4:55 pm
will it cause many problems ? eg, 404 error when the cache expired
#6 by ofer on May 16, 2009 - 8:55 pm
Does not work this way, the plugin can’t create 404 errors (unless badly configured with permalinks)
#7 by MarkO on May 14, 2009 - 12:14 pm
Great plugin, really smooth.
Is there any code I can use to add it to my template and not just as a widget?
#8 by ofer on May 16, 2009 - 8:56 pm
Thanks for the question,
Just add
< ?php if(function_exists("transposh_widget")) { transposh_widget(array()); } ?>
To your template
#9 by MarkO on May 17, 2009 - 10:47 am
Thanks for this. In case anybody else tries to use the code there’s and extra space after the first character which shouldn’t be there. It should read:
#10 by leo on September 3, 2009 - 1:29 pm
where exactly you put it on the index.php page ?
if yes where ? i cant figure it out.
thanks
#11 by ofer on September 3, 2009 - 1:40 pm
Most templates include a place for widgets, and than you use the wordpress interface to modify the sidebar. If your template is different you can probably use the code that’s in the FAQ. If you have a more specific issue, just contact me via email.
#12 by Josephican on January 17, 2010 - 7:31 am
Followed the instructions, put the code in my sidebar.php. I gt the following errors:
Notice: Undefined variable: before_title in /hermes/web02/b967/moo.durranilawfirm/wp/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 125
Notice: Undefined variable: before_widget in /hermes/web02/b967/moo.durranilawfirm/wp/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 125
Notice: Undefined variable: after_title in /hermes/web02/b967/moo.durranilawfirm/wp/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 125
Notice: Undefined variable: after_widget in /hermes/web02/b967/moo.durranilawfirm/wp/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 230
#13 by Alb3rt1 on May 30, 2009 - 5:48 pm
Hi i really love this plugin and I really apreciate your work on it.
I wrote a review on my blog.
Wordpress transposh plugin
I hope it will be helpfull for you and your blog
#14 by Peter on June 12, 2009 - 9:50 pm
hi, GREAT widget – some kind of democratization of the languages in times of globalisation, eh?
))
)))))))
small feedback at the side: phrases are not similarly constructed in different languages, neither is the interpunctuation.. by this system of translating phrases there will be either wrong translation phrases in the database or wrong translation solutions or at least wrong interpunctuation.. perhaps it would be a solution to make the phrases shiftable (via drag and drop)
#15 by CardHouse on June 25, 2009 - 4:55 pm
I use wp-2.7.1 and can’t get anything to work. Any suggestions.
#16 by JizzyG on June 28, 2009 - 6:18 am
Great plugin but how do I stop certain links from having the language folder name inserted into it? So I just want to use default link instead like – http://www.example.com/link.html not http://www.example.com/de/link.html
Do you have any shortcode to put around these links or whatever to stop them from being manipulated?
#17 by ofer on June 28, 2009 - 7:14 am
Hello,
In order to avoid translation of any part (links included) you can add the class “no_translate” to the item itself or surround it with a parent with this class (a span element works nicely)
#18 by JizzyG on June 28, 2009 - 7:03 am
Now getting an error that I wasn’t getting before the new upgrade I installed today –
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SU 3.22; .NET CLR 2.0.50727)
Timestamp: Sun, 28 Jun 2009 05:05:19 UTC
Message: Object doesn’t support this property or method
Line: 1
Char: 1134
Code: 0
URI: http://www.examplesite.com/wp-content/plugins/transposh-translation-filter-for-wordpress/js/transposh.js?post_url=http%3A%2F%2Fwww.examplesite.com%2Findex.php&lang=de&prefix=tr_&ver=0.2.7
Thanks
#19 by ofer on June 28, 2009 - 7:14 am
Where exactly are you getting this error? in IE8?
#20 by Phuong on June 29, 2009 - 11:06 pm
after deleting database Table on phpMyAdmin
I cant recover and create new database for this plugin ! (even when i delete plugin and reinstal it)
Do someone know where are the settings stored?
I have to delete all settings to create new database Table…
#21 by ofer on June 30, 2009 - 7:40 am
Hello,
You need to delete the transposh_db_version from the wp_options table, this will work..
Good luck
#22 by Phuong on June 30, 2009 - 8:43 pm
THX
it works!
#23 by Jim Hutchinson on July 15, 2009 - 7:18 am
When I click on the flag it takes me to the home page of my website http://www.mydoman.com? lang = fr
instead of http://www.mydomain.com/blog?lang= fr
how do I get it to add the proper file pathway
#24 by Dassano on July 24, 2009 - 1:22 am
I can’t go to setup at option page, It’s show “You do not have sufficient permissions to access this page.” I’m using WP 2.8.2
Is this plugin can support on WP2.8 version?
#25 by ofer on July 24, 2009 - 1:26 am
This site is running 2.8.2…
#26 by Dassano on July 24, 2009 - 10:26 am
Any advice how can I fix this problem?
Thanks
#27 by ofer on July 24, 2009 - 10:30 am
First thing I would do is to check the permissions, I can help you debug this if you want, contact me by email
#28 by Dassano on July 28, 2009 - 10:20 am
Thanks, Please give me your email.
#29 by Dassano on July 24, 2009 - 10:33 am
I found it is show text below when I’m press the activate link.
“Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/techbest/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/core/parser.php on line 26″
#30 by Alex on September 3, 2009 - 4:14 pm
Hi! Sorry for my bad english.
I have the same problem. Do you now what fix it? Thank you for any advice!
WP 2.8.4 russian
#31 by Jan on July 28, 2009 - 7:39 am
Hi,
at first: Great idea- great plugin!
But one question:
When I click on the flag at my start page (welcome) it takes me to the blog page of my website instead of translating my welcome page. Moreover clicking than on e.g. Welcome in english translation it takes me also again to my blog page.
Is this a bug or did I do something wrong?
Thanks alot for your help. (It seems that Jim has a similar problem- only vice versa)
Best regards
Jan
#32 by ofer on July 28, 2009 - 7:43 am
Hello Jan
what you state is indeed a bug I’d guess its somehow coming from wordpress and couldn’t quite nail what to fix there.
I’ll see what can be done…
#33 by Stefano on July 31, 2009 - 12:15 pm
Hi guys.
I am having a very strange problem with the plugin, which I love and I wouldn’t like to uninstall it just for this…
My site is in English, but for some reason some words appear different…
Let’s explain. The site is about SEO (at the moment it’s on a test server). In an article I wrote “folders” and for some reason it appears as “leaflets”. Same thing with ALT tag, it writes TOTAL tag! What is this due to? I tried with the editing, but those words remain wrong.
I hope someone will have a solution. It would be quite strange to read a sentence saying ”
The use of keywords for names is useful for files, leaflets, images, files to be downloaded…”.
It appears like that as a tag as well, but NOT in the title of the post, where it’s “folder” just as I wrote it.
I’m using WP 2.8.2.
Best regards,
Stefano
#34 by ofer on July 31, 2009 - 9:24 pm
My guess is that you are enabling default language translation option, just disable it
#35 by Paul on August 24, 2009 - 12:59 pm
Hi,
Ive just installed this and think its great. i just have 1 question tho, when i allow people to translate the page, they click on the icon next to the text which brings up the input window, but how do you define what language you are translating to??
Many thanks
#36 by ofer on August 24, 2009 - 4:27 pm
Thanks,
Its quite simple, they are translating to the target language they have chosen (which appears in the url)
#37 by sfondi on August 30, 2009 - 9:35 pm
hi, is there a way to use this script for a non-wordpress site?
#38 by ofer on August 31, 2009 - 9:35 am
Not yet, although its being worked on and is possible
#39 by Ghost In The Shell on September 1, 2009 - 9:24 pm
As a translator:
1. Select the language you want to work with
2. Click the edit translation link
3. Use the interface to translate phrased, press translate and the text is translated…
Erm, where is this located exactly?
#40 by ofer on September 1, 2009 - 10:59 pm
I guess you mean the widget, did you add it to your template?
#41 by joe on September 7, 2009 - 10:57 am
how come i check other language using transposh on google and they are not indexed!?
#42 by ofer on September 7, 2009 - 11:26 am
Hi Joe,
They become indexed after google visited them, and a user visited first, because the google visit does not trigger the translation process.
You can always use a tool to go over your pages in a browser after adding a post
#43 by JT on November 15, 2009 - 12:27 am
If I’m comfortable editing the php, is there any way to make it so that a visit from google DOES trigger the tranlsations? I have several thousand pages on my site and google has started following the links from the flags, but they are all being indexed in english because no real surfer has hit the translation buttons yet. I’m afraid of getting in trouble for spamming when they index what will look like 20-30 copies of the same content since nothing is translated yet.
#44 by Ari on September 7, 2009 - 1:48 pm
Hi
I can not activate the plugin because the following comes up:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/klstamc/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/core/parser.php on line 26
Please help!
Ari
#45 by ofer on September 7, 2009 - 2:06 pm
I guess you are using php4? Can you upgrade to php5?
#46 by Paul on September 8, 2009 - 11:08 am
Hello,
thank you for the plugin.
I’m translating a website into another language with it right now.
There is one problem – RSS feed doesn’t work when clicked through a translated page, it shows an error:
XML Parsing Error: not well-formed
Location: http://lambdaschool.cn/zh/feed/
Line Number 1, Column 1:“?XML版本=”1.0″UTF – 8的?“
^
RSS feed works fine on the default English page.
I’m guessing the plugin is trying to translate some part of code. How could I fix this?
Thank you very much.
#47 by Necdet on September 12, 2009 - 5:22 am
Çok güzel bi eklenti Çok teşekkür ederim eklenti için saygılarımla Türkiyeden selamlar
#48 by M. Jans on September 16, 2009 - 5:20 pm
do you plan or does it already exist that some content cant be translated? like
some text that i dont want to translate
#49 by M. Jans on September 16, 2009 - 5:21 pm
text to not translate
#50 by justin on September 18, 2009 - 12:34 am
There appears to be a problem when I translate which adds in extra punctuation. Also would be great if you could translate whole paragraphs at a time!
#51 by Форекс Тейдер on September 30, 2009 - 2:10 am
Спасибо за плагин. Работает супер!
#52 by Manuel on October 3, 2009 - 6:26 pm
Hi, I had this lugin running without problems on one wordpress blog and I absolutely love it.
By trying to get it running on another blog I allways get the following message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/urquellw/public_html/news/wp-content/plugins/transposh-translation-filter-for-wordpress/core/parser.php on line 26
I am using php 5.2.9
Can you please help
Thanks a lot
#53 by Bryce on October 10, 2009 - 3:27 pm
Hi,
I want to “no need translation” in particular page or particular paragraph text. How to proceed this…. any idea….??? Kindly guide to me….
thanks in advance….
#54 by Bryce on October 10, 2009 - 3:35 pm
hey,
Sorry fds, i got the solution for non translation option…
Your Original content
Thanks….
#55 by Arun Govind on October 24, 2009 - 12:50 am
Hi, will this widget work only for Wordpress? If not, I would like to use in on my website;
http://envimatix.com/index.html
Thank you.
#56 by Thomas on November 13, 2009 - 11:06 pm
transparency-effect for flag-list;
this makes the flags transparent and show them opaque on mouse over;
[code]
/* translator plugin flag transparency */
.transposh_flags a span:hover, .transposh_flags a img:hover {
border-color: transparent }
.transposh_flags a span, .transposh_flags a img {
opacity: .4;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
filter: alpha(opacity=40); }
.transposh_flags a:hover span, .transposh_flags a:hover img {
opacity: 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100); }
[/code]
Put this snippet to any of your CSS-files, preferable at the end of /css/transposh_widget.css inside the plugin directory.
#57 by Andre Marchandise on November 15, 2009 - 1:07 am
Great widget, thanks for sharing!
Like other people I had the problem that the manual translations could not be saved.
Analysis showed that the ajax POST was redirected:
———————————————
http://eroticoon.com/wp
POST /wp HTTP/1.1
Host: eroticoon.com
X-Requested-With: XMLHttpRequest
Referer: http://eroticoon.com/wp/nl/?edit=1
Content-Length: 155
Cache-Control: no-cache
lang=nl&source=0&translation_posted=1&items=1&tk0=dG8gcGFydGljaXBhdGUgaW4gdGhlIDR0aCBlZGl0aW9uIG9mIHRoZQ%2C%2C&tr0=om+deel+te+nemen+aan+de+4e+editie+van+de
HTTP/1.x 301 Moved Permanently
Date: Sat, 14 Nov 2009 19:25:51 GMT
Server: Apache/1.3.41 (Unix) mod_fastcgi/2.4.6 Connection: close
———————————————
and resulted in a GET of the same URL with a / appended (which is not OK )
———————————————
http://eroticoon.com/wp/
GET /wp/ HTTP/1.1
Host: eroticoon.com
Cache-Control: no-cache
HTTP/1.x 200 OK
Date: Sat, 14 Nov 2009 19:25:52 GMT
Connection: close
——————————————–
I’ve checked and even removed all .htaccess files, both in my www-root and /wp subdirectory, but this did not resolve the probem.
I presume that this redirect for directories without trailing / has been set at the system level by my ISP ( my blogs run on two different shared servers ).
So, I’ve changed the POST-coding in the transposh.js file by adding a “/” to the POST URL:
jQuery
.ajax( {
type : “POST”,
url : transposh_params.post_url + “/”,
IMHO this mod should also work for installations that don’t had the problem up till now.
Best regards,
André
#58 by Casey on November 16, 2009 - 8:11 pm
When I edit the translation, how do I save it? I can’t seem to figure out how to keep the edits that I’ve already done. It simply returns to the former word if I change pages. Any help?
Thanks!
#59 by Raul Nunes on December 3, 2009 - 5:04 pm
When I try to activate I always get this error: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/bloghvp/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/transposh.php on line 49
Is there a way to fix this, please?
#60 by ofer on December 3, 2009 - 7:52 pm
Yes, please upgrade to php5
#61 by Filippo on December 7, 2009 - 5:42 pm
Hi,
the plugin is awesome and works great!
But I have a question: can i run an automatic translation of every post in the blog written before installing transposh?
The problem in that the googlebot sees every page not yet translated in the original version (maybe because of the ajax): in that way Google sees replicated content on my site.
I created also an application in java that parses every page of the site, but it works in the same way of the googlebot.
Could you help me?
#62 by ofer on December 7, 2009 - 5:53 pm
This is on the todo, but for now, go to the edit page, and if you have enabled:
“Do automatic translation immediately after a post has been published”
just hit publish and they’ll be translated.
A word of warning though, google may not be fund of too much translation and may decide to temporarily block the ip you are using, but even so, this will not block your server or further translations from your users.
Good luck!
#63 by Filippo on December 7, 2009 - 6:38 pm
Hi Ofer,
thank you for the quick response!
I tried your suggest but it doesn’t work for me: if I update an existing post it does not generate the translated version of the page.
(“Do automatic translation immediately after a post has been published” is ticked)
#64 by audioscapist on December 24, 2009 - 11:38 am
Hi Ofer
Thanks for the nice plugin. You’ve referred to this already in #16 & #17 but I’m not sure how to apply it. Where and how do I put the class “no_translate” so that my post titles and links aren’t translated?
cheers
#65 by ofer on December 24, 2009 - 2:11 pm
You probably need to go inside your theme and see the html elements that wrap what you don’t translated and add class=”no_translate”, also In the case of titles I would recommend using another span, so the links will be translated even if the content stays untouched
#66 by audioscapist on December 24, 2009 - 4:27 pm
thanks for the quick reply Ofer -gonna give it a go
cheers
#67 by evaldas on January 5, 2010 - 4:14 pm
hello.
thanks for great wordpress plugin. however I would like to ask if this plugin is able to change some pictures in my site dependence of language? example if visitor is selected English(default) than default picture… but if visitor change language to any other.. than picture can change or no?
#68 by ofer on January 5, 2010 - 5:50 pm
Hello,
You can use the
$my_transposh_plugin->target_languagein your theme as a part of the img tagAssuming you have something like
<img src="image.jpg">You can do something like
<img src="image-<?php echo $my_transposh_plugin->target_language;?>.jpg">You will need to have a few images, with the proper language name, and you will probably have to add the default language name to the original image such as image-en.jpg
This is not the best possible solution, (for example, there’s no default image) but this can do for a few images and a few languages,
Good luck
#69 by audioscapist on January 5, 2010 - 5:03 pm
Hi again Ofer
Is it possible to remove [Language] that appears at the top of the languages in the drop down menu?
Thanks in advance.
cheers
#70 by ofer on January 5, 2010 - 5:56 pm
Yes, Edit line 175 of transposh_widget.php
#71 by audioscapist on January 5, 2010 - 6:14 pm
sweet – thank you
#72 by Goals.se on February 14, 2010 - 7:55 pm
Hi. I’ve a question, when I do “edit” translation i got the wrong message: Server failure, cannot translate? How come i get that?
#73 by ofer on February 14, 2010 - 8:30 pm
You have an issue with the url, as your wordpress is configured to goals.se as the homepage while you actually redirect to http://www.goals.se,
This is already solved in the svn, so if you want I’ll send you a pre-release version or you can wait for the next release.
#74 by Goals.se on February 14, 2010 - 9:26 pm
Now ive in-active the translator, i do clicking edit the translation and tries to editing some texts and then i push ok. to finish the translation i un-check the box “edit translation”, but when I go back again to the language nothing has been translated. yes if its possible send a pre-release version!
#75 by Birger on March 1, 2010 - 5:02 pm
Hi,
great plugin but i habe one question:
is it possible to autotranslate posts to my default language? e.g.: My default language is english, now im writing a post in spanish. I want the plugin to autotranslate this post to english. The spanish post should only be accessible through /es/
#76 by ofer on March 1, 2010 - 6:27 pm
Hello,
There’s a translate default language which can work for you, we will probably enhance this feature in coming versions
#77 by ofer on January 17, 2010 - 9:50 am
Those are just notices, nothing that interferes with normal usage. If those bother you I’d suggest reducing php error report level.