So what does happen if you’re an Arabic speaker and you naturally expect to be able to write a search query from right to left? You’re sort of stuck and have to work with writing from left to right. Not any more however if you’re a Google user. If you’re using a supported local interface such as google.co.il or google.com.eg you’ll find that the search box will automatically detect whether you are writing in a script from left to right or right to left. If you input a mixed query i.e Arabic and English then the alignment with be set to the first word.
Interestingly enough the curser is also automatically set to the right when you tab into the search field. The tab order of links also appropriately follows the right to left reading order. Read more about it on the official Google blog.