|
| Description: |
h2. Reproduction steps # Add an {{ApplicationResources.properties}} file in the resource folder of a webjar # Deploy Install the webjar extension on an instance # Try to translate a translation key from the webjar
h2. Expected
The translation key is found. h2. Actual
The translation key fails to resolve. h2. Explanations [ https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-jar/src/main/java/org/xwiki/localization/jar/internal/JARTranslationBundleFactoryListener.java ] only check for jar and not webjars or any other supported extensions. org.xwiki.extension.jar.internal.handler.JarExtensionHandler#isSupported must be used to determine of the resource can be handled as a jar. |
|