
Падлогу ў інтэрв'ю каманда Transposh
Мы запрасілі Пола осьминога Transposh за пару піва пасля яго апошні поспех у Кубку свету. Мы папрасілі яго зрабіць некалькі прагнозаў для нас у надыходзячым версія Transposh, і так як, выпіўшы занадта шмат ён сапраўды супрацоўніцтва мы мелі магчымасць зрабіць эксклюзіўнае інтэрв'ю з ім.
Мы першыя спыталі яго аб новай версіі Transposh, 1 з падтрымкай стварэння ўласных віджэтаў мову (хочаце ведаць, як? зайдзіце на наш Віджэт пісьмовым кіраўніцтва). Ён сказаў, што ён сапраўды осьминога любіць рэчы з сокеты або рэчы, якія так ці інакш падлучальныя, так што ён прадказаў гэтая функцыя будзе мець вялікі поспех (убачыўшы JavaScript заснаваных віджэт ўзору). Ён таксама даў нам сумленнае папярэджанне, што калі хто-то прапускае гэтыя пазнакі вуліца (і ведаю, што яны мелі на ўвазе) яны могуць хутка зашыфраваны іх уласных віджэтаў.
Пасля гэтага ён стаў часткай цікавае маўчанне, і нагадаў нам падморгваў, што осьминоги не магу гаварыць. Таму мы вырашылі пайсці на хітрасць дзве каробкі, мы паставілі каробку з прыгожай карцінкі вялікага, і яшчэ адзін з выявай рыса (Красавік?), , І мы чакалі яго, каб адкрыць акно залежнасці ад таго, ён лічыў гэта патрэбным. Натуральна, ён адкрыў акно памылка, , Якое мы бачылі ў якасці прычыны, каб напісаць нармальны папярэджання памылак, што можа нават проскользнет праз нашы тэсціравання (нават з дапамогай 8 ўзброеных прарока працуе для нас на КК). Мы таксама выкарыстоўвалі магчымасць напісаць кароткае кіраўніцтва па як атрымаць развіццё вэрсія для адладкі на нашай вікі.
І апошняе, да ведама, хто хоча даць нам рукі (або нагу), ці хоча падзяліцца сваімі стварэння віджэтаў з светам больш вітаў звязацца з намі.
Атрымлівайце асалоду сённяшняга матчу, якія-небудзь пытанні Паўлу будзе накіраваны непасрэдна да яго.
PS – звычайная доля выпраўляе памылку ў, Выпраўлена некалькі Мовы ў MSN пераклад і дадаў некалькі Мовы з наладамі (да гэтага часу не аўтаматычна переводимых – але хутка будзе)
Абнаўленне: дзякуючы крытычная памылка, выяўленых у некаторых сітуацыях, 0.5.6 быў хутка заменены 0.5.7 дзякуй усім, хто пра гэта, Асаблівая падзяка dgrut.


#1 па dgrut па Ліпеня 11, 2010 - 5:57 ў
got error when update :
Папярэджаньне: require_once(/home/sempajac/public_html/buyacomputer.info/wp-content/plugins/transposh-translation-filter-for-wordpress/widgets/) [function.require-раз]: Не атрымалася адкрыць паток: Success in /home/sempajac/public_html/buyacomputer.info/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 114
Фатальна памылка: require_once() [function.require]: Памылка адкрыцця патрабуецца ‘/home/*****/public_html/*****/wp-content/plugins/transposh-translation-filter-for-wordpress/widgets/’ (include_path = '.:/USR / Бібліятэка / PHP:/USR / мясцовыя / Бібліятэка / PHP ') in /home/*****/public_html/*****/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_widget.php on line 114
Im reverting on previous version now
#2 па ofer па Ліпеня 11, 2010 - 11:25 ў
Thanks for reporting this, just released a fixed version at 0.5.7
#3 па dgrut па Ліпеня 11, 2010 - 4:15 м.
upgraded to 0.5.7 and going smooth.
Thanks for the support.
#4 па Craig па Ліпеня 11, 2010 - 6:52 ў
Latest update crashed my site!
#5 па ofer па Ліпеня 11, 2010 - 11:30 ў
Дзякуй за паведамленне, 0.5.7 is out to fix this… sorry about the troubles
#6 па Теренс па Ліпеня 11, 2010 - 7:45 ў
The plugin does not have a valid header.
#7 па ofer па Ліпеня 11, 2010 - 11:40 ў
Thanks for reporting this, just released a fixed version at 0.5.7, let me know if there are other issues
#8 па Теренс па Ліпеня 26, 2010 - 2:14 м.
The updated did the trick. Многія дзякуй. One other problem I have with Transposh is that the widget only allows a single instance. Can I edit this somewhere to create more than one instance? The reason is that I have a static front page and I have to choose whether to set the language there or on the rest of the pages. It means someone either hast to find Transposh on the front page from inside the blog/buddypress pages, or visitors arriving at the front page won’t know that they can choose a language to read in. Not an easy choice.
#9 па ofer па Ліпеня 29, 2010 - 4:18 м.
You can use the code that is mention in the FAQ to add more instances. please create a ticket about this in the trac
#10 па Клаўдыё замкі па Ліпеня 11, 2010 - 10:25 ў
activating it it gives me the error: plugin doesen’t have a valid header. going to the site, i have blank screen of death. stickyng with previous version..
#11 па ofer па Ліпеня 11, 2010 - 11:29 ў
Дзякуй за паведамленне, 0.5.7 is out to fix this…
#12 па Tib па Ліпеня 12, 2010 - 1:33 м.
I want to see some blogs or websites translated if you know. дзякуй.
#13 па ofer па Ліпеня 12, 2010 - 10:53 м.
Many exist, google for transposh and find them, maybe we’ll add a showcase here later, anyone proud of his site is welcomed to respond to this with a link.
#14 па Ціма па Ліпеня 15, 2010 - 3:59 м.
Why Google will not translate the new language?
Версія 0.5.7 updated 2010-Jul-01 (hy,az,eu,ka,ur) Дзякуй
#15 па ofer па Ліпеня 15, 2010 - 4:05 м.
Google do not yet support it in their current developers api, so we are waiting.
#16 па Thế Định Trịnh па Ліпеня 18, 2010 - 10:27 ў
hi admin, my site is now not translated, when i visit my site by translated language it show a white page, i don’t know the reasons. you can see it here:http://vnliebe.info/blog/vi/, thanks for all your supports.
#17 па ofer па Ліпеня 21, 2010 - 12:38 ў
Прывітанне
Blank pages are caused by errors, which wordpress suppresses, so you should take a look at your error log, something is probably appearing there that I might use to help…
#18 па Atomboy па Ліпеня 18, 2010 - 6:29 м.
For those who are getting the:
Plugin does not have a valid header warning
Try putting something like this:
!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
right at the top of the index.php file in the download.
Not there on 0.5.7 версія.
Seems to cure it. Not sure if that code will come out.
#19 па ofer па Ліпеня 19, 2010 - 12:33 ў
Прывітанне
This file can simply go away as well, I have no idea why it would cause any issue whatsoever as it is not something that wordpress should really touch
please create a bug for this at our trac.transposh.org site, not that I know how we’ll handle this as we have no way to recreate such a bug
#20 па pam па Ліпеня 18, 2010 - 6:52 м.
I am getting 404 error on pages that were translated (and checked) a few days ago
#21 па ofer па Ліпеня 19, 2010 - 12:29 ў
Your site seems to work (at least now it does) what is/was the issue?
#22 па Марка па Ліпеня 18, 2010 - 10:27 м.
Прывітанне
With my previous comment I just prove something I could hardly believe … your really great plugin seems to have a major bug, it switch to default language after commenting … in fact it does not change action attribute on any form on the page …. What I can’t believe is that I could not find nothing on internet about this … I am just hoping that this is somehow happening only to me …
Anyway thanks for a best translation plugin
Марка
#23 па ofer па Ліпеня 19, 2010 - 12:27 ў
Прывітанне,
This could very well be, as I am quite sure there is no code to handle that situation that we have written so far, this actually looks that the filter
comment_post_redirectshould be written and use the posting page language to handle that, and although it is not of a critical priority, there are two things you can help if you want this solved.1. write this code
2. open a bug at http://trac.transposh.org describing the nature of the bug
Thanks for reporting this and your willingness to help
#24 па scanzin па Ліпеня 19, 2010 - 1:00 м.
Hello Sir
URL translation is not working for my site. is thr any bug?
#25 па ofer па Ліпеня 21, 2010 - 12:37 ў
I can only try to help if you provide more details…
#26 па Марка па Ліпеня 20, 2010 - 4:08 ў
Hi it’s me again
Although I am not even a close to be programmer I managed to get this to work … that why I could not believe that you leave that this long …
Code below is not perfect in any way but works just fine with Rewrite URLs…/en/ system.
All that had to be done is to replace last line of wp-comments-post.php file, which is
wp_redirect($location);
with this code:
Функцыя insert_in_arr($масіў, $new_element, $індэкс) {
$Пуск = array_slice($масіў, 0, $індэкс);
$канцы = array_slice($масіў, $індэкс);
$пачатак[] = $ New_element;
$new_url_arr = array_merge($пачатак, $чым);
$new_url = выбухаць(“/”, $new_url_arr);
вярнуць $ new_url;
}
$кірунак = $ _SERVER['HTTP_REFERER'];
$url_arr = выбухнуць(“/”,$кірунак);
$Код = $ url_arr[3];
калі(StrLen($код) != 2){$code = ”;}
wp_redirect(insert_in_arr(падарвацца(“/”,$location), $код, 3));
And that’s it… thing is that you probably can write this even shorter and better.
Hope this will help someone until you implement it.
Thanks again and by
#27 па ofer па Ліпеня 20, 2010 - 11:37 м.
Thanks Marko,
I will add code to the next version, will probably be a bit shorter, and I appreciate you picking the glove here.
Credit goes to you, kudos for the work
#28 па ofer па Ліпеня 21, 2010 - 11:27 м.
Patch (quite different) entered the code:
see http://trac.transposh.org/changeset/457 which will be a part of the coming release
Атрымлівайце асалоду
#29 па dgrut па Ліпеня 19, 2010 - 3:06 м.
Дарагі Офер,
i installed new blog, then i install plugin transposh from inside wp-admin/plugin. i have an error during activate it after download, ён кажа :
The plugin does not have a valid header.
how to solve this.
#30 па Josh па Ліпеня 23, 2010 - 3:15 м.
Hey Ofer -
potentially this product looks great. I’m using WP 3.0 and the Headway theme 1.6 – і … it doesn’t work.
I installed the plugin and, there was the invalid header error which was an easy fix by adding the !W3C code as suggested above.
In the backend, it supposedly translates everything after configuring the options and reaches the end. I add the TRANSLATE widget – and click on the flag (in this case Russian) and what it does is…. either nothing. Or, it strips the css from my page, disables the javascripts and the page loads without any photos/translation/javascript hidden.
Па-другое, on other pages if you attach the /?lang=ru in the address bar…it’ll simply read the page ignoring the function call.
Hope you can work those bugs out – as I’m in need of a high quality multi-language plugin..
Enjoy mate
#31 па ofer па Ліпеня 28, 2010 - 10:42 м.
Прывітанне,
I must ask if it works with other themes (default and such)?
#32 па Теренс па Ліпеня 26, 2010 - 3:41 ў
I notice now that when a user sets the language on the first page, if he changes to a different page, the language setting is lost and the page returns to the initial (default) language. I am sure this wasn’t broken before so its either something I have done, has happened in updating or, dare I say it, has crept in at your end. The environment is WP3/BP. Where to start looking Ofer?
#33 па ofer па Ліпеня 29, 2010 - 4:22 м.
Прывітанне,
I don’t see that on your site, changed to Spanish, got to other pages… all seems ok
#34 па Джэйсан па Ліпеня 29, 2010 - 6:09 м.
Прывітанне- I am using transposh on a new blog I am developing… I am loving the functionality so far, but do have a few questions:
I am trying to set up the blog so that I can write posts in English, and my girlfriend can write posts in German- then have all posts translated into either German, Spanish, OR English, regardless of the original language. This seems to work in version 0.5.1, however I then lose the functionality of being able to have to URLs translated, which I do very much appreciate. I have tried writing posts and wrapping them in langage tags so that they will de translated and not treated as the default language, but I can’t seem to get that to work properly. Perhaps I am doing something wrong? Can you offer any insights or possible solutions?
Second question: I can’t seem to figure out how to work the editing function. I have enabled it in the settings and the checkbox appears in the widget. Аднак, nothing seems to happen when I click it; the page simply re-loads with no apparent change. I have tried this out on your site and I see that it works as it should, so this is not a browser issue- I guess I am just setting something incorrectly, though I have tried many different combinations of settings to no avail.
Any help much appreciated, and thanks in advance!!
-Джэйсан
PS. Прабачце, double post: forgot to include the website address…
#35 па ofer па Ліпеня 29, 2010 - 6:48 м.
Hello Jason,
I was busy with the release of 0.6.0 which unfortunately will still not solve your first issue (which is solveable never the less), the idea is that we would allow to mark the original language of a complete post. for now what you should to is to wrap the posts with a span with the lang attribute, in your case
span lang="de". I know this is awkward, will fix that in the future, please create a ticket for me if you want this to go faster.The second issue might be actually solved by today’s release, (on pure luck). If it doesn’t, just ping me and I will look deeper into this.
#36 па Джэйсан па Жнівень 2, 2010 - 11:26 м.
Прывітанне, thanks a lot for the reply- I had no idea you had released an updated version of the plugin, but sure enough there it was! Аднак, I have updated and still do not see any improvement on the “Рэдагаванне перакладу” option for me. I have tried on multiple browsers/configurations with no luck… This is not a huge deal for me, though I would sure love the functionality if it did work.
The other problem was solved using the span tags, Аднак, I can’t find a way to use that to translate the titles, so they end up in the original language all the time. Is there any way to add the lang=”хх” code to the template files and fill in xx with the appropriate language code using custom fields when writing the post?? Forgive me if I am going in the wrong direction here, but have have ZERO coding skills. Is there an easier/better way?
Thanks again for the help, and glad to see this plugin rapidly improving.
-Джэйсан
#37 па ofer па Жнівень 2, 2010 - 11:35 м.
Прывітанне,
Regarding the first issue, javascript seems a bit messy on your site, just look at the site using firebug and the errors will be quite visible, the first one being is that the jQuery global looks mia. Maybe you should try and disable wp_speedy_something?
Regarding marking posts for different languages, on the todo list, my guess is that you can currently add the span directly to the title in the database or do some other tricky stuff, Аднак – I would not recommend going that way, just wait for the next version (I’ll mail you once the code hits the svn if you want to try an intermediate version)
Поспехі