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

ASF GitHub Bot commented on WICKET-5847:
----------------------------------------

GitHub user robsonke opened a pull request:

    https://github.com/apache/wicket/pull/103

    Added the new KeyReplacingLocalizer

    See https://issues.apache.org/jira/browse/WICKET-5847

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robsonke/wicket master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/103.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #103
    
----
commit 99649251a04ffd1a6243c8b2211fd9850d0a19ea
Author: Rob Sonke <[email protected]>
Date:   2015-03-04T14:35:22Z

    Added the new KeyReplacingLocalizer

----


> Support for nested properties keys in translations
> --------------------------------------------------
>
>                 Key: WICKET-5847
>                 URL: https://issues.apache.org/jira/browse/WICKET-5847
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 7.0.0-M5
>            Reporter: Rob Sonke
>            Priority: Minor
>         Attachments: i18nresolver.zip, keyreplacelocalizer.patch, 
> screenshot-1.png
>
>
> I wrote an extended version of the Localizer class to support properties like:
> {code}
> lbl.test=This is a string including this ${lbl.other} test
> lbl.other=nested property
> {code}
> Based on this discussion:
> http://apache-wicket.1842946.n4.nabble.com/Resolving-nested-properties-td4669681.html
> It would be nice if this can be added to Wicket core to support this. Then 
> developers can easily choose to use this one or not. By default the existing 
> Localizer is used.
> I've attached a patch file based on today's master branch which includes the 
> new class and some junit tests. Apart from that I attached a zipped 
> quickstart that shows the use. Please be aware that I added the new class as 
> a copy in that project on the same package as in the real Wicket jar.



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

Reply via email to