Hi,

thank you for your reply.

I use it to fill up a bean with the string "unkonwn" or "unbekannt" to show it later on the website.

So, what I want to do is, get a string in different languages from the Resource-Bundle from the ActionContext.


Thank you!
Klaus.

2017-09-22 15:40 GMT+02:00 Klaus Tachtler <kl...@tachtler.net>:
String i18nString = LocalizedTextUtil.findDefaultText("global.unknown",
ActionContext.getContext().getLocale());

Where do you use "i18nString"?


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




--

------------------------------------------
e-Mail  : kl...@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net
------------------------------------------


Attachment: binIZMbqo_1H_.bin
Description: Öffentlicher PGP-Schlüssel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to