incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Pablo Santos Rodríguez (JIRA) <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-214) Captcha.jsp not fully localized
Date Mon, 17 Mar 2008 22:54:24 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579658#action_12579658
] 

Juan Pablo Santos Rodríguez commented on JSPWIKI-214:
-----------------------------------------------------

Hi!

not very sure to understand the issue: AsirraClientSide.js, adds some HTML markup to the page.
Until it has finished loading, both the "Please select all the cat photos:" and "Adopt me"
labels remain in english, as they are hard-coded into the script. Once it finishes, the rest
of the page also finishes loading, which triggers the i18nAsirra() function, translating those
texts.

As you see, there is a small amount of time in which those labels remain untranslated, but
I don't see how could we get rid of it. We could place i18nAsirra() just below AsirraClientSide.js,
but I don't think it would speed up the process, as most of the time is spent loading the
images. Placing i18nAsirra() inside the <body> onload event seemed the correct approach
to me, but I'm not a javascript guru, so any suggestion is welcome :-)

You are referring to this small amount of time or you aren't getting any translation at all?

Regards,
jp

> Captcha.jsp not fully localized
> -------------------------------
>
>                 Key: JSPWIKI-214
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-214
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Localization
>    Affects Versions: 2.6.2
>            Reporter: Florian Holeczek
>            Priority: Minor
>
> In Captcha.jsp, the function i18nAsirra() doesn't produce what it should.
> Just an idea, I'm not so into Javascript programming:
> Maybe this is because the function is called onload of the body, which may be before
assira's script http://challenge.asirra.com/js/AsirraClientSide.js is loaded?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message