[
https://issues.apache.org/jira/browse/SLING-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812692#comment-13812692
]
Bertrand Delacretaz commented on SLING-3147:
--------------------------------------------
Alex, do we have tests that demonstrate this, or could you add one?
In the meantime, our launchpad and integration tests run on Oak if using
-Dsling.run.modes=oak on the launchpad or Maven command line.
> Oak: i18n dictionaries observation no longer works
> --------------------------------------------------
>
> Key: SLING-3147
> URL: https://issues.apache.org/jira/browse/SLING-3147
> Project: Sling
> Issue Type: Bug
> Components: Extensions, Oak
> Affects Versions: i18n 2.2.6
> Reporter: Alexander Klimetschek
> Labels: i18n
>
> When running Sling with Oak, the JcrResourceBundleProvider [0] in the i18n
> bundle apparently no longer gets the observation events for sling:message
> nodes in the JCR. This means that changing a string in the repo or installing
> a package with new translations won't have an effect if the resource bundle
> is already loaded in memory.
> Workaround is to restart the i18n bundle after every string change.
> [0]
> http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
--
This message was sent by Atlassian JIRA
(v6.1#6144)