You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/02/02 15:06:19 UTC

[jira] Created: (FELIX-2029) Support for "default" locale does not work

Support for "default" locale does not work
------------------------------------------

                 Key: FELIX-2029
                 URL: https://issues.apache.org/jira/browse/FELIX-2029
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-2.0.6
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-3.0.0


The ResourceBundleCache supports hierarchies of locales with a default locale with an empty language at the root. This support is not properly implemented, though:

   * The root resource bundle is never linked into the tree, essentially have the "language only" Locale at the root
   * The root resource properties file is never found, because it is accessed with a partial name of "_" while it would be kept as "".

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


[jira] Closed: (FELIX-2029) Support for "default" locale does not work

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

Carsten Ziegeler closed FELIX-2029.
-----------------------------------


> Support for "default" locale does not work
> ------------------------------------------
>
>                 Key: FELIX-2029
>                 URL: https://issues.apache.org/jira/browse/FELIX-2029
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> The ResourceBundleCache supports hierarchies of locales with a default locale with an empty language at the root. This support is not properly implemented, though:
>    * The root resource bundle is never linked into the tree, essentially have the "language only" Locale at the root
>    * The root resource properties file is never found, because it is accessed with a partial name of "_" while it would be kept as "".

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


[jira] Resolved: (FELIX-2029) Support for "default" locale does not work

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

Felix Meschberger resolved FELIX-2029.
--------------------------------------

    Resolution: Fixed

Rev. 905638: Properly handle the default locale both for placing it at the root of the Locale chain and for keeping it in the resource bundle entries map. Also ensure, that entires may not be overwritten by fragments.

> Support for "default" locale does not work
> ------------------------------------------
>
>                 Key: FELIX-2029
>                 URL: https://issues.apache.org/jira/browse/FELIX-2029
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> The ResourceBundleCache supports hierarchies of locales with a default locale with an empty language at the root. This support is not properly implemented, though:
>    * The root resource bundle is never linked into the tree, essentially have the "language only" Locale at the root
>    * The root resource properties file is never found, because it is accessed with a partial name of "_" while it would be kept as "".

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