[
https://issues.apache.org/jira/browse/SLING-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293130#comment-15293130
]
Konrad Windszus commented on SLING-5740:
----------------------------------------
The fix is not correct, but there is definitely something fishy along those
lines. The whole for-loop in line 612 should IMHO be removed. Maybe someone
else has an idea, why it was added in the first place?
> [i18n] extracting country from locale String is incorrect in
> JcrResourceBundleProvider
> --------------------------------------------------------------------------------------
>
> Key: SLING-5740
> URL: https://issues.apache.org/jira/browse/SLING-5740
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: i18n 2.4.6
> Reporter: Ankit Agarwal
>
> while extracting Locale from string, country code as compared to lang
> https://github.com/apache/sling/blob/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java#L613
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)