Arabic letters in Blogger
1. Start by opening your dashboard then click on " change setting".
2. Go to Settings, formatting.
3. Find the item called "Encoding", choose "Arabic (Windows-1256) as seen in this image:
4. Save. Be sure to save every change you made. Then after every save, Ctrl+F5 to see the changes you made.
5. Change the "Date Language" to your country language, here we choosed Lebanon.
6. Save.
7. Make the changes you desire on formatting as you wish. Here is how our formatting is done.
8. Save. Save. Save. Always.
Direction
When you finish the encoding, switch to "Posting", then "Create". A new session open for you to write your article.
1. Start by writing your first article, try first with few lines to teach yourself. You will notice that your lines are on the left side although you write in Arabic.
2. I assume your editor start automatically with "Compose" option as in this image. If not, see next step to activate it.
3. Activate "Compose" option by clicking "Posting", then "Basic", then browse down to Global settings and choose "yes" as shown in this image.
4. Align your lines to right as shown here: (Same as in step 2)
5. Switch to "Edit HTML"
6. It should be shown as in next image. We wrote only one line. You see that there is a code on the left called "div". Div means container, The browser sees everything in this container and configure the line as what you tell the container to do. So everything inside the "<" and ">" are instructions to the container to show the lines you wrote in right align. Inside the box the lines are on the left because the Blogger is a western program, but your browser and your visitors' will see the lines on the right.
7. What we do next is to tell the container (div) to show the lines from right to left as in Arabic language. We do this by adding a short code inside the container. So, add this: dir="rtl" as shown in next image.
Back to Kadmous












3 Comments:
Salam
I use UTF8 instead of arabic Windows ... it gives me the freedom of posting from all sources. For example I can copy arab text from browsers and paste it into my blog even when I am using computers with no Arabic language supprot in their OS's.
There are also several variations that belong to the same technology used into yur method.
< div language=Arabic style="direction:RTL; text-align:justify; font-family:'Traditional Arabic'; font-size:1.5em; Line-height:normal; color:Green; Background: Silver; padding: 10px; Border: 3px ridge crimson;" >
بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي بالحرف العربي
< /div >
( please remove the spaces just after the greater than character symbol and before the less than character symbols in the HTML code above, otherwise you will get errors)
of course I dont use all these style modifeirs every time, I just put them here so you can try them one by one, just remove a modifier and see the effect.
I encourage you to use and teach others to use the style method (CSS) for a reason : once you become fluent in using styles you will be able to give names to the styles and just linnk these styles from an external source file that details your style.
Imagine the power you can have when you can "redecorate" all what you have written before ... in Arabic.
More important, is teh flexibility it gives you if you decide one day to transfer your blog from a hosting provider to another.
Congratulations for your winning the Arab culture blog award for 2004. You have worked hard on your blog and I think your selection was a good choice by the Awarding committee.
Salam
http://www.livejournal.com/users/ArabSpiritArabSpirit@gmail.com
Sorry to post again ... I want to add just a little
one of the missgivings of using the alignment method is the way punctuation marks tend to mess up your text flow. Also if you try to insert an English phrase into your Arabic sentence then you will most likely end up having some troubles in the text flow.
but to show the strength of styles :
< style >
body {
Direction: RTL;
Language: Arabic;
Text-align: Justify;
< /style >
if you insert the above code into your blog template, anywhere between the < head > and < /head > then you will have a precoded Arabic blog : where everything you write forever after, will be treated properly as an Arabic text, you just have to write Arabic, and you only need to use the < div dir=RTL > tags and all that headache when you want to write in English or other languages.
finally please take a good look at this source
http://www.w3.org/Style/CSS/
Marhaba Arab Spirit,
Thanks a lot for your valuable comments. I can confess that I need a lot of practicing the CSS styles.
My article on writing Arabic on Blogger intended for the bigginers who wants to write in Arabic, but misses the basics in settings to make Arabic well shown on their blogs.
I tried the UTF-8 many times, but I never understood why on some machines they get strange characters, mostly tah and zzah combined with pluses and minuses, although I modified the style to show arabic fonts and RTL tags. usually those errors happened on some friends machines who sit behind proxies with no way to install the arabic encoding.
Furthermore, Some scripts and search engines didnt understood the arabic when I use the UTF-8. But when I use windows-arabic encoding, those errors disappeared. That's why I was so far pleased with the limited outcome of the arabic articles. And I put developing this method for later stage.
But your comments have really ignited again the love for developing things and make it even better. Your body style is very well thought and will prove it asap.
Thanks again
Post a Comment
<< Kadmous