Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java struts
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 6-Jan-11 4:39am
Edited 6-Jan-11 7:17am
v5
Comments
SAKryukov at 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.
SAKryukov at 6-Jan-11 12:03pm
   
This is not "alignment" at all. Please see my answer.
SAKryukov at 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.
Slacker007 at 6-Jan-11 11:34am
   
You know it's criminal to spell it criminel.

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



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 6 Jan 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100