What is Babel?
Babel is a multilangue Wordpress plugin, it will allow you to write easily your contents in more than a language.
By the latest version you will be able to localize also post titles and your blog layouts too.
It’s very easy to install it, you have only to unflate the zip and then upload it to your plugin dir and then activate the plugin.
You have only to edit you template in order to add the function babelize(), this function will show some icons that will permit you to switch between different languages.
Other interesting feature are the language splitting support, that will allow you to mix contents in more than a language in the post (eg. i start writing in ita, than ‘ll switch to eng, and then turn back to ita again).
I’ll have to add that since the 0.7 version (it hasn’t been released yet, but you can see it working in this blog) Babel will support permalink localization and it will support also All in One Seo and Sociable.
License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
If you are planning to use this plugin for commercial use, please contact me first.
Where can I find a demo?
Babel is already working on this page, look at the flags in the sidebar and try to click on one of them.
How to install?
You just have to upload babel dir, into plugins dir of your wordpress blog, then you have to activate the plugin by admin control panel.
The last thing you have to do is to add this line:
<?php if(function_exists("babelize")) babelize(); ?>
in your theme.
How to use?
You have only to write post, tagging each language:
eg. [ it ]Italiano[ /it ] [ en ]English[ /en ]
For titles, you have to write as normal title inside post, the one in the language you have set as default in babel.php file.
Then you have only to scroll till Custom Fields and add:
- key: the short tag of the language ( eg. it or en, etc )
- value: the title text
I have to write tags with spaces to let you see how to, but you haven’t to leave any spaces inside tags, or the system won’t work at all
How to change default language?
You have to open babel.php file and set all the default value in arrayLang variable to 0, execpt for the one you want to set as default visible.
How to add a language support?
You can do following these steps:
- Open babel.php
- Look at arrayLang var
- Point your mouse between after this line:
1 => array ( ‘lang’ => ‘it’,
‘default’ => ‘0′,
‘title’ => ‘Italiano’) - Add a comma and press enter
- Add a new lang increasing the first number to 2, and setting all the info like:
2 => array ( ‘lang’ => ‘fr’,
‘default’ => ‘0′,
‘title’ => ‘French’)
The last thing you have do to, is to put inside the babel directory two images called in the same way as ‘lang’ attribue in the array.
Eg.
If ‘lang’=>’fr’ we will have to name the two gifs like: fr.gif ( the active flag one ) and dfr.gif ( for the disabled one )
How to localize menu?
Menu localization is actually on alpha stage, so it could not work perfectly.
Its usage is very simple, look at this example:
<?php _b(“testo”,”link”,”it”); _b(“text”,”link”,”en”);?>
I got a trouble with titles, how to solve it?
I saw that some templates misuse the the_title function for the anchor title value too, and this generate some troubles with Babel.
The solution to this problem is very easy, you have to edit a couple of your template files ( in particular single.php, index.php and page.php ).
First of all you have to find this line:
title=”Permanent Link to <?php the_title(); ?>”
and the replace with this one:
title=”Permanent Link to <?php echo strip_tags(get_the_title()); ?>”
Latest Stable Version: 0.64
Removed $titeTags variable.
Latest Stable Beta: 0.70
Total new version, all bugs are fixed and new features.



25.927 
This will be available…. tomorrow?!
The release date of this plugin is planned for tomorrow, so you have only to wait few hours.
Thats fantastic! What luck!
It looks good. But I met “zip file error.”
I hope fix it soon.:D
Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 2/28 — 28 febbraio 2007 @ 05:02
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
Wordpress Plugin - Babel at WPThemesPlugin.com - Wordpress Themes | Plugins | Blogs — 28 febbraio 2007 @ 07:05
[...] More info & Download [...]
WeblogToolsCollection DE » Blog Archive » WordPress Plugin Veröffentlichungen am 28.2. — 28 febbraio 2007 @ 08:08
[...] babel kann man sein Blog mehrsprachig betreiben und zwischen den Sprachen mit nur einem Klick [...]
hi,
the download links seems to be broken,
thank you anyway,
philippe
I just have a look at download and it works fine for me.
Are you both using winzip?
Download link broken, there´s a problem opening the zip.
It should work fine now.
If you have any trouble, please notify me.
hi,
it still doesn’ t work. i get this file to download: babel.tbz2
cheers,
philippe
Hi,
the zip file is working for me,
I’ll try to install the plugin in few minutes,
Thank’s a lot for ur job anyway
It’s me again :D
I insttalled the plugin without any problem but now I have some questions..
How to use it? Where(how?) may I write in english and when my post is wrote, how my readers can choose the language?
Maybe I don’t see your readme or something like that on your website but here I’m lost :D
[quote comment="874"]hi,
it still doesn’ t work. i get this file to download: babel.tbz2
cheers,
philippe[/quote]
Mhh, what’s your download agent?
Which program are you using for deflate this file?
[quote comment="876"]
How to use it? Where(how?) may I write in english and when my post is wrote, how my readers can choose the language?
Maybe I don’t see your readme or something like that on your website but here I’m lost :D[/quote]
You have to wrote down by yourself post in multilanguague, when you are writing your post you have to do something like:
[en]This is in english[/en]
[fr]This is in french[/fr]
[it]This is in italian[/it]
Then obviously had to config babel.php with the right languages.
Now you should be able to read all the instructions and faq about this plugin in this page.
Btw I suggest to download the new version.
Ok, that’s now great with the F.A.Q.
I’m trying to put the “title” first & the flag in second but I’m so weak in php, i’m not able to do it :(
[quote comment="879"]Ok, that’s now great with the F.A.Q.
I’m trying to put the “title” first & the flag in second but I’m so weak in php, i’m not able to do it :([/quote]
Itâ??s quite easy, give me a while and iâ??ll write a little tutorial about this.
[quote comment="880"]
It’s quite easy, give me a while and i’ll write a little tutorial about this.[/quote]
Thank you very much dude, you did a great job & you give us a very nice assistance :)
Ok, FunkyBearZ here you are the tips to modify the script in the way you are looking for:
first of all point your mouse on line 86 and add this:
“.$l['title'].”
between div and a href.
then go to line 95 and remove this piece of code:
“.$l['title'].”
Hum, the help you give it to me (replace the lines) doesn’t work, but i think that’s because the comments interpret the code & not just past it.
Waiting for a solution before thanks you again :D
[quote comment="883"]
Waiting for a solution before thanks you again :D[/quote]
Look at previous post, it should work fine for you.
Yeah! it’s work! Thank’s for your job, just can tell you to continue on that way.
I have a last question but it’s not with coding or blogging. I’m just asking to you your msn or skype adress or I don’t know what instant messaging software you are using. It’s not for question about that or something that looks like, it’s just cause I’ve italians origin and I’m enjoying very much to speak with people from other countries. It’s maybe seems to be weird but it’s not.
You can reply on my mail, or not.. I’ll understand if you doesn’t want.
Anyway thank’s for your work.
Have a nice day.
WeblogToolsCollection Español » Blog Archive » Plugins de WordPress ublicados 28/2 — 28 febbraio 2007 @ 16:10
[...] babel permite escribir tu blog en varias lenguas y cambiar entre lenguas con un simple click en una bandera. [...]
Well there have been some other plugins like yours around lately. I asked the plugin-authors nearly the same question as I would like to ask you. How are entries split? Are they? When someone is searching will he get both or all language entries as a result? Or won’t english searches show up, when italian language was chosen? How are blog-posts shown in google and others? And what about the titles of blogposts? Are they polyglot either?
Thanks in advance for thinking over and answering. Most of the plugins that work the same way as yours have the same problems. It’s nice to see people making effort on multilanguage plugins. I appreciate that. When someone is going to publish a “real” multilanguage plugin that’s able to cope with all of the things mentioned above in the right way, I (as a poor student) would spend some bucks for it. Honestly.
A dopo e grazie per tue sforzi,
Alex
Skylog » Blog Archive » links for 2007-03-01 — 1 marzo 2007 @ 07:21
[...] Babel This plugin is able to show you each post ( only if written using babel tagging ) in your favorite language, chosen by a simple click on a language flag. (tags: wordpress plugin) [...]
Hi there. I have started using your plugin but is there any chance The subject of the post could be translated as well?
Thanks for your help
[quote comment="910"]Hi there. I have started using your plugin but is there any chance The subject of the post could be translated as well?
Thanks for your help[/quote]
This feature is planned, i have only to find a way to do it without affecting the parmalink…
[quote comment="897"]Well there have been some other plugins like yours around lately. I asked the plugin-authors nearly the same question as I would like to ask you.[/quote]
ok
[quote comment="897"]How are entries split? Are they?[/quote]
Yes you can slip comments like:
[en]I’m starting posting in eng[/en]
[it]now in italian[/it]
[en]uh! ‘m back to eng[/en]
[quote comment="897"]When someone is searching will he get both or all language entries as a result? Or won’t english searches show up, when italian language was chosen?[/quote]
I give you an example, look at the first post ( the bug one ), if you search for “bug”, you will obtain this:
http://gh3.ellequadro.net/?s=bug
Btw the search read the full post so it is able to find, but the only language visible is the one you have chosed with the flag.
[quote comment="897"]How are blog-posts shown in google and others? [/quote]
as you can see here by spider test: http://www.seochat.com/?go=1&option=com_seotools&tool=17&url=gh3.ellequadro.net&imageverify=CPDEM&timehsh=uLa5s7Q=&submit=Spider
google is able to see all the content in all the languages them are written in.
[quote comment="897"]And what about the titles of blogposts? Are they polyglot either?[/quote]
At the moment, as i said in the previous comment they aren’t polyglot due to the permalink problem.
I’m thinking about it in my spare time.
[quote comment="897"]
Thanks in advance for thinking over and answering. Most of the plugins that work the same way as yours have the same problems. It’s nice to see people making effort on multilanguage plugins. I appreciate that. When someone is going to publish a “real” multilanguage plugin that’s able to cope with all of the things mentioned above in the right way, I (as a poor student) would spend some bucks for it. Honestly.
A dopo e grazie per tue sforzi,
Alex[/quote]
I’m a poor student too, and I hope to make an improved version of my plugin sooner, and I really appreciate feedbacks by users, and suggestion on how to made my work better.
Scusa, ma il file .tbz2 come lo estraggo? O lo carico così com’è? O.O
Ho scaricato ZipZag, ora l’ho scompattato :D
Non potevi farlo in .zip? o .rar?
Comunque l’ho installato, e non mi va l’impostazione nella sidebar…
[quote comment="925"]Scusa, ma il file .tbz2 come lo estraggo? O lo carico così com’è? O.O[/quote]
tar -xjf nome_tarball.tbz2
[quote comment="926"]Ho scaricato ZipZag, ora l’ho scompattato :D
Non potevi farlo in .zip? o .rar?
Comunque l’ho installato, e non mi va l’impostazione nella sidebar…[/quote]
hai editato il template inserendo < ?php if(function_exists('babelize')) babelize(); ?> ?
Hi uall!
2 questions i have…. since i,m using semiologic theme where to add the code line exactly?
or is it not working in that theme? this i,m going to check now, thx
[quote comment="944"]Hi uall!
2 questions i have…. since i,m using semiologic theme where to add the code line exactly?
or is it not working in that theme? this i,m going to check now, thx[/quote]
The script should work on all the themes and you can add the babelize function wherever you want, according to your styling preferences.
[i:rrhoblog] » links for 2007-03-02 — 2 marzo 2007 @ 23:19
[...] Babel multi language posting plugin for Wordpress (tags: plugin wordpress wp-plugins sprachen) [...]
ThemePress » Weblog Tools Collection: WordPress Plugin Releases for 2/28 — 4 marzo 2007 @ 07:57
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
Wow … a really cool feature! Just installed it, did a bit of output optimisation and off you go … cool. Do you think it will be possible to include comments as well (I know, a stupid request)?
gracie et bouna journata
Klaus
Hi, just a little issue:
I use 2 languages, en and de (english and german). But whichever of the languages I set as active (1), I always get the german as default language. Does the javascript actually check for the brownser language and use that one?
gracie et a doppo
Klaus
Ciao, ma non è possibile tradurre anche i titoli (e di conseguenza anche le voci dei vari menu?) utilizzando lo stesso sistema??
[quote comment="1112"]Hi, just a little issue:
I use 2 languages, en and de (english and german). But whichever of the languages I set as active (1), I always get the german as default language. Does the javascript actually check for the brownser language and use that one?
Klaus[/quote]
Yes, the script always check for the preferred languages inside the user browser, and if it finds that the first choice is available as post, show directly it.
I have to add that all the other people that haven’t got as first preferred language one of the supported ones, will read the posts in the default language
[quote comment="1113"]Ciao, ma non è possibile tradurre anche i titoli (e di conseguenza anche le voci dei vari menu?) utilizzando lo stesso sistema??[/quote]
Si. il problema è trovare un modo per non andare a inficiare il funzionamento dei permalink :(
Ok, quindi basterebbe non usare i permalink, giusto? Sarei disposto a farlo se si riuscissero a tradurre anche i titotli e di conseguenza anche le voci del menu pages.
Mi pseghi come fare?
Ciao e grazie.
Great script!
It works perfectly, but I have one little problem. I have a menu with links (offcourse) and I cant find a way to get the script to show the right menu to the right language.
Hope you can help me.
Thank you!
[quote comment="1132"]Ok, quindi basterebbe non usare i permalink, giusto? Sarei disposto a farlo se si riuscissero a tradurre anche i titotli e di conseguenza anche le voci del menu pages.
Mi pseghi come fare?
Ciao e grazie.[/quote]
Teoricamente si potrebbe fare così:
< div class="it" > Indice < / div >
< div class="en" > Index < / div >
< div class="lang" > Lingua < / div >
Ma manca il sistema per nascondere inizialmente il linguaggio…
Per i titoli andrebbe implementato il tutto ancora…
[quote comment="1153"]Great script!
It works perfectly, but I have one little problem. I have a menu with links (offcourse) and I cant find a way to get the script to show the right menu to the right language.
Hope you can help me.
Thank you![/quote]
You, have just asked the same thing of Roberto, it is quite possible.
Basically the system will work fine, but the system that hide the other languages doesn’t work, if you use what I wrote in the post before.
[quote comment="1126"]
Yes, the script always check for the preferred languages inside the user browser, and if it finds that the first choice is available as post, show directly it.
I have to add that all the other people that haven’t got as first preferred language one of the supported ones, will read the posts in the default language[/quote]
thanks a lot for your answer … suspected so ;-)
gracie
Klaus
So i can either choose between hiding the menu or the text? can you write in english what i should do? i am a little slow, yes!
thanks again
grazie, ma la cosa più importante sono i titoli… non si può fare nulla?
Ciao, girovagando ho trovato questo e sembra che traduca anche i titoli, solo che su 2.0 ha dei problemi… magari puoi prendere spunto!
http://ml_multilingual.code-in-design.de/download/
[quote comment="1191"]So i can either choose between hiding the menu or the text? can you write in english what i should do? i am a little slow, yes!
thanks again[/quote]
I can’t write down instructions, due to the system will not work at all, it still need a programming part.
But at the moment I’m working on titles, hoping to let them multilanguage too.
Ps. I see your flickr album, very very nice arts!
[quote comment="1192"]grazie, ma la cosa più importante sono i titoli… non si può fare nulla?[/quote]
Compatibilmente al mio tempo libero proverò a fare qualcosa… però non assicuro nulla..
ahh, i see. i had this idea with images that was language tagged, but that didnt work either. so if you have a great idea, let me know:)
nice art yes! haha:)
[quote comment="1193"]Ciao, girovagando ho trovato questo e sembra che traduca anche i titoli, solo che su 2.0 ha dei problemi… magari puoi prendere spunto!
http://ml_multilingual.code-in-design.de/download//quote
A dire il vero una soluzione ce l’ho già , il problema è il tempo…
[quote comment="1196"][quote comment="1193"]Ciao, girovagando ho trovato questo e sembra che traduca anche i titoli, solo che su 2.0 ha dei problemi… magari puoi prendere spunto!
http://ml_multilingual.code-in-design.de/download//quote
A dire il vero una soluzione ce l’ho già , il problema è il tempo…[/quote]
Ok, grazie mille.. se mi dici magari come fare posso provare a darti una mano…
Bisognerebbe aggiungere ore alle giornate :)
Cmq ho dato un occhio, la cosa forse è fattibile, devo solo capire come sistemare un paio di bug.
links for 2007-03-03 en newdisco — 12 marzo 2007 @ 02:45
[...] Babel » gh3log Plugin de Wordpress para publicar contenido en varios idiomas. (tags: wordpress plugin plugins language languages) [...]
ok… se hai qualche novità potresti farmi sapere anche via email… sarebbe il massimo per me questa cosa della traduzione anche dei titoli e delel voci di menu!
[quote comment="1247"]ok… se hai qualche novità potresti farmi sapere anche via email… sarebbe il massimo per me questa cosa della traduzione anche dei titoli e delel voci di menu![/quote]
beh ti dirò da qualche giorno ho rilasciato la 0.3 che ha il supporto proprio per i titoli, senza andare a modificare i permalink.
se provi a dare un occhio al mio blog puoi vederlo già funzionare.
Ciao, ho provato ma non funziona… me li mette tutti e due contemporaneamente, e poi cmq (cosa per me molto importante) non va a tradurre anche la voce del menu.
Cosa si può fare?
Il link che ti avevo segnalato traduceva anche la voce del menu.
[quote comment="1250"]Ciao, ho provato ma non funziona… me li mette tutti e due contemporaneamente, e poi cmq (cosa per me molto importante) non va a tradurre anche la voce del menu.
Cosa si può fare?
Il link che ti avevo segnalato traduceva anche la voce del menu.[/quote]
Mi correggo… non funzionava perchè non compatibile col plugin per utilizzare qualsiasi tipo di font nei titoli, disattivato il plugin funziona correttamente, rimane sempre il problema della traduzione delle voci del menu.
E’ fattibile? Se mi dai buone speranze, per il momento attendo, altrimenti sarò costretto a cambiare sistema e passare a joomla (che con jomFish ha questa funzione), ma mi dispiacerebbe parecchio!
Grazie per la pazienza e per lo splendido lavoro…
Saluti,
Roberto
any chance to get category names translated too?
what happens if I forget to tag a post or page – will the original post be shown in any languages?
[quote comment="1258"]any chance to get category names translated too?
what happens if I forget to tag a post or page – will the original post be shown in any languages?[/quote]
Categories is a bit hard to work on
If you forget tagging it will be shown in every language.
oh, and what about storing the selected language in a cookie or somehow? I mean default is RO but the visitaor selects EN, when he changes to another page or post, he sees again the RO version…
I mean I would like the selection to stay during his whole visit… this is pretty important, just imagine how annoyed you would be if you had to select another language with each post/page you were visiting…
[quote comment="1260"]oh, and what about storing the selected language in a cookie or somehow? I mean default is RO but the visitaor selects EN, when he changes to another page or post, he sees again the RO version…
I mean I would like the selection to stay during his whole visit… this is pretty important, just imagine how annoyed you would be if you had to select another language with each post/page you were visiting…[/quote]
Yes, it could be an interesting thing, I’ll add in 0.4
I have to notify you, that i’ve just released the 0.4 version, with cookie support feature :)
Enjoy!
you’re great. you just made my day.
you said: Plugin usage for commercial use, is granted only by donation
where can I donate something to you? I’d like to give you at least a bear, or as it seems you’re Italian a bottle of wine for your quick solution to my problem :-) do you use paypal?
I forget to add the donate button :x
I’ll add it asap in this page ;)
hello,
what happened here? all my comments from yesterday and your replies disappeared…
I have one more question: I just noticed, that there is now way to also translate the menu generated in the sidebar by other widgets, right? I mean the menu shows my pages, but not the translated page titles :-(
any idea how I could do that?
I mean have a look at your site: you list your pages in the sidebar, one is called “my works” even if I switch to italian, the page title in your sidebar doesn’t change …
do you know how to do that? I need to fully make a blog bilingual…
sorry, just noticed you changed the sort order,
Ma hai cancellato i miei ultimi commenti? Non li vedo più…
Novità per LA TRADUZIONE DELLE VOCI DEL MENU?
[quote comment="1280"]Ma hai cancellato i miei ultimi commenti? Non li vedo più…
Novità per LA TRADUZIONE DELLE VOCI DEL MENU?[/quote]
ops… cambiato l’ordine!
Ciao Bello il Plug, lo stavo testando, ho notato che l’ RSS che esce riporta i due titoli per ogni feed Notizia1Notizia1, credo che l’deale sarebbe metterci uno spazio.
Comunque Bravo.
Roberto e ovidiu state facendo la medesima domanda, sulla traduzione dei menu.
E la risposta al momento è negativa, dato che il tempo è poco, ma ho più o meno in mente come fare, unico difetto che bisognerà fare qualcosa del tipo < ? babelmenuItem('it','nome'); ?>
Dovrete solo attendere…
Ovidiu and roberto are you both making the same question about menu translation.
The problem is that I haven’t enough spare time in this period to do that, I can say that sooner I’ll add it in a way like < ? babelmenuItem('it','nome'); ?>
You should have only to wait…
[quote comment="1283"]Ciao Bello il Plug, lo stavo testando, ho notato che l’ RSS che esce riporta i due titoli per ogni feed Notizia1Notizia1, credo che l’deale sarebbe metterci uno spazio.
Comunque Bravo.[/quote]
grazie della notifica, nella 0.5 provvederò al fix.
ok, e se volessi metterli manuali?
come faccio a far si che si traducano in base alla lingua?
ciao e grazie
[quote comment="1318"]ok, e se volessi metterli manuali?
come faccio a far si che si traducano in base alla lingua?
ciao e grazie[/quote]
< div class="it">italiano
< div class="en">inglese
ma non funzionerà il sistema di hiding automatico in base alla configurazione del browser o del gestore del sito.
Scusa l’ignoranza, che intendi per sistema di hiding? Cosa succede se metto i menu in questo modo?
[quote comment="1389"]Scusa l’ignoranza, che intendi per sistema di hiding? Cosa succede se metto i menu in questo modo?[/quote]
che si vedono in entrambe le lingue, e solo dopo aver premuto una volta sul bottone quella non necessaria scompare.
[quote comment="1392"]
che si vedono in entrambe le lingue, e solo dopo aver premuto una volta sul bottone quella non necessaria scompare.[/quote]
Ok, ma è una cosa che non funziona con alcuni browser in particolare? Mi spiego, se il gestore del sito fornisce questa cosa, come faccio a sapere s qualche browser è incompatibile?
ciao e grazie
[quote comment="1395"]
Ok, ma è una cosa che non funziona con alcuni browser in particolare? Mi spiego, se il gestore del sito fornisce questa cosa, come faccio a sapere s qualche browser è incompatibile?
ciao e grazie[/quote]
Sperando di aver capito, il sistema non funziona, dato che non è implementata alcuna funzione per la gestione di contenuti extra oltre al titolo e contenuto del post nel sistema multilingua.
Il sistema valuta ad ogni caricamento di pagina:
- il cookie con la lingua scelta dall’utente
- se assente la lingua settata nel browser
- se assente la lingua settata di default nel sistema
in base a questo definisce quale sia la lingua visibile e quale/i siano quelle nascoste.
Ora per i menu questo non viene fatto, dato che non c’è una funzione preposta a questo.
Quindi a video verranno mostrate tutte le lingue, e solo quando si premerà una bandiera, le lingue non corrispondenti a quella verranno celate.
Ad ogni modo se si preme f5 o si fa refresh si è punto a capo.
Ovviamente questo accade per i menu se si usa il metodo detto poco sotto:
Mentre per i contenuti dei post e titoli il tutto funziona normalmente.
In conclusione il mancato funzionamento per i menu non è determinato dal browser o meno, solo dal fatto che non esiste la funzione necessaria, dato che non è stata ancora implementata.
Compatibilmente con i miei impegni personali, di studio e lavorativi, quando avrò un po’ di tempo libero per la 0.5 vedrò di implementare anche questa feature, che da tempo richiedete…
Hi to everyone
Im making my blog on local server for test purpose (just only for a while jeje)
I’ve decided to make my blog on 4 languages: English (default), Spanish, Catalan and french. The installation is right and i’m sure that there’s no mistakes. Til here there’s no problem. But when I’m writting the entrie when I write the catalan tittle it crash and in all languages appears it : CLASSE Dâ??HONNEUR, permettra aux Juges concourir entre eux
HONOUR CLASS for the Juries
“‘>
La clase de honor permitirá a los jueces concursar
La classe d’honor permetrà als jutges concursar
CLASSE Dâ??HONNEUR, permettra aux Juges concourir entre eux
And it only happens when i write catalan. Can you help me please? Thanks a lot…….
[quote comment="1601"]Hi to everyone
Im making my blog on local server for test purpose (just only for a while jeje)
I’ve decided to make my blog on 4 languages: English (default), Spanish, Catalan and french. The installation is right and i’m sure that there’s no mistakes. Til here there’s no problem. But when I’m writting the entrie when I write the catalan tittle it crash and in all languages appears it : CLASSE Dâ??HONNEUR, permettra aux Juges concourir entre eux
HONOUR CLASS for the Juries
“‘>
La clase de honor permitirá a los jueces concursar
La classe d’honor permetrà als jutges concursar
CLASSE Dâ??HONNEUR, permettra aux Juges concourir entre eux
And it only happens when i write catalan. Can you help me please? Thanks a lot…….[/quote]
I think it could be a problem with styles, try changing the lang value in arraylang, and let me know if it works fine…
Ma dove devo posizionare questo esattamente?
[quote comment="1642"]Ma dove devo posizionare questo esattamente?[/quote]
presumo il codice per gestire i linguaggi, se intendi quello dovunque tu voglia nel template, come descritto nelle faq.
I liked the previous one – Simple Multilanguage -, and thought I will try Babel too, but got a slight problem.
No matter where I put the line, I always got a Parse error: unexpected T_IF….
Where should I put it, exactly?
Thank you in advance :)
[quote comment="1702"]I liked the previous one – Simple Multilanguage -, and thought I will try Babel too, but got a slight problem.
No matter where I put the line, I always got a Parse error: unexpected T_IF….
Where should I put it, exactly?
Thank you in advance :)[/quote]
the line should work in every place, and this the first time I see that there is an error.
could you please give me the right error message?
Geez, sorry, my browser did not display my comment..
Bloody caching.
So, I tweaked it and now it works, but:
Title looks like this:
Blog Design Solution
“>
Blog Design S …
And under the Manage Posts it looks like this:
<div class=”en” style=”display:block”>Sound in Second Life</div>
Any idea how to correct it?
WordPress 2.1, News Time theme.
Hi, i can say that the trouble in manage post is already fixed in 0.5 version of babel, and i hope to release it sooner.
I haven’t understood which was the other problem, the first one you described, with titles.
Sorry, so instead of seeing this
LONGISH TITLE
I see this:
LONGISH TITLE
“>
Longi…
where the capped title is a link, and the thing after “> is simple text.
If you go to my site you can see it, I will turn on the plugin for you.
ah, ok i’ve just understood.
are you using any other plugin that works on titles?
Huh… Good question.
Maybe ClickCounter, I don’t know.
I have turned off all my plugins but it did not help, only when I turned off Babel has it turned back to “normal”.
I think it could be maybe the News Time theme, but I list here my plug-ins, maybe you know something I don’t – probable, I don’t really know much about these plugins :)
Akismet 1.2.1
AutoMeta 0.8
Babel 0.4
Backlinks 1.0a
Boakes MostWanted 0.1.9v
Click Counter 1.02
Comment Analysis 1.2
CountPosts 1.1 Beta
Extended Live Archives 0.10beta-r18
Feedburner Feed Replacement 2.1
FeedBurner Stats 0.1.4
Filosofo Highlight Current Category 1
Flashifier 0.11
FlvPlayer 0.1.2
Google Adsense widget 1.0
Google Search widget 1.0
Jerome’s Keywords 1.9
PMetrics 0.3.2
Sidebar Widgets 1.0
Sociable 1.2
StatTraq 1.0a beta
Survey Creator 0.1
Ultimate Tag Warrior 3.141
Ultimate Tag Warrior: Tag Archive 1.0
Visitor’s Info 1.0
Weighted Categories 1.2
WordPress Database Backup 1.8
Wordpress Multi URI Ping 0.9
WP-Amazon 2.0 Beta 1.1
WP-Footnotes 1.3
WP-SlimStat 0.9.2
WP-Stats 2.04
WP-Stats Widget 2.04
it seems so that the problem is between the theme and my plugin.
try to have a look at theme template, how it display titles, if it use the standard wp function the_title() or it in some ways override it or similar ( i started thinking that it could be the real problema )
i hope this could help you.
hmm…
it uses “>
I tried it with the default theme, and same problem, checking it closer it is like the Title gets displayed correctly then the “> and the permalink comes out in that weird way.
And with the default theme the whole thing falls apart.
I will try a fresh install, and see what happens.
Ok.
I installed a new blog. Fresh, Wordpress 2.1.3, three plugins (Akismet, Babel, Hello Dolly), and only default themes.
Only Babel is enabled, same problem and the Default Wordpress theme has fallen apart.
I will leave it up for you to check it out htpp://despil.hu/testblog
make that http://despil.hu/testblog/
Che strano, ho lo stesso problema di Roland, qualche idea?
Sto considerando di cambiare piattaforma per il blog e il tuo plugin potrebbe farmi decidere definitivamente.. Gran bel lavoro (se dai un perchè a questa cosuccia :P)!
Aggiungo solo un dettaglio: apparentemente il problema è l’attributo “title” del tag “a” sul titolo dei post. Per qualche ragione (su cui sono certo farai luce) include del codice html e soprattutto delle virgolette che distruggono l’HTML..
Grazie :)
Complimenti per il plugin, geniale!!
Pero come fare per cambiare il titolo di una pagina?
Questo non funzione con le pagine:
“Then you have only to scroll till Custom Fields and add:
* key: the short tag of the language ( eg. it or en, etc )
* value: the title text”
Grazie mille
First of all, sorry for delay, but I was on holiday :P
[quote comment="1923"]Complimenti per il plugin, geniale!!
Pero come fare per cambiare il titolo di una pagina?
Questo non funzione con le pagine:
“Then you have only to scroll till Custom Fields and add:
* key: the short tag of the language ( eg. it or en, etc )
* value: the title text”
Grazie mille[/quote]
Spero di poter aggiungere anche questa feature nella imminente 0.5
[quote comment="1874"]Aggiungo solo un dettaglio: apparentemente il problema è l’attributo “title” del tag “a” sul titolo dei post. Per qualche ragione (su cui sono certo farai luce) include del codice html e soprattutto delle virgolette che distruggono l’HTML..
Grazie :)[/quote]
[quote comment="1873"]Che strano, ho lo stesso problema di Roland, qualche idea?
Sto considerando di cambiare piattaforma per il blog e il tuo plugin potrebbe farmi decidere definitivamente.. Gran bel lavoro (se dai un perchè a questa cosuccia :P)![/quote]
[quote comment="1859"]make that http://despil.hu/testblog//quote
Ho dato un occhio spero di risolvere appena ho tempo, l’attesa dovrebbe essere solo di qualche giorno ( al più ).
I just had a look at your blog, i think to have find out the problem, and ‘ll fix it in 0.5 that i hope to release really soon.
Grazie per la risposta.
In fatti sono riuscito a inserire direttamente nel titolo questo tag per esampio:
LIENSLINKS
e funzione !! Pero, se sceglio “IT” il titolo diventa LINKS ma una volta che faccio il clic con il mouse sul titolo LINKS, mi fa vedere la mia pagina in italiano ma mi cambia da solo il titolo dal italiano al francese…Strano
oups scuza! volevo scrivere:
LIENSLINKS
invece di LIENSLINKS
be mi dispiace veramente, cancella il miei precedenti messagi, provo un’ultima volta, aggiungo 3 punti :-)
LIENSLINKS
Ci mancherebbe, grazie della risposta.
Io per il momento ho risolto levando l’attributo title ed il plugin funziona alla grande! Ancora complimenti, ripasserò per eventuali update ;)
ps: mi fa la stessa cosa con il title del “link ai commenti”, se può esserti utile
[quote comment="1963"]Ci mancherebbe, grazie della risposta.
Io per il momento ho risolto levando l’attributo title ed il plugin funziona alla grande! Ancora complimenti, ripasserò per eventuali update ;)
ps: mi fa la stessa cosa con il title del “link ai commenti”, se può esserti utile[/quote]
ieri mi è venuto un dubbio, il problema potrebbe essere legato non tanto al plugin, bensì al tema in uso e come gestisce i titoli.
provate a guardare se per il parametro title=”" la funzione chiamata è così o meno: printf( __(‘Permanent Link to “%s”‘,’redo_domain’), wp_specialchars(get_the_title(),1) );
se risultasse difforme provate a modificarla in questo modo.
ah si ovviamente poi fatemi sapere :D
hello, I just wanted to ask you to translate if there are any important things in the comments as I do not udnerstand more than a few words in italian :-)
still waiting if you can sort out a translation of categories :-)
[quote comment="1983"]hello, I just wanted to ask you to translate if there are any important things in the comments as I do not udnerstand more than a few words in italian :-)
still waiting if you can sort out a translation of categories :-)[/quote]
i replied only about the title trouble, I’m thinking about that the problem is connected to themes and not directly with the plugin.
I just asked to ppl that have that problem to look at their template, in particular with reference to the post functions, and to have a look if their template generate titles, and in particular the value title=â?” of the a href in this way or not: printf( __(â??Permanent Link to â??%sâ?â??,â??redo_domainâ??), wp_specialchars(get_the_title(),1) );
at this moment there are no news about category title translation.
Hi, I just wanted to point out, that the jLanguage plugin has – as far as I understood – the same functionality implemented in a quite similar way. I’ve used jLanguage for a week now but noticed a big problem today: The tags are displayed in the feeds of your page, too! FeedBurner doesn’t remove them, too. The feeds should be generated according to the language that you’ve activated! Do you know of any plugin that can do that?
Without using feedburner, my plugin already set the feed language with reference to the language you have chosen by clicking on the language flag reading a coockies, or if you haven’t chosen the system will show you, if available your browser default language or if there is no text in that language it will show you the feeds in the default language ( that you are able to set in babel.php )
At the moment i’m not using feedburner, so i can’t tell you how much compatible it will be with my plugin, because i don’t know if feedburner use a spider to grab the feed, and in this way the feed generated on a blog using babel will work as described some rows up, or it use a sort of fopen function, and in this way i don’t know how it could work.
Ciao di nuovo, conoscendo molto poco wordpress non mi permetto di dire che il problema (dei titoli) è molto molto strano, ma in realtà lo è :D
Ad ogni modo.. A me lo faceva anche con il tema predefinito e nessun plugin installato, quindi senza strane gestioni dei titoli da parte del tema..
La cosa interessante è che ho recentemente cambiato hosting, passando da windows a Linux e su Linux il problema non c’è, tutto perfetto. Direi che è un buon punto di partenza no? ;)
provate a guardare se per il parametro title=â?” la funzione chiamata è così o meno: printf( __(â??Permanent Link to â??%sâ?â??,â??redo_domainâ??), wp_specialchars(get_the_title(),1) );
Dove devo guardare?
il problema c’e l’ho qui:
(div class=”it” style=”display:none”)(h2)ALTRO(/h2)(/div)(div class=”fr” style=”display:block”)(h2)AUTRES(/h2)(/div)
(ul class=”pages” )
(?php wp_list_pages(‘exclude=51,5,2&sort_column=menu_order&title_li=’); ?)
(/ul)
>> ( ho cambiato con () )
funzione bene pero se sono in italiano e che faccio un clic su un titolo di una pagina mi cambia il TITOLO “ALTRO” in “AUTRES senza modificare la lista dei titoli/pagine che rimengono in italiano..
Espero che sono chiaro :-)
[quote comment="2067"]provate a guardare se per il parametro title=â?” la funzione chiamata è così o meno: printf( __(â??Permanent Link to â??%sâ?â??,â??redo_domainâ??), wp_specialchars(get_the_title(),1) );
Dove devo guardare?
il problema c’e l’ho qui:
(div class=”it” style=”display:none”)(h2)ALTRO(/h2)(/div)(div class=”fr” style=”display:block”)(h2)AUTRES(/h2)(/div)
(ul class=”pages” )
(?php wp_list_pages(‘exclude=51,5,2&sort_column=menu_order&title_li=’); ?)
(/ul)
>> ( ho cambiato con () )
funzione bene pero se sono in italiano e che faccio un clic su un titolo di una pagina mi cambia il TITOLO “ALTRO” in “AUTRES senza modificare la lista dei titoli/pagine che rimengono in italiano..
Espero che sono chiaro :-)[/quote]
si si chiaro, il problema è che tu hai definito nello stile che AUTRES sia sempre visibile con style=”display:block;”
purtroppo babel per ora non supporta altro che titoli e testo, per i menu laterali al momento non c’è niente da fare.
dovrei creare una funzione ad hoc proprio per quello.
nella 0.5 ci sarà :)
Wordpress ä¸è?±å°ç?§ç??ç??é?£ « YY’s blog — 26 aprile 2007 @ 04:27
[...] æ?¾äº?å?©å??ç??ä¾?å¯ä»¥ä¸?試ç??æ?ä»¶… é¦?鏿?¯ babel, å? ç?ºé??度快è??ä¸?è½?æ?èª?è¨?æ??ä¸ç?¨ reload, ä½?çµæ??ç ´å£?äº?æ?¥è¨?æ¨¡æ¿ [...]
Wordpress ä¸è?±å°ç?§ç??ç??é?£ « YY’s temp blog — 26 aprile 2007 @ 13:02
[...] æ?¾äº?å?©å??ç??ä¾?å¯ä»¥ä¸?試ç??æ?ä»¶… é¦?鏿?¯ babel, å? ç?ºé??度快è??ä¸?è½?æ?èª?è¨?æ??ä¸ç?¨ reload, ä½?çµæ??ç ´å£?äº?æ?¥è¨?æ¨¡æ¿ [...]
Blogging in two languages « YY’s temp blog — 26 aprile 2007 @ 18:40
[...] I’ve been finding ways to blog in both English and Chinese. I’ve tried two plugins: babel and jLanguage without success. While babel has the speed advantage over the others, it breaks my [...]
Adnan Sancak » Blog Archive » First One — 26 aprile 2007 @ 21:28
[...] WordPress Copyright © Adnan Sancak. All rights reserved. Made free by Make Money , Flower Delivery and Weight Loss Website design by:AskGraphics This blog is multi language by gh3’s Babel [...]
Michel’s Exhaust »Michel wordt meertalig — 3 maggio 2007 @ 21:14
[...] te maken heb ik overigens een aardige zoektocht af mogen leggen. Ik probeerde onder andere Gengo, Babel en ContentLocale, maar kwam uiteindelijk uit op JLanguage 2. Eens zien of ik dat volhoud :P [...]
Hello gh3,
Thank you for the wonderful plugin. However, I too have the same problem with the Title being mentioned above. Have you got any fix on this yet?
Thanks!
[quote comment="2245"]Hello gh3,
Thank you for the wonderful plugin. However, I too have the same problem with the Title being mentioned above. Have you got any fix on this yet?
Thanks![/quote]
Hi, is your hosting on windows or linux?
hi gh3,
It is on Linux and I am using the latest version of WordPress.
The code in the index.php of the default template is:
” rel=”bookmark” title=”Permanent Link to “>
but when the “babel” plugin is active, the Div’s for title from the plugin is inserted in the middle of the href’s link and that causes the problem.
I am at work right now, but whenever I have chance, I post it up how exactly it rendered on the screen for you to see.
Thanks!
I couldn’t post the code from the theme up here..When I changed to different theme, the problem was gone; however, it showed up all the languages including the tags [] …
The body of the post is ok though.
mhh are you sure to have set titles in this way?
you have to use the post page in this way:
in the title input form you have to write down the title in your default language like “default language title” without tags.
then you have to scroll down that page to “Custom Fields”, here you have to compile the two forms in this way:
-key: you have to put the language tag without [], like “it” or “us” or going on
-value: you have to write the title, like “secondary title”
hope this helps :)
ahhh!
I didn’t see your explaination in the doc document. I might’ve missed it.
So far, I followed the way you showed, and it worked when viewing under the link:
/?cat=9
but when click on to view detail, meaning that the link become: /?p=127 (with p ..not cat), then I still have a little problem. I keep working on it and got back to you.
Thanks for your support.
I fixed it :)
For the title problem, there are two places to fix in the theme: index.php and single.php
I wish I could show the codes here, but your comment box would take out all the html tag.
Mainly, on the line that shows the title, I took out this part:
rel=”bookmark” title=”Permanent Link: ”
Thanks for the simple plugins! It means a lot to the users to the website I am working on.
mhhh about the template trouble with titles, look at my previous comment n°96, i think it could be the solution.
I just took out this part: rel=â?bookmarkâ? title=â?Permanent Link: â??, that would solve my problem.
Yah, I hope that you next version will include the category for multilanguage. :)
Using a fresh install with standard layout, that’s how the title is generated:
“>
” rel=”bookmark” title=”Permanent Link: “>
Yeah i know.
The default theme use to show title this way:
eg. index.php line n°10
<h2><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></a></h2>
As you can see this theme use the the_title function twice, and the one in title generate the problem.
How to fix it?
Simply, you have to edit all the reference to the function the_title() used for the parameter title of the a href ( usually you should look at index.php, single.php and page.php ) and then replace that function in this way:
<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php printf( __(â??Permanent Link to â??%sâ?â??,â??redo_domainâ??), wp_specialchars(get_the_title(),1) ); ?>”>
And then it will work fine :)
I did not get your solution to work, it said it would expect a ) instead of a . , but I managed to solve the problem by deleting the first call of the_title(); . It’s a quick and dirty hack, but I can live with a bad link title, as long as your version 0.5 is not out …
i have to say that the problem isn’t directly related with the plugin, the problem is caused by a mis-use of the the_title function in the templates for the title variable inside the post name link.
You have said to use a dirty hack removing the first call to the title, isn’t it?
Instead of doing this, you can replace the first the_title(); with printf( __(â??Permanent Link to â??%sâ?â??,â??redo_domainâ??), wp_specialchars(get_the_title(),1) ); and it should work fine.
abra’s live » Strona dwu jÄ?zyczna! — 14 maggio 2007 @ 17:30
[...] Category: Zycie UdaÅ?o mi siÄ? poprawnie uruchomiÄ? i ustawiÄ? wedÅ?ug wÅ?asnych potrzeb plugin Babel Strona od dziÅ? bÄ?dzie pisana w dwóch [...]
elle² :: community solutions » babel 0.5 — 28 maggio 2007 @ 15:31
[...] un po’ di settimane, ecco il nuovo aggiornamento di Babel alla versione [...]
Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 05/29 — 29 maggio 2007 @ 21:06
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
???????? WordPress ?????? « au8ust’s wordpress channel — 30 maggio 2007 @ 02:05
[...] babel ?????????????? ? ??????????????????????????????????????????????? ? [...]
Babel WordPress Plugin » D’ Technology Weblog: Technology News & Reviews — 31 maggio 2007 @ 13:39
[...] more info and download…. [...]
BABEL, IL TUO BLOG IN MULTILINGUA » Risorse in italiano per utilizzatori WordPress — 1 giugno 2007 @ 00:15
[...] Plugin Home | Download [...]
Catchkin » WordPress Plugin Releases for 05/29 — 2 giugno 2007 @ 04:20
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
WeblogToolsCollection Español » Blog Archive » Plugins de WordPress publicados 29/5 — 4 giugno 2007 @ 20:22
[...] babel te permite escribir tu blog en multiples idiomas y cambiar entre ellos con un simple click en una bandera. [...]
The Blog for DesignCreatology » Blog Archive » WP Plugs June 15, 2007 — 15 giugno 2007 @ 07:41
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
WordPress Plugin Releases for 05/29 - Travel Directions — 16 giugno 2007 @ 09:11
[...] babel allows you to write your blog in multilanguage, and switch between these with a simple click on a flag. [...]
Mulit Language / Mehre Sprachen | The way Back — 19 giugno 2007 @ 16:41
[...] Jun 19 “>Mulit Language / Mehre Sprachen Uncategorized Heute habe ich das Plugin “Babel” für Wordpress gefunden. Es unterstütz die mehrsprachigkeit von Blogeinträgen, nun können [...]
» I plugin (non seo) da avere assolutamente? — 23 giugno 2007 @ 16:26
[...] ricevuto dei commenti di recente ) – Quoter (permette di quotare i commenti di altri utenti ) – Babel ( permette di scrivere i propri post in pi? linge *selfpromotion off* ) – Related Posts ( stila [...]
Ceyhun AKSAN » Wordpress Dil Seçimi — 16 luglio 2007 @ 14:53
[...] Eklentiyi indirebilece?iniz eklentinin ana sayfas?: ellequadro.net/download/ Eklentinin ad?: Babel [...]
Dibujoradas » Blog Archive » [es]Casi, casi[/es][en]Almost done[/en] — 26 luglio 2007 @ 13:25
[...] [es]Casi, casi[/es][en]Almost done[/en] Julio 26th, 2007 por Dibujor sb_url_to_rate = 'http://dibujor.lynksee.com/blog/26/07/2007/escasi-casiesenalmost-doneen/'; sb_rated_title = '[es]Casi, casi[/es][en]Almost done[/en]'; try { sb_rated_creation = new Date(Date.parse('Thu, 26 Jul 2007 07:25:10 +0200')); } catch (e) {}; sb_categories = "Pruebas"; Bueno, por fin está instalado el Babel, plugin estupendo que se puede conseguir en ESTA dirección, la propia página de su autor. Aún tengo unos pequeños problemas con los títulos de los post que no son traducidos ya que, no sé si por causa de mi template, he tenido que ingeniármelas porque la instalación tal como la explica el creador en su página no me funcionaba, pero espero solucionarlo pronto. Ya solo quedan “pequeños” detalles como añadirle enlaces al blogroll y pequeñas cosas que, supongo, irán saliendo con el tiempo. Por lo pronto, se puede cambiar el idioma de los post (sólo cambiarán los que yo haya escrito en los dos idiomas, claro) con las pequeñas banderas que están al lado de los feeds, en la parte superior de la barra lateral [...]
Dibujoradas » Blog Archive » Casi casi — 26 luglio 2007 @ 14:09
[...] por fin está instalado Babel, un plugin estupendo que se puede conseguir en esta dirección, la propia página de su autor. Aún tengo unos pequeños problemas con los títulos de [...]
elle² :: community solutions » babel 0.61 — 27 luglio 2007 @ 12:25
[...] Babel 0.61 Condividi [...]
» Gestione blog multilingua — 31 luglio 2007 @ 17:01
[...] dico babel sarei di parte? Comunque babel ora supporta la traduzione ( che deve essere fatta manualmente ) [...]
elle² :: community solutions » babel 0.62 — 10 agosto 2007 @ 21:49
[...] Babel 0.62 Condividi [...]
Ok, I have the plugin working. And it works like a charm.
Only one weird thing though:
I call my menu (in the sidebar) with a navigation widget. When Babel is active all the menu links get the URL of the shown page. So no other pages can be found through the menu.
I can use your solution for calling the menu staticly, but I’d love to use the menu dynamicly (with a widget).
Do you see any hope in the future?
Hope to do something in that way, but i can’t tell when i can do it, due to ‘m very busy in this period :(
» Gestione blog multilingua - Pagina 3 — 11 settembre 2007 @ 18:12
[...] inviato da gh3 Se dico babel sarei di parte? Comunque babel ora supporta la traduzione ( che deve essere fatta manualmente ) [...]
?????blog??wordpress — 24 settembre 2007 @ 17:12
[...] Bable [...]
Ciao,
non riesco ad installare il plug in sulla versione 2.3 con template INDIGO…mi potresti dare una mano perchè non sono tanto pratico con il php…
Ciao e Grazie.
Tom
Che problemi ti da?
BLOGBURGER: WordPress & SEO take away » Babel, il tuo Blog in multilingua — 17 ottobre 2007 @ 00:15
[...] Plugin Home | Download [...]
Hi, This plugin seems excellent, but I just can’t make it work :(
Someone could please explain me the use of the menu which should show the flags?
Hi, the use of the menu is quite simple, you should have only to put this code:
in your blog template, and then start writing post in multi-language using tagging.
Ciao, apprezzo molto il tuo plugin e mi piace come funziona, comunque ho riscontrato un problema nel mio blog, quando passo dall’inglese all’italiano il titolo o sparisce oppure è doppio, spero di ricevere una soluzione al più presto, grazie ancora.
Ciao di nuovo, ho risolto il mio problema con i titoli. Il problema risiedeva nel fatto che non avevo considerato la lingua di default, infine comunque l’ho settata in en/english per l’index 0 dell’array e it/italiano per l’index 1 e tutto funziona alla perfezione, Grazie di tutto! Ah ho dovuto cambiare anche il tag title default in babel.php perchè era settato su h1 invece io uso h3 per i titoli.
Una nota: a me non funziona con…
…ma con…
…invece sì!
(Riprovo…)
Una nota: a me non funziona con…
if(function_exists(’babelize’)) babelize();
…ma con…
babelize();
…invece sì!
this plugin not suport –more–
:(
If i remeber well i have already said how to fix the trouble with more.
You have to do something like:
[it]post in italian[/it]
[en]post in eng[/en]
[it]last post in italian[/it]
[en]last post in eng[/en]
ok, sorry…
thankssss :D
They are possible to be shown single post of a language? hiding post that they do not have translation for the selected language?
how fix part of code in many plugins
$output .= $before_title .’<a href=”‘. $permalink .’” rel=”bookmark” title=”Permanent Link: ‘ . $title . ‘” >’
thanks for great and simple plugin…
when they deposit dollars in my account of paypal the next month to me, I will make my contribution
:D
Excellent piece of software! Got my dual-language posting working in less than an hour!
Titulo » Blog Archive » Alô Mundo! — 24 gennaio 2008 @ 04:52
[...] Titulo is proudly powered by WordPress Entries (RSS) and Comments (RSS). This blog is multi language by p.osting.it’s Babel [...]
sto provando il tuo plugin … grandissimo … ho un problemino con le bandierine non vengono fuori le immagini ma delle scritte pixelate it e en … è mai successo?
come non detto risolto … o riuploadate le img … troppa fretta
mistero svelato :D
mi raccomando ogni feedback è ben accetto, così da migliorare e portare in beta pubblica la nuova versione con url rewrite :D
Ciao, ho installato Babel, sembra andare benissimo, volevo chiederti l’autorizzazione ad usarlo per il sito di un agriturismo in Toscana.
Nessun problema, importante che vengano mantenuti i credits dello script nel footer del blog.
Ciao sono Leonardo,
sono un traduttore/localizzatore di siti web/software ed ho intenzione di fare un blog multilingue (inglese ed italiano per ora…). Questo è il link:
http://leonardomusumeci.net/
Per adesso è ancora tutto in divenire :) non so esattamente se il tema che ho scelto lo manterrò o meno, quindi per adesso ancora non ci sono contenuti reali :). Volevo chiederti alcune info per quanto riguarda l’installazione del tuo plugin babelize:
Ho installato il plugin come hai detto (in realtà ho usato il plugin one click install e non la normale procedura, ma credo non cambi molto…) ed attivato; mi chiedevo però esattamente dove inserire la riga di codice (la funzione babelize), visto che non so molto di php: l’ho inserita in “index.php” subito sotto alla riga “php get header” …
Ho provato ad inserire un po’ di testo in inglese con i tag ma mi compaiono i tag nel post (probabilmente faccio qualcosa di sbagliato o ho inserito il codice nella posizione sbagliata…)
Ciao
Grazie in anticipo
Leonardo
Ciao, guarda secondo me se provi a mettere il codice babelize(); alla fine del file header.php o testata se lo editi dall’interno di wp non dovresti aver problemi, le bandierine dovrebbero subito vedersi senza problemi.
Se vedi i tag ad ogni modo i problemi son 2, o non hai chiuso un tag [en]testo[/en] oppure il plugin non è attivo.
Hello
After activating the plugin in the Menu in WP, I have to place in my template. But I am an absolute beginner! I am using the seashore-10 template, but I have no idea where to place it? Do I have to add something between the paranthesis?
Thanks a lot for your help!
Martin
No you haven’t to add anything.
You have only to past babelize(); inside your theme, i suggest in header file.
thanks !
just another question: when I for example push on the italian language, the english articles that I wrote with [en]english text[/en] and are still there. I can write the same article in both languages, but if I want to write some articles only in Italian and then I would like to appear only the Italian ones when I am pressing on the italian ‘flag’. Finally a second little other question: I would like to write in german and french, I was able to change the flags, but when I am changing the babel.php , the arrayLang part in fr & French for 0 and de & German for 1, afterwards the flags in my blog are not showed properly. I hope you can give me some advices, thanks a lot until now !
Martin
Hello
it is again me :-)
when babel is activated, my pages are not showed properly. instead always the last post is shown when I click on a normal page. Do you know something about this problem? thank you so much!
Martin
It’s a bug related with newer version of Wp, with the new version 0.7 it is planned to be fixed, or better it is already fixed on this blog
Grazie Matteo, per adesso :)
proverò e vedrò se tutto funziona, in caso contrario mi sa che dovro romperti ancora :))
Ciao,
ho installato Babel ma sembra che dia problemi al plugin “Social Bookmarking RELOADED” (http://img527.imageshack.us/img527/7430/1203340592109ya4.png).
Hai una soluzione? :)
Grazie in anticipo.
E’ il solito problema della funzione the_title usata nel campo alt o title degli href.
Una soluzione può essere editare il plugin Social Bookmarking secondo quanto descritto alla voce: “Ho un problema con i titoli, vengono visualizzati con un errore, come risolvo?” poco sopra il tasto download.
Con la prossima versione questi problemi cesseranno di esistere invece :D
Ciao,
ho provatio a inserire il codice nella pagina sidebar del mio template ma non riesco a visualizzare nessuna bandierina..Potresti aiutarmi?
Grazie
Ciao Tomaso
hai inserito < ?php babelize(); ?> ?
il plugin risulta attivo dall’area plugin?
si è attivo…sotto la voce PLUG IN – babel nel pdc mi da OK. Utilizzo la versione 2.3 di wordpress con tema i-theme…
la stringa la inserisco ad es. su sidebar.php vero? in qualsiasi posizione?
nel mio blog viene visualizzato in basso questa dicitura…This blog is multi language by p.osting.it’s Babel..percio penso sia attivato…ma non si vedono le bandierine..magari è perche non o ancora un post tradotto?
se esce quel messaggio sotto vuol dire che è sicuramente attivo.
Il codice lo puoi inserire in qualsiasi parte del template, prova al più a controllare i permessi delle immagini nella cartella di babel per far si che siano leggibili, magari il problema è legato a quello…
ho messo tutti i permessi a 777. Ma ancora non funziona..ti posso inviare il file sidebar.php?perche mi sembra strano che non funzioni ancora..
Prova ad aggiungere subito sotto:
< ?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
questo codice:
<div id=”categories” class=”dbx-box”>
<h3 class=”dbx-handle”>< ?php _e('Lingue'); ?>
<div class=”dbx-content”>
<ul>
<?php babelize(); ?>
</ul>
</div>
</div>
adesso funziona..però non vedo le bandierine ma vedo solo le scritte it e en…
grazie per la pasienza..
controlla tutti i permessi a cascata dalla root alla directory dove sono le immagini…
sono tutti su 777…
prova a vedere cosa succede se all’url del tuo blog aggiungi questa parte di indirizzo:
wp-contents/plugins/babel/it.gif
e vedi se ti mostra l’immagine o meno.
non si vede nulla..mi errore di caricamento pagina.
non ti saprei dire a quell’url dovresti trovare le immagini delle flag, a questo punto credo sia un problema di permessi.
controlla per precauzione via ftp se i file ci sono realmente o meno in quel path.
ok sistemato!!grazie mille per la pasienza!!
figurati! :D
Ciao Matteo,
ho aggiunto la riga del codice babelize subito sotto a questa riga:
<a title=”Get back home..” href=”">Home
e subito dopo la chiusura di 2 …
Non vedo nessuna bandierina (i permessi dei file sia della cartella “babel” che dei singoli file all’interno sono tutti a 777) e nemmeno le scritte “it” “en”.
Il file da editare “arraylang” l’ho lasciato così com’era, visto che la lingua di default è l’italiano:
$arrayLang = array(
0 => array ( ‘lang’ => ‘it’,
‘default’ => ‘1′,
‘title’ => ‘Italiano’),
1 => array ( ‘lang’ => ‘en’,
‘default’ => ‘0′,
‘title’ => ‘English’));
Ho provato a cambiare vari temi, usando anche quelli di default di wordpress ma non si vede nulla…
Non è venuta una parte :), ho messo il codice babelize subito dopo questa riga del file header.php:
<a title=”Get back home..” href=”">Home
Mi tronca il codice….
se mi scrivi via mail ti mando il codice di header.php
(non mi pare di aver visto indirizzi email o form dove contattarti…)
Ciao Leonardo, ho dato un’occhiata al tuo blog, posto che non conosco il theme che stai usando, visto come è impostato qualche problema potrebbe nascere da lì, ma non mi spiego perchè non funzioni con gli altri temi, quello base compreso.
Potresti incollare qui la parte di codice che hai inserito per la funzione babelize?
Questa?
< ?php if(function_exists('babelize')) babelize(); ?>
Ciao Matteo,
il codice è quello (l’unica differenza è che dopo “functions_exists”, babelize è tra virgolette e non tra apici…ho provato ad incollarlo con gli apici e non cambia nulla…)
Eh, sì, lo so :)…il tema “row” è un po’ scentrato :) (peccato perché è molto bello, contatterò l’autore per vedere di “aggiustarlo” :) … ), per questo ho provato anche con quelli di default ma nulla :(
Ho provato anche con tema “kubrik” ed inserendo wp-contents/plugins/babel/it.gif nel mio url ma mi da un errore 404 (il file però c’è…).
Con il tema attuale (maritimo) inserendo quella parte di url, mi sposta la “presentazione” (“questo è il mio blog personale”,ecc…) dalla colonna di destra a sinistra…
Inserendo il codice di babelize con gli apici
e togliendo lo spazio…
mi compaiono in un paio di temi (non quelli di default…) le due lingue: “it” e “en” ma non le bandierine…
Potrebbe anche essere la presenza del plugin “ghost” (visto che l’ho eliminato…) delle cartoline online? Ho contattato l’autore per eliminarlo definitivamente…
Mhh attenzione che nel package di base le immagini non sono altro che due gif con scritto it e en, così che ognuno può customizzarle come meglio crede.
Per il resto mi suona ancora strano che sul tema di base non funzioni. mistero!
E mi preoccupano perchè nella 0.7 la funzione per le bandiere sarà la medesima… ho solo un dubbio… tu hai copiato la funzione da inserire dal readme dello zip o da questa pagina del blog?
Da questa pagina: quando ho inserito il primo commento, dalla barra grigia subito sotto la sezione “come si installa”.
Oggi invece, quando sono comparse le due gif, dal tuo commento (n.201); ho solo tolto lo spazio tra la virgoletta ( < ) ed il punto di domanda e si vedevano… Ho controllato ed entrambe sono uguali…boh?
Cambiando tema ed usando Kubrick, ad esempio, mi compare nel post:
“Non trovato Spiacente, ma stai cercando qualche cosa che qui non c’è.”
senza che abbia cercato nulla…
Per le bandierine quindi, dovrò trovarle sul web e sostituirle sul sito con ftp, la dimensione è 16×11 o 16×16 o più grandi, vero?… Hai qualche sito dove si trovano già pronte?
Parto a ritroso se non ti dispiace, per le flag posso consigliarti questo sito: http://www.famfamfam.com/lab/icons/flags/
Per le dimensioni non sono fisse, puoi scegliere quello che preferisci.
Per i problemi con i theme non ti so dire, io l’ho testato su molti theme e non mi è mai capitato un problema del genere…
Grazie per le info :)
Per i temi, visto che sono tutti dello stesso autore (o meglio, mi son reso conto che è autrice :), il nome trae in inganno…), vedrò di chiedere a lei…
Ciao,
ho un problema con la funzionalità more..Se metto il tag babel non mi si visualizza nulla ne nella versione inglese ne in quella italiana. Se invece taggo prima del more e poi del more vedo solamente la versione in ita e non quella in inglese? Mi potresti aiutare?
Ciao,
per il more e’ molto semplice, la tag deve essere sempre fuori dai tag di babel mi spiego meglio:
[it]testo in italiano prima del more[/it]
[en]testo inglese prima more[/en]
< --!more-->
[it]testo ita dopo more[/it]
[en]testo en dopo more[/en]
Bravo per il pluggin che mi servirebbe bene
Ma per me c’è un problema
Se le tag [it] ecc. funzionano bene non ho mai visto le bandierine per cambiare la lingua ovunque ho messo (per esempio in page.php in “themes” (forse “tema” in italiano)
Se puo’ darmi in punto dove metterlo e che si veda di sicuro mi andrebbe benissimo
per di piu’ il pluggin fa disfunzionare il widget “pages” (forse “pagine” in italiano) tutti i legami vanno sulla stessa pagina. Tolto il pluggin tutto torna normale.
grazie
giorgio
volevo dire … ovunque ho messo &dt?php if(function_exists(" babelize")) babelize(); ?>
prova a mettere solo < ? babelize(); ?>
per il problema delle pagine è stato risolto nella 0.7 che è in fase di testing.
Grazie, adesso funziona.
Per un principiante come me bisogna agiungere di mettere questo commando alla fine del file header.php che si trova nel folder del topic utilisato. Poi, una volta visto come funziona, si puo’ metterlo altrove.
Adesso devo trovare il modo di utilizare più mo e po file alla volta.
grazie ancora per il bel lavoro
giorgio
Ciao,
Vi è stata segnalata qualche anomalia relativa al tema “Brandford Magazine” (http://www.wp-themes.der-prinz.com/magazine/)?
Al momento sembra non funzionare.
Oltretutto, dove consigliate di inserire il codice Babelize? nella header?
Infine, le banderine escono automaticamente? O devo in qualche modo inserirle?
Grazie,
luca
Ciao,
al momento non mi erano state segnalate anomalie con il tema citato, per curiosità quale problema si verifica?
Non compare nulla o altro?
Per il codice babelize, che mostrerà a video tutte le bandierine, solitamente consiglio di metterlo nell’header.
E’ possibile però, per migliorare la visibilità della localizzazione multilingua, metterlo in single.php e index.php nel ciclo che mostra i post, così che per ogni post sia possibile vedere l’alternativa localizzata.
Prima mi sfasa la casella home, la news principale, alcuni titoli, un pò tutti insomma! :-)
E questo prima ancora di inserire il codice.
Poi non mi compaiono le bandierine.
Poi: dove mettere il codice….
1) L’ho messo in header prima di
NADA – NIENTE BANDIERE E STESSI PROBLEMI
2) DOPO
nada
Salta l’intero menu. Lo lascio così com’è: magari vi viene una possibile spiegazione (ultimo tentativo attivo)
Luca
Link al sito: http://ckbg.altervista.org/WordPress/
Strano visto cosi’ se messo alla fine dell’header non dovrebbero esserci problemi e le bandierine dovrebbero comparire senza grossi problemi.
Per la questione dei titoli e’ nota su alcuni temi, il fix e’ quello di editare a mano alcune righe di codice come segnalato nel post.
Mentre il menu in alto, che credo sia generato da qualche funzione nativa di wp, sembra andare in conflitto con la 0.6, mentre con la 0.72 che sto betatestando a tempo perso qui direttamente su posting il problema e’ stato risolto, il problema e’ l’impossibilita al momento di fare il porting di questa feature, senza dover riscrivere in toto parte di codice.
Spero al piu’ presto possibile di essere in grado di rilasciare la nuova versione 0.7 con tutti i benefici connessi ad essa.
Ciao ho contattato direttamente l’autore di Brandfordmagazine e… mi ha detto di chiedere a voi! :-)
Mi ha assicurato che prima o poi testerà la vostra plugin per capire come funziona e quali problemi crea.
Attendo la .7 speranzoso!!! Soprattutto perchè anche i vostri “concorrenti” di qTraslate non funzionano sul medesimo tema.
Grazie per il momento,
luca
Ps. Ti riferisci al post “Ho un problema con i titoli, vengono visualizzati con un errore, come risolvo?”? Ci ho provato ma nel mio index non ho trovato la scritta di cui parlate.
Ahimè più che i templaters sarebbero da contattare gli sviluppatori di WP, dato che nelle versioni precedenti alla 2.2.x non c’erano questi problemi :(
L’unica soluzione ad oggi è passare alla 0.7 che però è strutturata in maniera differente (la si può vedere in funzione ora su p.osting.it) dato che ora richiede il refresh della pagina, ma aggiunge la localizzazione nel permalink, una cosa sicuramente che fa molto più piacere ai motori di ricerca che la soluzione precedente.
Si per la soluzione mi riferivo proprio a quel tratto, ahimè il fix da fare è quello, ma in alcuni frangenti il fix sarebbe da fare nel core di wp se si usa la 0.6, cosa che preferisco non far fare all’utenza.
Per la 0.7 è in testing qui su p.osting.it e su un altro paio di blog, e se tutto funziona come credo e come per altro sto fortunatamente vedendo, direi che a breve tempo verrà rilasciata al pubblico, anche se devo anticipare che la difficoltà d’uso, almeno per il setup, sarà un attimo superiore, ma ora compatibile con qualsiasi tema :)
Ciao,
cercavo il modo di tradurre anche le categorie e le voci dei menu della side bar…Mi potresti gentilmente dire come si fa?
Grazie…
Tom
Per le voci nella sidebar devi usare la funzione _b(), che ha come parametri:
_b(titolo, url, lingua)
per titolo metti la keyword che vuoi che sia cliccabili, url l’indirizzo di destinazione e in lingua ‘it’ o ‘en’ o la tag di un altra lingua.
Esempio:
_b(‘about me’,'http://domain.com/about’,'en’); _b(‘chi sono’,'http://domain.com/about’,'it’);
Per le categorie al momento non ho trovato un modo dato che non ci sono campi custom (almeno che io sappia da usare), un trick potrebbe essere scriverle tu nel codice del blog con il metodo descritto sopra, ma in caso di aggiunta/rimozione di una categoria dovrai editare il template a mano.
Hi,
You said that we have to contact you to use your plugin in commercial purpose, so here I am (I didn’t found any contact form). I have to create a multilanguage blog for a frend of mine, to promote his society. Can i use it in this way ?
Regards,
Seb.
Hi Seb, yes you can for sure use Babel on your project.
Thanks for notify
How the Simple Clan War plugin work ?
[cw 1] and what else ?
Please contact me ! :)
i sent you a mail :)
btw i write it down too here:
clan1=” <- clan 1 name
score_a1=” <- clan 1 score on map1
score_a2=” <- clan 1 score on map2
clan2=” <- clan 2 name
score_b1=” <- clan 2 score on map1
score_b2=” <- clan 2 score on map2
mapname1=” <- map 1 name
mapname2=” <- map 2 name
review=” <- clanwar review
Hello there,
Ho problemi con la plugin su di un sito,
ho fatto upgrade a wp-2.5
in ogni caso ora mi mostra doppi i titoli,
con un errore, ma specialmente, non funziona piu’
il menu, infatti devo andare tra le 2 voci per poter raggiungere il link alla voce successiva del menu. cosa strana.
Please, could you help me with it ?? :)
ciao, un problema simile a quello dei titoli ce l’ho con i link alle pagine nella sidebar del mio tema
<li><h2>Pagine</h2>
<ul><?php wp_list_pages(‘title_li=’ ); ?></ul></li>
mi diventa
<li><h2>Pagine</h2>
<ul><li class=”page_item page-item-37″><a href=”http://localhost:8086/blog/?page_id=37″ title=”<a href="http://localhost:8086/blog/?p=35">Contattaci</a>”></a><a href=”http://localhost:8086/blog/?p=35″>Contattaci</a></li>
<li class=”page_item page-item-2″><a href=”http://localhost:8086/blog/?page_id=2″ title=”<a href="http://localhost:8086/blog/?p=35">Documentazione</a>”></a><a href=”http://localhost:8086/blog/?p=35″>Documentazione</a></li>
<li class=”page_item page-item-6″><a href=”http://localhost:8086/blog/?page_id=6″ title=”<a href="http://localhost:8086/blog/?p=35">Vertigo Dynamic Platform M4</a>”></a><a href=”http://localhost:8086/blog/?p=35″>Vertigo Dynamic Platform M4</a></li>
<li class=”page_item page-item-21″><a href=”http://localhost:8086/blog/?page_id=21″ title=”<a href="http://localhost:8086/blog/?p=35">Vertigo Static Platform SP400</a>”></a><a href=”http://localhost:8086/blog/?p=35″>Vertigo Static Platform SP400</a>
<ul>
<li class=”page_item page-item-25″><a href=”http://localhost:8086/blog/?page_id=25″ title=”<a href="http://localhost:8086/blog/?p=35">Indice Craniomandibolare</a>”></a><a href=”http://localhost:8086/blog/?p=35″>Indice Craniomandibolare</a></li>
</ul>
</li>
@ acme, si il problema è ahimè noto, con la prossima versione dovrebbe essere risolto, il problema è l’estrema complessità d’uso e il poco tempo libero per riuscire ad “impacchettarla” per bene per renderla usabile a tutti senza
@ diego, si il problema è analogo a quello di acme, ahimè c’è da attendere ancora qualche tempo prima del rilascio della nuova versione.
Una soluzione temporanea è quella di creare manualmente i menu al max usando la funzione _b() per renderlo internazionale.
hi. Thanks for plugin
perfect.
regards
Qtranslate, il plugin definitivo per localizzare wordpress | Leonardo Musumeci — 5 giugno 2008 @ 18:58
[...] ho provati alcuni: Babel, Polyglot, Jlanguage ma in alcuni casi c’erano problemi di layout, in altri invece venivano [...]
bable — 11 giugno 2008 @ 11:26
[...] permetter? di gestire i contenuti del vostro blog in pi?? di una lingua alla volta. Con le ultime.http://p.osting.it/my-works/babel/Asturian language – Wikipedia, the free encyclopediaasturianu, bable. Spoken in: Spain. Region: [...]
Estamos trabajando en ello… | Dibujoradas — 23 giugno 2008 @ 01:30
[...] lo único que me falta es sustituir el plugin Babel que estaba usando hasta ahora para poder escribir este blog en dos idiomas por xLanguage que he [...]
Where exactly should I add the code you mentioned (?php if(function_exists(’babelize’)) babelize(); ?)
Hi Sourena, you can add that code wherever you prefer, usually i sugget to put it inside header.php
Btw you should have to add it in the best place that fits your design criteria, the only thing is that you need to put it inside a theme file of wordpress
Thanks. I will try that.
It should work with Persian. All I need to figure out now is that how I can show the text flowing from right-to-left.
as far as I know you will have to add this to your html tag dir=”rtl”
Hello,
I try to use the Babel plugin and I meet a problem with the title.
Like you said, I use the Title field for the first language and the custom field for the second language.
Moreover, I change this code in the index page : title=”Lien permanent vers by title=”Lien permanent vers . I don’t see this code in page.php and single.php. I just saw in the H2 quote . (Must I change it too ? or not ?, How I can change this page if I haven’t this code in my page ? I use the classic template Kubrick).
The result isn’t good. For my first language, my title dissapears if I click on the flag. And for the second, I can see two titles. In fact, the second title is following by the first title ?!
Have you an idea ?
I try to decrypt precedent posts and I try to follow comments 120 – 122, but it’s not working. Thx.
Hi, you should have to sobstitute each occurence of the_tile() func inside an html tag like with echo strip_tags(get_the_title());
Ok I try it again.
Ok Thx, I find my mistake…
Thx so much.
“hello world” denovo at Renan de Lima — 23 luglio 2008 @ 08:10
[...] Vitor Choi por ter me indicado o plugin Babel. Cada post tem agora um Ãcone para mudar de lÃngua [...]
Ciao,
I have the same problem as one of the previous poster: babel works like a charm, except that all links in the side bar link to the the wrong article (which is the last post). When do you think the new version of babel will come out to fix this. Or maye there is another workaround?
Grazie and thanks for the great plugin,
Togan
Hi Togan,
atm there is no workaround for that problem, the only way to fix it is to use the brand new version that i’m using on my blog atm.
Btw there is a big problem related to the new way to handle permalinks, and in particular is related to the end user documentation that is at least needed to setup correcly babel.
As soon as i have a little spare time to try to write down it, ‘ll release the new version that will fix all these problems :(
Thanks for the quick reply. Looking forward for the new version to come out…
Togan
WordPress Plugin Releases for 08/30 | Wordpress Blog NL — 30 agosto 2008 @ 10:53
[...] Babel [...]
links for 2008-08-30 -- Quasi.dot — 30 agosto 2008 @ 13:28
[...] Babel Babel is a multilangue Wordpress plugin, it will allow you to write easily your contents in more than a language. (tags: wordpress plugin international language) [...]
Hey,
I think your plugin has a problem common to all multilanguage plugins: double content.
For exemple, your babel page is accessible under http://p.osting.it/my-works/babel/ and also under http://p.osting.it/en/my-works/babel/ , showing the same english content. Google will penalize the site for double content…
Cheers
links for 2008-08-30 » Go Web Young Man — 30 agosto 2008 @ 20:58
[...] Babel – WordPress Multi-Language Plugin A WordPress plugin that lets you write your content in more than one language. (tags: wordpress plugins languages) SHARETHIS.addEntry({ title: “links for 2008-08-30″, url: “http://michaelwender.com/2008/08/30/links-for-2008-08-30/” }); This entry was written by Michael Wender, posted on August 30, 2008 at 3:00 pm, filed under Links. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL. « Knoxify in Knoxville Magazine [...]
Hi Eduardo,
i have to say that babel isn’t affected by the double content problem and penalization.
Infact you can have a look at:
http://209.85.135.104/search?client=safari&rls=it-it&q=cache:http://p.osting.it/en/my-works/babel/&ie=UTF-8&oe=UTF-8
and
http://209.85.135.104/search?client=safari&rls=it-it&q=cache:http://p.osting.it/my-works/babel/&ie=UTF-8&oe=UTF-8
And both are indexed in the correct language, so no double contents, and no penalization.
WordPress Plugin Releases for 08/30 | BlogBroker24-7 — 31 agosto 2008 @ 04:02
[...] Babel [...]
leg med nye medier. Eller noget. — 31 agosto 2008 @ 12:58
[...] Babel – multisprogsplugin (tags: wordpress plugin) [...]
Hi again Matteo, thank you for your answer.
I guess i was fooled by some browser preffered language detection thing.
However, you can see double content if you check:
http://209.85.135.104/search?client=safari&rls=it-it&q=cache:http://p.osting.it/my-works/babel/&ie=UTF-8&oe=UTF-8
and
http://209.85.135.104/search?client=safari&rls=it-it&q=cache:http://p.osting.it/it/my-works/babel/&ie=UTF-8&oe=UTF-8
Those are two different URLs (one with the /it/ part, the other one without) with the same content.
I have seen this in many multilanguage plugins. To check it, what i do is: i look at the page as it is first served, then i change it’s language, then i change it back to the first served one. All plugins i have seen give me the first page with a different URL (which usually includes the code for the default language).
To be honest i am not 100% sure that incurs into double content penalties, but i strongly suspect so.
You are right, in that case google indexed both the two urls, but the trouble is related to the use of another plugin that rewrited my robots.txt file.
In order to fix the trouble i only have to add a Disallow:/it/* and then thanks to Google Webmaster set /it/ to be removed from its serp.
By the way thanks for notify, ‘ll have to set robots.txt to 444 in order to keep babel to work correctly without double contents
links for 2008-09-04 « sySolution — 4 settembre 2008 @ 16:57
[...] Babel (tags: wordpress) [...]
Io ho risolto cosi’, non è molto elegante ma funziona:
Per i link delle pagine sbagliate e la mancata traduzione dei titoli alla riga:133
da cosi’:
if(empty($titolo)) return ‘‘.$title.’‘;
a cosi’:
if(empty($titolo)) {
$postid = $wpdb->get_col( ”
SELECT ID
FROM $wpdb->posts
WHERE post_title LIKE ‘%$title%’
AND post_type = ‘page’” );
$keys = $wpdb->get_col( ”
SELECT meta_value
FROM $wpdb->postmeta
WHERE post_id = $postid[0]
AND meta_key = ‘”.$_COOKIE["babel"].”‘”);
if(($_COOKIE["babel"]) != ‘it’){
$title = $keys[0];
} else {
$title = $title;
}
return $title;
}
ho inoltre aggiunto il reload della pagina sulle bandierine:
echo ” <a href=\”javascript:void(null);location.reload();\” onclick=\”";
altrimenti non funzionava.
ciao
giodex
ciao giodex,
se ti interessa, ho rilasciato la beta della versione 0.7 di babel con molte migliorie, fra le quali alcuni fix che comprendono anche le tue segnalazioni.
Se ti va di provarla: http://downloads.wordpress.org/plugin/babel.0.70.zip
Grande!!! lo faro’ subito.
Volevo anche dirti che ho fatto una modifica a Tinymce, come si puo’ vedere qui:
http://www.4freeimagehost.com/show.php?i=516241c9ca7e.jpg
in modo da non dovere ogni volta scrivere a mano.
ho modificato il file tiny_mce_config.php aggiungendo 4 nuovi bottoni:
$mce_buttons = apply_filters(‘mce_buttons’, array(‘bold’, ‘italic’, ’strikethrough’, ‘|’, ‘bullist’, ‘numlist’, ‘blockquote’, ‘|’, ‘justifyleft’, ‘justifycenter’, ‘justifyright’, ‘|’, ‘link’, ‘unlink’, ‘wp_more’, ‘wp_lang_it’, ‘wp_lang_en’,'wp_lang_de’,'wp_lang_fr’,'wp_adv’));
ho modificato il file editor_plugin.js (dentro wordpress di tiny):
ed.addButton(‘wp_lang_it’, {
//title : ‘wordpress.wp_more_desc’,
image : url + ‘/img/italian.gif’,
onclick : function() {
ed.execCommand(‘mceInsertContent’, 0, ‘[it]scrivi qui dentro in italiano[/it]‘);
}
});
ed.addButton(‘wp_lang_en’, {
//title : ‘wordpress.wp_more_desc’,
image : url + ‘/img/english.gif’,
onclick : function(){
ed.execCommand(‘mceInsertContent’, 0, ‘[en]write here in english[/en]‘);
}
});
ed.addButton(‘wp_lang_de’, {
//title : ‘wordpress.wp_more_desc’,
image : url + ‘/img/deutch.gif’,
onclick : function(){
ed.execCommand(‘mceInsertContent’, 0, ‘[de]schreiben sie hier in deutsch[/de]‘);
}
});
ed.addButton(‘wp_lang_fr’, {
//title : ‘wordpress.wp_more_desc’,
image : url + ‘/img/francais.gif’,
onclick : function(){
ed.execCommand(‘mceInsertContent’, 0, ‘[fr]en francais ecrire ici[/fr]‘);
}
});
Infine ho creato 4 nuove gif con le bandierine.
ciao
Giodex
Complimenti per l’integrazione con tinymce, davvero ottima e velocizza molto l’uso di babel!
Hey Matteo,
Good idea! Using robots.txt solves the double indexing problem – not only for yours, but for other multi-language plugins.
Thanks for sharing the solution.
auguri!
Babel — 31 gennaio 2009 @ 03:17
[...] write your blog content in multilanguage in an easy way, using simple tags in your post. If …..read more Download Plugin! Version 0.65 Last Updated: July 10, 2008 Author: gh3 Visit Plugin’s Home [...]
ciao ho un piccolo problema, quando installo il plugin e inserisco il richiamo per le bandierine se cambio pagina l’operazione non va a buon fine, rimane sempre nella stessa pagina mentre se clicco sulla bandierina per cambiare lingua in inglese mi da errore 404, dove sbaglio?il sito è in locale
ciao ho un piccolo problema, quando installo il plugin e inserisco il richiamo per le bandierine se cambio pagina l’operazione non va a buon fine, rimane sempre nella stessa pagina mentre se clicco sulla bandierina per cambiare lingua in inglese mi da errore 404, dove sbaglio?il sito è in locale
no scusa…la pagina la cambia senza problemi…xò mi da l’errore se clicco per cambiare lingua
Ciao Francesco,
credo che il problema sia legato all’url del server locale, dato che come problema mi suona nuovo
e quindi cosa potrei fare?ho provato a metterlo anche sul server in questo sito http://www.endurodoc.net ma nulla, la selezione della lingua la puoi vedere in fondo alla pagina
Probabilmente è un problema con l’host windows, dato che vedo che ad esempio gli url hanno un formato con dentro /index.php/ come se fosse una cartella e non un file..
può essere che sia a causa dell’integrazione con phpbb?ho fatto questa integrazione e ho dovuto sostituire il file index.php con uno suo…magari tutto il casino è a causa di questo?
Build full multilanguage website with Wordpress — 14 settembre 2009 @ 18:06
[...] WP Multi Language Changer is a plugin for multi language Wordpress blogs. This plugin allows you to write posts and pages in more than one language, all you have to do is to add some divs to your posts, each div with a class, that is the language’s name. This way your readers will be able to just click in the flags and change between languages.Babel [...]