I have added Google Translate on my organisation's website and it is working OK in Firefox with all languages except hindi, When you choose to translate to hindi the css breaks and the page is not rendered correctly. The website is built in Plone. Has anyone experienced the same issue, any advice would be really welcome.
Thanks
Issue with Hindi translation using Google Translate
-
- Posts: 2
- Joined: March 16th, 2015, 7:06 am
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: Issue with Hindi translation using Google Translate
Moving to Web Development. Can you give us a link to the page?
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Posts: 2
- Joined: March 16th, 2015, 7:06 am
Re: Issue with Hindi translation using Google Translate
Hi, this is a link to the site http://www.sabp.nhs.uk/IAPT
Regards
Regards
- jscher2000
- Posts: 11762
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Issue with Hindi translation using Google Translate
I have no idea why that is happening. If I choose Arabic, there is a flash of that unstyled look and then the CSS kicks in again. I use basically the same widget code on my blog and there are no issues, but it's WordPress, not Plone.
- patrickjdempsey
- Posts: 23686
- Joined: October 23rd, 2008, 11:43 am
- Location: Asheville NC
- Contact:
Re: Issue with Hindi translation using Google Translate
Possibly competing default styles on some lower level?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
- Pim
- Posts: 2215
- Joined: May 17th, 2004, 2:04 pm
- Location: Netherlands
Re: Issue with Hindi translation using Google Translate
The problem is that Google Translate translates the title attribute of the custom.css stylesheet. For Hindi, it changes title="custom.css" into title="कस्टम सीएसएस". Apparently, this causes the browser to think that this stylesheet should not be loaded by default, but only if the user selects it explicitly from the View->Page Style menu.
(If the menu bar is not visible on your system, you can make it temporarily visible by typing Alt+V on many systems.)
It's not just Hindi that has problems by the way; the same thing happens with Dutch.
As for a solution, I'm not sure, but you could try removing the title attribute altogether.
(If the menu bar is not visible on your system, you can make it temporarily visible by typing Alt+V on many systems.)
It's not just Hindi that has problems by the way; the same thing happens with Dutch.
As for a solution, I'm not sure, but you could try removing the title attribute altogether.
Groetjes, Pim