Hello, I am a php developer and know php well. However I haven't made a site in arabic language ever. So I am bit clueless here. I need to develop a website with backend CMS. The complete site frontend and backend will be developed in Arabic. I know how to write arabic in html and encoding etc. however I am a wondering how to type arabic in form fields in the back end? Like if I have two form fields with Title and Name, how to make it so when I start typing in those fields, it starts with arabic only. Please help. Thanks
well if you use the correct content-encoding or just utf-8, then you can use the html 'dir=rtl' tag which means fields will have data input from right to left (the way arabic is written). if you use utf-8 you probably don't even need to worry about html-entity encoding the data, just use the actual letters themselves; use windows regional and language options in the control panel to install your required arabic keyboard and start making your html files entering the language that way! hope this helps, it's probably not perfect but it's how i'd start no matter what language i was writing in!
You will have to set the correct encoding and characters set in your database also! Most probably you will be using MySQL. According to documentation (5.0) you have to use cp1256 character set and collation (http://www.collation-charts.org/mysql60/mysql604.cp1256_general_ci.html) As you can see, there is support for Arabic alphabet there. Collation is the conversion of several signs into a representative one (for searching). And is intended for languages where the same sign can appear with different drawings (a <- áãäà â).