Thanks for your reply

I tried different values and I get a better result with "gl=se", but
it is not the same as a regular search.

I am using this now:
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=206%20klonk&gl=se

This is the regular URL for search:
http://www.google.se/#hl=sv&source=hp&q=206+klonk&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=73d3c49a698455fb

I have tried hl=sv in my script, but it does not change anything, and
I tried gl=sv, but then I get results in a another language (Spanish i
think).

Maybe theres a parameter I can add to the JS-code to make ajax search
(wish was the goal from the begining)?


Best regards// Rikard

On 5 Maj, 13:42, Jeremy Geerdes <[email protected]> wrote:
> Try the gl and hr parameters.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On May 5, 2010, at 3:42 AM, hundra wrote:
>
>
>
> > Hello
>
> > I have search the forum and internet to find a way to search with
> > Google Search API in diffrent languages. I need to do my search as if
> > I search fromwww.google.se(Im Swedish). When I use the API now I get
> > results as if I where in USA.
>
> > I have tried to manipulate the values in Javascript and curl for PHP
> > but without succes. Does anyone know if it is possible?
>
> > When I do a regulare google search fromwww.google.seit uses "#hl=sv"
> > to define Swedish, I need to do the same with the API.
>
> > Thanks in advanced
> > // Rikard
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google AJAX APIs" group.
> > To post to this group, send email to 
> > [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-ajax-search-api?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-ajax-search-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to