How to load specific resource bundle

1 view
Skip to first unread message

Khosro Asgharifard

unread,
Feb 7, 2010, 1:36:54 AM2/7/10
to my_a...@googlegroups.com
Hello,
Imagine we are in  farsi local and in a controller ,we want to load a message from english local.How we can do it?
As far as i know we can load messagees from bundle with this code :
@In
    private Map<String, String> messages;
    String s = messages.get("delete");

but the problem is that "s" loads from the local where Seam is,if we are in english locale ,it loads from messages_en and if we are in farsi ,it loads from messages_en.
But in code i want to load a message from farsi and englsih simultaneously.How can i do it?

Khosro.




Khosro Asgharifard

unread,
Feb 8, 2010, 1:14:09 PM2/8/10
to my_a...@googlegroups.com


From: Khosro Asgharifard <khosro_...@yahoo.com>
To: my_a...@googlegroups.com
Sent: Sat, February 6, 2010 10:36:54 PM
Subject: [my_autcms] How to load specific resource bundle
--
You received this message because you are subscribed to the Google Groups "my_autcms" group.
To post to this group, send email to my_a...@googlegroups.com.
To unsubscribe from this group, send email to my_autcms+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/my_autcms?hl=en.

Reply all
Reply to author
Forward
0 new messages