[Xsltforms-support] "... Loading ..." questions
Brought to you by:
alain-couthures
From: Javier D. <jd...@ge...> - 2009-11-06 09:42:25
|
Hello, I have noticed that "... Loading ..." message can be internationalized with files "messages.properties" and "messages_<lang>.properties". But I see that in spanish one, "messages_es.properties" it has "status = ... Loading ...", that is the english message. I think it should be translated to spanish, indicating for example "... Cargando ...". I also noticed that in my case is always loaded the english version, whereas other people is corrected loaded the spanish version with "Cargando" (I have changed it locally). I think the reason is that to decide the languaje to use, is taking into account the user-agent instead the accept-language header. In my case, that is choosing english version: User-Agent |Mozilla/5.0 (X11; U; Linux i686; *en-US*; rv:1.9.0.14) Gecko/2009091913 Mandriva/1.9.0.14-0.1mdv2009.1|| (2009.1) Firefox/3.0.14| Accept |text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8| Accept-Language |*es-es*,es;q=0.8,en-gb;q=0.6,en-us;q=0.4,en;q=0.2| And in a case where is choosed the spanish one: User-Agent |Mozilla/5.0 (X11; U; Linux i686; *es-ES*; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10||| Accept |text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8| Accept-Language |*es-es*,es;q=0.8,en-us;q=0.5,en;q=0.3| It would be great to get the correct one, although I can survive with english localized version :) And finally, I have detected that inside the xsltforms.xsl, in templates "xforms:itemset" and "xhtml:html | html" there are two "Loading" messages. Do these messages appear in any moment? Should I change it to spanish version? (I want only to appear spanish messages). Best Regards, Javier |