Opened 20 months ago

#246 new defect

text (captions) in supersized script not being translated

Reported by: apessoa Owned by: ofer
Priority: major Milestone: 0.7 - Coming Major
Component: Parser Version: 0.8.5
Keywords: Cc:

Description

Hello
First of all, let me congratulate you on this great plugin. It really simplifies and speeds up all the translation process.

In one of the sites I'm using it we use a supersized script on the homepage, using each image with a caption to provide the main site messages. We are using a themeforest template called Incidental (http://themes.goodlayers.com/?theme=incidental).

Everything works OK except for the supersized slider captions, that are not being translated. I've checked that the html is valid and that there are no js conflicts, however I can't even get transposh to "recognize" that there is some text there to be translated (when in translation edition mode in the frontend, some icons appear everywhere there is text to be translated, but no in the captions).

I've talked to the theme developer, which does not know how this plugin works, but suggested that, since the text not being translated is inside a javascrip, that can be the issue.
In fact looking at the source I see that the untranslated captions are rendered inside the supersize script at the bottom of the source.
Pls see example below of one image and respective caption.

Is there a way to also trigger the transposh plugin inside this script?

Thanks in advance

"....
Slideshow Images
{ image: 'http://www.futurahub.com/dome_new/wp-content/uploads/2012/07/anne1.jpg1.jpg', title: 'Elevada Visibilidade' , caption: 'Todos vão falar da sua marca. Os seus eventos serão inesquecíveis.' , thumb: 'http://www.futurahub.com/dome_new/wp-content/uploads/2012/07/anne1.jpg1-72x50.jpg'},...~2

Change History (0)

Note: See TracTickets for help on using tickets.