You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kent Tong (JIRA)" <ji...@apache.org> on 2007/04/02 04:35:32 UTC

[jira] Created: (WICKET-443) ResourceStreamLocator doesn't consider language code matches of locales

ResourceStreamLocator doesn't consider language code matches of locales
-----------------------------------------------------------------------

                 Key: WICKET-443
                 URL: https://issues.apache.org/jira/browse/WICKET-443
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.3
            Reporter: Kent Tong


When locating a resource such as the .properties file for say the zh_TW locale, the ResourceStreamLocator will not consider the xxx_zh.properties file a match. Instead, it insists to look for xxx_zh_TW.properties. If there is no such file, it will use the default (xxx.properties).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-443) ResourceStreamLocator doesn't consider language code matches of locales

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485936 ] 

Juergen Donnerstag commented on WICKET-443:
-------------------------------------------

Can you please provide a quickstart example to proof your point because I don't think you are right.  Wicket should (and did until now) iterate over the locale. There has been other issues in 1.2.3 with resource properties though

> ResourceStreamLocator doesn't consider language code matches of locales
> -----------------------------------------------------------------------
>
>                 Key: WICKET-443
>                 URL: https://issues.apache.org/jira/browse/WICKET-443
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Kent Tong
>
> When locating a resource such as the .properties file for say the zh_TW locale, the ResourceStreamLocator will not consider the xxx_zh.properties file a match. Instead, it insists to look for xxx_zh_TW.properties. If there is no such file, it will use the default (xxx.properties).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WICKET-443) ResourceStreamLocator doesn't consider language code matches of locales

Posted by "Kent Tong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kent Tong closed WICKET-443.
----------------------------

    Resolution: Invalid

You're right. I just tried it again and this time it worked. Sorry for the false alarm.

> ResourceStreamLocator doesn't consider language code matches of locales
> -----------------------------------------------------------------------
>
>                 Key: WICKET-443
>                 URL: https://issues.apache.org/jira/browse/WICKET-443
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Kent Tong
>
> When locating a resource such as the .properties file for say the zh_TW locale, the ResourceStreamLocator will not consider the xxx_zh.properties file a match. Instead, it insists to look for xxx_zh_TW.properties. If there is no such file, it will use the default (xxx.properties).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.