I am trying to generate something like the following output:
This is a sentence with something some text that is linked.
The text of the sentence needs to be localized. The link needs to be normal
wicket Link.
I think that if we were using the localization approach where the pages
themselves are localized (i.e. MyPage_fr.html) then this would be pretty
easy, but we're using properties files (actually one property file for the
entire application). It occurred to a colleague of mine that if I used a
property file entry like:
sentence.to.localize=This is a sentence with {0}some text{1} that is
linked.
I could then figure out a way to render the wicket link into a string and
then use that string as the replacement for the variables above; however, I
can't seem to figure out how to do that either.
This seems like a fairly basic need so I'm sure there's a straightforward
way to accomplish this, but after searching the mailing list archive and the
wiki, I haven't been able to figure it out yet. We're still on Wicket 1.3 if
it makes any difference.
Any advice?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Output-localized-sentence-text-containing-wicket-link-tp3313207p3313207.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]