![]() |
Additional "[Language] to..." Options (Step 2A)
If you would like more then the basic "English to..." functionality, add the block(s) of code of your choice underneath (or instead of) the code you added in Step 2. Then proceed to Step 3 in the first post. *************UNDER DEVELOPMENT*********** |
First of all -- you're my official hero for the day. I was about to sign out for the day, but had to install this first. I really want to branch out to reach other languages but I haven't found an easy solution. This will work great!
A couple of things you should fix in your code. 1) You need to add </table></div> right before <!-- / Language Translator Menu -->. 2) For the links that need to be changed to your forum, some of them say www.YOURSITE.NET and some say www.cogonline.net. 3) The Greek flag is missing from the zip file. Again, great mod!! Thanks! :) |
Whoops. So much for proof reading. :D Thanks ChurchMedia. I'll correct that right away.
EDIT: Fixed both the lack of the closing tags, the demo URLs and added the missing Greek Flag to the zip. I'd forgotten Google added Greek. |
GREAT MOD!! Can I make the pop up window wider please as it makes my site look u-g-l-y in a smaller window :)
|
Quote:
|
Thank you - done and looking much better :)
|
very very very usefull
thanx |
Its really good yet it takes a bit longer to load for some weird reason
but in general very nice mod |
Quote:
Quote:
|
can't translate things to english it takes you to a translation page to do it yourself,can that be changed?
|
Quote:
I may be able to come up with an modification to the modification (I just like saying that) that adds all of Google's [Insert Language] to English options. But it may take me a bit to make it practical and user friendly. I'll look into it. |
I have installed this mod. I also have vbseo installed and it doesn't play very friendly with the mod. I get red x's where images should be. Anyway of making this vbseo friendly?
Thanks, Itworx4me |
Quote:
/general-chat/images/icons/icon10.gif Rather than where it actually is, in: /images/icons/icon10.gif Same thing for an image in NHRA. It tacks /nhra just after the .com. I hate to leave it at that, but unless I know more about how vBSEO formats your threads, I'm afraid this is one of those "don't know" questions. For now anyway. I'll do my best to look into it. |
Quote:
|
I can't get it too work mate,first thing its hard to keep your cursor over it to click it because it just closes and when i eventually get to click it nothing happens.
|
Well, that might be the problem. Your not supposed to click it. :) It just opens when you move your mouse over it. vBulletin menus just open once you've already opened a window. For example, try opening a regular drop down, and you'll notice when move your mouse over any of the other ones, they open and close without clicking. If you click them, you close it again.
That's what's been happening here. Just mouse over the menu like you would any other kind of drop down menu, and the sub menu will automatically open. If you try to click it, your just going to turn the menu off. |
Yeah when i put my mouse over it it closes tho.
|
Hi,
My main Language of my forum is Greek. I want to translate Greek to English...etc...!!! When I press the menu to translate my thread to English, the pop up does not translate anything, but it just shows me the Google translation page...!!! What should I change to the code so it can be functional from Greek to any other language??? Edit: Hmm another issue: ...I have the "Welcome" mod for guests to show them a message and invite them to register to the site...!!! it seems that if the mod translates something from the thread it just translate the welcome message - because google isn't a registered user and sees that message!!!! Is there a way to make the mod tranlate the thread correctly? :-) (Still...when I press the english flag, it just shows me the Google translation page only and doesn't do any translation) Thank you...!!! :-) |
Quote:
Quote:
If you don't want all those options, you could also just remove the block of code marked <!--English--> in the first version and replace it with the line of code marked <!--English To Greek--> in Post 2. EDIT: (Yes, I just realized I have that entire menu marked wrong. They shoud all be marked [LANGUAGE] to English, not English to [LANGUAGE]) Quote:
Quote:
Quote:
|
Okay, minor wording problem on the Post 2 <!--comments--> fixed. That would not have affected performance at all. But it sure would have made support a bit more confusing then it already is. :rolleyes:
|
my forum http://www.ucsampdoria.co.uk
|
Quote:
I see you adjusted that line a little bit, setting -308 to -300. But actually, your going to need a larger negative number. Right now it looks like this: Code:
By the way, what browser are you using? |
Ugh, apparently this is a browser compatibility thing. I just checked FireFox and it opens the menu in a completely different location. I can probably fix this. But I'll need some time.
|
so no point changing it?
|
nice work,my question is could v add any other languages to the menu? thnx
|
thanks
|
I checked out again. Because guests can read (they have permissions) my forum that's not a problem for google(Google can see/read all the text needed)!!! Google just have "extra text" (the welcome message) to translate.... :-) :-) so everything is ok for guests and google !!!The only problem is that I have to change the From Language in First case of code..to Greek (the default is english)!!! The hover menu in second case, just don't work for me (I am using firefox). (and in general I think that many users will be confused too) I prefer to use the first case of code (the simplicity of the menu I mean) and not the alternative one.
I tested the second case (I added that "second case" part of code after the "Greek" in the first case of code - Not the alternative) PHP Code:
The question is that I want to translate from Greek to any language What should i do for the rest languages? |
The alternative code, and this my fault really, as I didn't check FireFox before I went to bed last night, wont necessarily work for cross browsers. Both browser require different lines of code to align them similarly. And everything I've looked at so far just seems inelegant from what I had intended. This is really my fault also for trying to get fancy with code I'm not all that familiar with.
I think I have a much simpler, more elegant solution for folks, without trying to get all fancy and cute. It should actually provide a solution for everyone. Just give me a few to edit Post 2. If it gets to late tonight (6 AM here), I'll try to have a replacement up by Friday night, barring flood or famine (or just forgetting to pay my Internet bill =/ ). |
i love this mod but
sorry it is not work on IE but it work on firefox see this http://www.baghdad4ever.net/vb/showt...362#post791362 |
Quote:
I believe that this mod is wonderful!!! :-) (and thank you for your mod) :-) To solve any problems, You should begin with the rule "keep it simple". :-) If I were you, i would give 3 kind of different "Code situations" so anyone can fit the code in his needs. :-) 1) Make a script that can translate FROM: Any* Language TO: English (that could be very useful as English language is the Language that most of people could understand). So if someone have a i.e. Greek language board, can use the Greek to English option to be sure that at least the translation to the basics will be done for sure. :-) *= by "Any language" I mean the languages that you already have in the script. :-) 2) Give people an example of "how to" transform existing code to make the script translate from "Any" to "Any" language he like (all the combinations) :-) 3) Make sure the code is simple (so it is surelly supported from all browsers) 4) Then make any experiments and supply people with the script that can do tricks like the one you've done as alternative. So people can really have a code fitted to their needs, and working for sure. As for the alternative, they could experiment them selfs with various of browsers and give you feedback too. :-) I hope I helped somehow. :-) (keep up the good work...!!! I love that mod, thank you. Looking forward for the new "working in all browsers and flexible" (Greek to English...Greek to Any, Any to Any) version.....):-) (ohh...it would be useful to have icons with words too in the menu like the way I show you below. for example [Icon_Country_Flag] Greek to [Icon_Country_Flag] English [Icon_Country_Flag] Greek to [Icon_Country_Flag] German . . . etc...... (the ideal should be to recognize the language automatically and the user could just select the language he like to translate "to", but its is difficult and could have problems) :-) |
Quote:
I checked your site and yes it have problem with I.E. Check Out my forum and try to translate from Greek to English if you like to see if you have problem with I.E., Opera, and Firefox there...!!! :-) http://madseeds.com/forum Here is the Code I used for my forum (Step.2) PHP Code:
(I also Changed the "Language" title to "Translation" title..!!!) Later when i find some time I will fix it for the other languages too if I can..!!! :-) I prefer to have simple menus so any unexperienced user can use it...(I mean that I want the menu to work to all browsers for sure)!!! :-) |
Hello, my forum is in Spanish.
What I have to do modifications because you do not work I need you to help me please. thanks |
Okay, guys. This took me a bit longer to put together then I thought it would. I'm sure it's not completely perfect, but see post 2 of this thread again. You can now add a link to all the available language options that Google offers.
Vbob, thanks for letting me know about the translation working in Greek. That's really the only thing about this mod that I can't test myself, so thanks much for the feedback. And thanks also for the suggestions. I was thinking along the same lines as well. Baghad4ever, I'm sorry. But it appears to be an issue with Google and IE. My uneducated guess would be that is has something to do with the fact that their is a "vb" in your thread URLs. One other user had the same problem with way his URLs were formatted. Still, I can't imagine why FireFox would translate just fine and IE wouldn't. But at the moment, I don't know why. Apiasto, see the new version I added to post 2 just now. Yeku, what problems are you having exactly? If your trying find a Spanish to English translator, I only just added that now in post 2. |
Quote:
Also when I try to make a translation, finalize session:erm: What do I do wrong?? pd: Alternative 2, post n?2 |
In order to accept POST request originating from this domain, the admin must add this domain to the whitelist.
I get that too when i try to translate Italian to english all the rest work fine,just this. |
thanks my dear
but my forum is arabic lang so only translate to english would be work bec the google option only from arabic to english so how can i made another translations to be work?? |
Quote:
It is working fine for me (Greek to English and English to Greek Translation, tested in Firefox, I.E., Opera) :-) |
Lombardo, yeku, in order for Google to translate a page, it needs to be able to see your page. So you'd need Guest browsing enabled, as you wont be able to log in from a translated page. I'm sorry, that's just how Google's service works.
baghdad4ever, what additional languages are you looking for? Have you tried the other language options yet? Sorry if I'm misunderstanding you. Vbob, that's good to know. Feel free to ping this thread if you run into any other problems. |
Works now mate,thanks a lot for your efforts mate.Its much appreciated.
|
All times are GMT. The time now is 10:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|