Hey—we've moved. Visit
The Keyword
for all the latest news and stories from Google
Official Blog
Insights from Googlers into our products, technology, and the Google culture
Searching right to left
February 26, 2008
Posted by Josh Daniel, Software Engineer
Many of us in the English-searching world don't realize that a large portion of the world's population writes (and types) right-to-left. For the Arabic, Hebrew, and other right-to-left searchers of the world, searching just got a little easier. If you're searching from a supported local interface (e.g.
google.co.il/
or
google.com.eg/
) we now dynamically detect the direction of your query.
Enter a query like [
افرض مثلآ
] or [
מכבי חיפה
] and your query will align right so you can type to the left. Enter a query like [
2008 world cup soccer
] or [
(5 - 3) * 32
] and it will align left so you can type to the right. Enter a mixed query like [
SMS משלוח
] and we'll set the alignment and overall direction based (roughly) on the first word.
We've enjoyed learning about bidirectional issues. Enabling applications for bidirectionality is especially tricky because any sentence or phrase may contain a mix of left-to-right text (e.g. English, numbers), right-to-left text (e.g. Arabic, Hebrew), and neutral text (e.g. punctuation). The rules for displaying the direction of characters in individual words are different from the rules for displaying the direction of words in a phrase. Things are further complicated due to widely varying limitations across web browsers.
We hope you'll enjoy the improved search experience!
Labels
accessibility
41
acquisition
26
ads
131
Africa
19
Android
58
apps
419
April 1
4
Asia
39
books + book search
48
commerce
12
computing history
7
crisis response
33
culture
12
developers
120
diversity
35
doodles
68
education and research
144
entrepreneurs at Google
14
Europe
46
faster web
16
free expression
61
google.org
73
googleplus
50
googlers and culture
202
green
102
Latin America
18
maps and earth
194
mobile
124
online safety
19
open source
19
photos
39
policy and issues
139
politics
71
privacy
66
recruiting and hiring
32
scholarships
31
search
505
search quality
24
search trends
118
security
36
small business
31
user experience and usability
41
youtube and video
140
Archive
2016
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2015
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2007
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2006
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2005
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2004
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Feed
Google
on
Follow @google
Follow
Give us feedback in our
Product Forums
.