You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/10/23 15:10:27 UTC

[jira] [Commented] (TAP5-2036) Localized filenames not found if locale contains variant

    [ https://issues.apache.org/jira/browse/TAP5-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970935#comment-14970935 ] 

Jochen Kemnade commented on TAP5-2036:
--------------------------------------

I'm not sure about {{foo__WIN.properties}}. Should we really support that?

> Localized filenames not found if locale contains variant
> --------------------------------------------------------
>
>                 Key: TAP5-2036
>                 URL: https://issues.apache.org/jira/browse/TAP5-2036
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.3, 5.2, 5.1
>            Reporter: Nourredine K.
>            Priority: Minor
>              Labels: locale, localizedNameGenerator, patch, properties, variant
>         Attachments: LocalizedNameGenerator.patch, LocalizedNameGeneratorSpec.patch
>
>
> The generated filenames by the "LocalizedNameGenerator" class is incorrect for LV and V cases.
> For instance, for "foo.properties" and locale "en_US_WIN", the generated names are "foo_en_US_WIN.properties", "foo_en_US.properties", "foo__WIN.properties", "foo_en.properties" and "foo.properties". 
> "foo__WIN.properties" should be "foo_en__WIN.properties" and it misses "foo___WIN.properties"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)