“Inter-Trans” traduction automatique du contenu pour Joomla juin 13, 2008
Posted by asvladimire in Software developpement, Web 2.0.Tags: joomla, module joomla, traduction, translation
trackback

Ce module pour Joomla 1.0.15 que j’avais crée en première place (PHP & XML) pour offrir à mes clients la possibilité de traduire leurs contenu web en différentes langues est devenu dorénavant un tout petit projet…
Inter-Trans, utilise Google Language Tools pour traduire tout le contenu de votre template, ce qui est mieux, c’est que les utilisateurs ne vont pas voir la barre de traduction Google, à la place, il y aura la même ancienne page, la même mise en forme, mais avec un texte traduit !
* Features :
- Country flags (du projet famfamfam )
- Traduction dans la même ou une autre fenêtre.
- Valid XHTML
* langages supported (from and to):
- arabic
- english
- french
- german
- italian
- portuguese
- spanish
Demo sur www.chimera2d.com
à télécharger ICI
FAQ :
Q: I installed the module but flags won’t show up in FireFox or I get red crosses in IE !
A: To keep this plugin as simple as possible, I managed to place the flags that the plugin use in the root of the folder “modules” ( www.yoursite.com/modules/) . I did this because if you have “safe_mod” activated on your server, the plugin wouldn’t be able to create a new folder and put on it all the files…
To fix this problem, I mad an other version which probably will suit you server (to use only if the firt one dosn’t work)
1- delete the Inter-Trans plugin
2- Download ( Here )and install the Inter-Trans V2
hop it helped and thanks again for choosing the Inter-Trans module
Great Joomla module, but as i am from holland i need a dutch langage support to.
Hello Roon
Thank you for your support
The Next version which Im working on now, is going to include more languages, Dutch, is going to be one of theme
Nice module but the flags won’t show up… why is that?
I just visited your website and I noticed that everything is OK, I can see the flags, I think you solved the problem…
Thanks asvladimire.
Keep up the good work. If you need some dutch translation for a possible “how to” let me no.
The actual translation works great but i am unable to get the flags to show - i just red crosses - do i need change the relative path?
Thanks
Hello Adam
Actually, you don’t need to change anything..
Do you mean that theire are clickable zones that translate instead of flags ?
Try to unpublish your modules one by one to see if theire is some kind of incompatibility …
asvladimire - thanks for the reply. No i get Red crosses where the FLAGS are meant to show (in IE) In firefox i just get clickable text links.
Thanks
Managed to get the flag imags to show - i checked the modintertrans.php file and found that the image source was /modules/english.gif instead of /modules/mod_intertrans/english.gif
All good now.
Thanks
Hello again
I meant to put the flags directly in the “modules” folder for those who have “safe_mod” activated in theire server, so the script couldn’t create the folder “mod_intertrans”… I’m going to add a tiny explanation for people who face this problem in the futur…
I just visited your site now, and I must say that I liked the way you put the flags…
cheers
Hello Asvladimire,
I still have my eye for your module but i stil missing a dutch langage support for it and hopeing it is being added some time in the futere.
Is there a time plan for adding dutch support.
Greetz from holland, Roon
I added this change to mod_intertrans.php to allow users to keep translating the page from one language to the next.
var myLocation = location.href;
var loc = myLocation.split(”http://”);
var myurl = “http://”+loc[1];
var matchPos1 = myLocation.search(”&us”);
if( matchPos1 != -1 ) {
var locResult = loc[2].split(”&us”);
var myurl = “http://”+locResult[0];
}
Also adding new languages was breeze, nicely written code!
Hello Roon
I just added Dutch support to Inter-Trans module, but I didn’t test it yet, so I was wondering if you could help me testing it..
I will contact you by your mail ( the one you put to comment)…
Hello Bannta
It is a good idea ! I may adopte your code in the next release ! I’ll let you know.
PS: In your website, did you write the ” show/hide Nav” module ?