Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi Experts,

I want to know following about struts2:

1. Does internationalization works for Arabic & English? Any special considerations?
2. How can I change the alignment of text when locale is changed? For English it will be left aligned and for Arabic it will be right aligned?
3. How can I intercept (during) the change of locale so, that I can reload the information on the page which is being fetched from the database?
4. We also need to adjust some styles (css) since text with non-english alphabet/characters tend to take up space differently. Can we also “internationalize” css files?
5. Any working example with this scenario.

Any help will be great.

BR
SC
Posted
Updated 6-Jan-11 6:17am
v5
Comments
Slacker007 6-Jan-11 11:34am    
You know it's criminal to spell it criminel.
Sergey Alexandrovich Kryukov 6-Jan-11 12:03pm    
This is not "alignment" at all. Please see my answer.
Sergey Alexandrovich Kryukov 6-Jan-11 12:08pm    
@SmoothCriminel: OK, I voted 5 for now, but I give you a warning for improper use of "Text Alignment" (seriously, modify you Question title to look more in the scope :-). Watch the video (see my reference above) for more inspiration.

However, I don't know, maybe this is because of different culture.
Sergey Alexandrovich Kryukov 6-Jan-11 12:10pm    
@SmoothCriminel: OK, I voted 5 for now, but I give you a warning for improper use of "Text Alignment" (seriously, modify you Question title to look more in the scope :-). Watch the video (see my reference above) for more inspiration.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900