Language restriction with RESTRICT_EXTENDED_ARGS

18 views
Skip to first unread message

Xabi

unread,
Apr 9, 2008, 6:21:25 AM4/9/08
to Google AJAX API
this is a example of language restriction for French.

webSearch = new google.search.WebSearch();
webSearch.setRestriction(GSearch.RESTRICT_EXTENDED_ARGS,
{ lr :"lang_FR"});

I need to restrict to Spain, but when I use {lr : "lang_ES"} don't
wotk. What restriction value I'd use?

thanks!

jgeerdes [AJAX APIs "Guru"]

unread,
Apr 9, 2008, 7:04:56 AM4/9/08
to Google AJAX API
Try lang_es instead of lang_ES

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!
Reply all
Reply to author
Forward
0 new messages