Translation control - flags instead of dropdown?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/1/2010 3:50:03 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Translation control - flags instead of dropdown?

Hi guys

Got a client who loves the Google translation within mojo, but would like a row of 4 flag icons to translate to those 4 languages only, instead of the dropdown.

Joe, is there a way of doing this perchance? If not within mojo, anything hard code in to layout.master?

Thanks as ever

Mark

7/5/2010 8:53:16 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Translation control - flags instead of dropdown?

Hi guys

Anything on this perchance?

Thanks

Mark

7/5/2010 9:04:34 AM
Gravatar
Total Posts 18439

Re: Translation control - flags instead of dropdown?

This is controlled by google. There is nothing I can do to change it's behavior or customize it to use flags.

I don't like this feature myself because if a visitor comes to your site with their browser preferred language set as something other than the same language the site uses then it forces a big toolbar at the top that pushes down the design and throws off the layout. When I first implemented this in mojoPortal I did not realize it was doing this for all foreign visitors, I later removed it from my own site because of this.

I actually also implemented a control for Microsoft Translate because I "thought" it did not force a toolbar at the top, but it turns out it does the same thing if the browser language setting is not the same as the site content.

hopefully one day one of these vendors will give us more control over the translate widgets.

Best,

Joe

7/5/2010 9:07:02 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Translation control - flags instead of dropdown?

Hi Joe

Thanks for that - at least I know its limitations. Could I implement a direct link somehow do you think? With each flag representing a link somewhere? What I mean is, does Google translate produce a URL per translation that I could grab....

I can check that though!

Thanks

Mark

7/5/2010 9:17:06 AM
Gravatar
Total Posts 18439

Re: Translation control - flags instead of dropdown?

It is just a javascript widget, it does what it does.

I do think you can make an url to translate but it would be specific for each page and it still opens a google toolbar.

Like this link translates my home page to spanish, but really it takes the user to a google site that shows your page in an iframe.

http://translate.google.com/translate?u=http%3A%2F%2Fwww.mojoportal.com&sl=en&tl=es&hl=&ie=UTF-8

you can find it here how to create an url but not sure how useful it really is.

http://www.google.com/language_tools?hl=EN

Best,

Joe

7/5/2010 9:19:19 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Translation control - flags instead of dropdown?

Thanks Joe

The iframe display isnt an issue for the client, it's the flags they really are desperate for. Thanks for the info as ever.

Mark

You must sign in to post in the forums. This thread is closed to new posts.