[
https://issues.apache.org/jira/browse/WICKET-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038516#comment-13038516
]
Martin Grigorov commented on WICKET-3727:
-----------------------------------------
To solve this problem we should re-work the way we traverse the configured
IStringResourceLoaders.
Currently the first IStringResourceLoader is asked for XYZ_es_ES.properties
bundle and if it is not found then XYZ.properties is used.
To fix it we should ask all IStringResourceLoader for _es_ES.properties, check
for the key in them and finally ask them again for .properties. I.e. First try
with MultiFileUploadField_es_ES.properties, then with
MyApplication_es_ES.properties and finally fallback to
MultiFileUploadField.properties and MyApplication.properties.
Opinions?
> MultiFileUploadField internationalisation does not work
> -------------------------------------------------------
>
> Key: WICKET-3727
> URL: https://issues.apache.org/jira/browse/WICKET-3727
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.15, 1.4.16, 1.4.17
> Reporter: Steve Swinsburg
> Labels: i18n, internationalization, wicket
> Attachments: myproject.tgz, myproject.zip
>
>
> We are having an issue setting some properties to override the default text
> for the MultiFileUploadField component. As per the docs, we have set the
> following in our local properties file:
> org.apache.wicket.mfu.caption.unlimited=Ficheros:
> org.apache.wicket.mfu.caption.limited=Ficheros (m\u00E1ximo ${max}):
> org.apache.wicket.mfu.delete=Borrar
> however they are not being overridden. We know our properties file is working
> because we can override other properties, like:
> workphone.PhoneNumberValidator = N\u00FAmero de tel\u00E9fono no v\u00E1lido
> and those come up correctly.
> I have reproduced this in a quickstart.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira