Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
hello i have a website with database and css in english
i want to localize it to arabic , but i dont know what i will do with the css as it from left to wright !
Posted 27-Jan-13 11:10am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is called "rtl" direction, meaning "right-to-left". It is controlled by the CSS property direction:rtl or HTML attribute dir="rtl". Please see:
http://www.w3schools.com/cssref/pr_text_direction.asp[^],
http://www.w3.org/International/tutorials/bidi-xhtml/[^].
 
The second article referenced about provides in-depth suggestions for localization when right-to-left scripts are used.
 
This is only one partial aspect of localization. You need to understand most of them. Please see also:
http://msdn.microsoft.com/en-us/library/c6zyy3s9%28v=vs.100%29.aspx[^].
 
Some CodeProject articles can also be useful:
Globalization and Localization in ASP.NET Web Applications[^],
Globalization and localization demystified in ASP.NET 2.0[^],
Using Globalization and Localization in ASP.NET[^].
 
Good luck,
—SA
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Check out the following link for solved answer
 
http://stackoverflow.com/questions/3311630/using-a-css-file-for-site-localization[^]
 
Thanks
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 428
1 Sergey Alexandrovich Kryukov 283
2 PhilLenoir 115
3 RajeeshMenoth 110
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 6,465
1 OriginalGriff 5,926
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,540


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 27 Jan 2013
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