[Contrib: Evaluation System] i18n issue

Nicola Monat-Jacobs nicola at longsight.com
Wed Sep 15 12:01:11 PDT 2010


Good find Daniel. Can you make a JIRA for this, if you haven't already? Seems like an easy fix. Should be \u00BF, right?

Thanks,
Nicola

On Sep 10, 2010, at  5:10 AM, Daniel Merino wrote:

> Hi again. I have managed to solve this issue.
> 
> In the 1.3.x version of Evaluation System, the spanish properties file (https://source.sakaiproject.org/contrib/evaluation/trunk/tool/src/java/org/sakaiproject/evaluation/tool/bundle/messages_es_ES.properties) has an incorrect line here:
> 
> removescale.confirm.text=\uooBF Esta seguro de querer eliminar la escala "{0}"? El borrado es permanente.
> 
> where the zeros of the Unicode character are replaced by the "oo" characters.
> 
> This little mismatch causes the 1.3.x version of Evaluation System to fail in the translations and to launch a lot of Spring exceptions, even working in english.
> 
> Hope this helps.
> Best regards.
> 
> Daniel Merino escribió:
>> 
>> Hi again. I have found new clues about this issue.
>> 
>> Deploying the tag 1.2.1 and installing over a fresh 2.7.1 works fine, but the spanish properties file isn't included, so it's english no matter what language is selected by the user.
>> 
>> Copying the spanish translation (messages_es_ES.properties) in the bundle directory and deploying the tool produces the crash. It fails even if you are working in english.
>> 
>> Removing the spanish properties file and deploying again fixes the crash. But, as this file is included in the 1.3.x branch, that version won't work.
>> 
>> Should I create a JIRA about this problem?
>> 
>> Thanks in advance.
>> Best regards.
>> 
>> Daniel Merino escribió:
>>> 
>>> Hi everybody.
>>> 
>>> I thought that installing the 1.3.x Evaluation System on 2.7.0 has gone well, but I have a problem with the i18n when using it.
>>> 
>>> It seems that the tool doesn't find the properties, no matter the language you are using. Setting english in preferences doesn't work neither.
>>> 
>>> 2010-09-09 09:45:18,346 WARN (SpringMessageLocator.java:48) - <Failed to look up message administrate.page.title in message bundle org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:org/sakaiproject/evaluation/tool/bundle/messages] for locale es_ES>
>>> 2010-09-09 09:45:18,346 WARN (ViewProcessor.java:100) - <Error processing component uk.org.ponder.rsf.components.UIMessage at 1abf3adc with ID administrate-link-linktext>
>>> java.lang.IllegalArgumentException: Value of UIBoundString cannot be null
>>>         at uk.org.ponder.rsf.components.UIBoundString.setValue(UIBoundString.java:12)
>>>         at uk.org.ponder.rsf.componentprocessor.ValueFixer.processComponent(ValueFixer.java:103)
>>>         at uk.org.ponder.rsf.componentprocessor.ViewProcessor.performFixup(ViewProcessor.java:97)
>>>         at uk.org.ponder.rsf.componentprocessor.ViewProcessor.getProcessedView(ViewProcessor.java:60)
>>>         at uk.org.ponder.rsf.processor.support.RSFRenderHandler$1.run(RSFRenderHandler.java:81)
>>>         at uk.org.ponder.rsf.processor.support.RequestInvoker$1.run(RequestInvoker.java:46)
>>> (...)
>>> 2010-09-09 09:45:18,358 WARN (SpringMessageLocator.java:48) - <Failed to look up message summary.page.title in message bundle org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:org/sakaiproject/evaluation/tool/bundle/messages] for locale es_ES>
>>> 2010-09-09 09:45:18,368 WARN (SpringMessageLocator.java:48) - <Failed to look up message summary.page.title in message bundle org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:org/sakaiproject/evaluation/tool/bundle/messages] for locale es_ES>
>>> 2010-09-09 09:45:18,373 WARN (SpringMessageLocator.java:48) - <Failed to look up message summary.page.instruction in message bundle org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:org/sakaiproject/evaluation/tool/bundle/messages] for locale es_ES>
>>> 2010-09-09 09:45:18,378 WARN (SpringMessageLocator.java:48) - <Failed to look up message summary.evaluations.title in message bundle org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:org/sakaiproject/evaluation/tool/bundle/messages] for locale es_ES>
>>> 
>>> These not found keys are really in messages_es_ES.properties (tool/src/java/org/sakaiproject/evaluation/tool/bundle/messages_es_ES.properties) and I can see them also in the Tomcat's deployed tool (<TOMCAT-SRC>/webapps/sakai-evaluation-tool/WEB-INF/classes/org/sakaiproject/evaluation/tool/bundle/messages_es_ES.properties).
>>> 
>>> I work with Jdk_1.6.0_21 and Tomcat 5.5.30. The same issue happens in Sakai 2.7.1.
>>> 
>>> Any clue with this?
>>> Thanks in advance.
>>> -- 
>>> Daniel Merino Echeverría
>>> daniel.merino at unavarra.es
>>> Gestor de teleformación - Centro Superior de Innovación Educativa.
>>> Tfno: 948-168489 - Universidad Pública de Navarra.
>>> --
>>> Avaricia es vivir en la pobreza por miedo a la pobreza. (S. Bernardo)
>>> 
>>> 
>>> _______________________________________________
>>> evaluation mailing list
>>> evaluation at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>>> 
>>> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>> 
>> -- 
>> Daniel Merino Echeverría
>> daniel.merino at unavarra.es
>> Gestor de teleformación - Centro Superior de Innovación Educativa.
>> Tfno: 948-168489 - Universidad Pública de Navarra.
>> --
>> Esta carta que te escribo es más larga de lo habitual porque no he tenido tiempo para hacerla más corta. (Blaise Pascal)
>> 
>> _______________________________________________
>> evaluation mailing list
>> evaluation at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>> 
>> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> -- 
> Daniel Merino Echeverría
> daniel.merino at unavarra.es
> Gestor de teleformación - Centro Superior de Innovación Educativa.
> Tfno: 948-168489 - Universidad Pública de Navarra.
> --
> La mayoría de las religiones profetizan el fin del mundo. Y, consistentemente, trabajan duro para hacerlo posible. (Anónimo)
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
> 
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/evaluation/attachments/20100915/5febdf6b/attachment.html 


More information about the evaluation mailing list