You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Svein (JIRA)" <ji...@apache.org> on 2017/02/23 09:44:44 UTC

[jira] [Updated] (TAP5-2574) No match on Locale nb

     [ https://issues.apache.org/jira/browse/TAP5-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svein updated TAP5-2574:
------------------------
    Description: 
{code}configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB,en");{code}
{code}org.apache.tapestry5.internal.services.Request.getLocale() for returns "nb" for Norwegian{code}
No *_no_NB.properties or *_no.properties are used. I think A way to alias locale is needed. E.g: {code}configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB{nb},en);{code}


  was:
configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB,en");
org.apache.tapestry5.internal.services.Request.getLocale() for returns "nb" for Norwegian and no *_no_NB.properties or *_no.properties are used. I think A way to alias locale is needed. E.g: configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB{nb},en);



> No match on Locale nb 
> ----------------------
>
>                 Key: TAP5-2574
>                 URL: https://issues.apache.org/jira/browse/TAP5-2574
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4.1
>            Reporter: Svein
>
> {code}configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB,en");{code}
> {code}org.apache.tapestry5.internal.services.Request.getLocale() for returns "nb" for Norwegian{code}
> No *_no_NB.properties or *_no.properties are used. I think A way to alias locale is needed. E.g: {code}configuration.add(SymbolConstants.SUPPORTED_LOCALES, "no_NB{nb},en);{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)