After looking more, it seems to be here.
$opts = array(
'http'=>array(
'method'=>"GET",
//'header'=>"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0\r\n" .
// "Accept-language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3\r\n" .
// "Connection: close\r\n"
'header'=>"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0\r\n" .
"Accept-language: en-gb, en-us, en\r\n" .
"Connection: close\r\n"
I can not seem to get it to pick up En-GB as the main. It seems to take German instead
Hello,
Same issue for me.
I am in France.
My host is in Switzerland.
Prices on the plugin are in Switzerland currency.
I run a swedish website and I changed the accept-language like this, and got apps that are free to say “utan kostnad” wich is swedish for “no cost”, but i still cant seem to get it to show paid apps in other ways than dollars, and it does not matter what i do.
"Accept-language: sv, sv-se,sv;q=0.8,en-us;q=0.5,en;q=0.3\r\n"
On another website that i run i have it all in swedish and they are both on the same host but they have diff IP adresses, so sadly i think this is a serverlocation-issue and nothing we can change in the code, but i have i am wrong 🙂
Yeah, I changed the headers to no avail. Slightly annoying.
I have however modified it so that it runs the price it pulls through a conversion to get the price in £,$ and €.
Could you tell me where and what you added so i can modify it even more to show SEK 🙂
To force the language to english all I did was:
// original code: “Accept-language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3\r\n” .
“Accept-language: en-us;q=0.5,en;q=0.3\r\n” .
so I removed the it-it line… I bet if you add the code for germany it would work.
I need to fix the css to allow the plugin to stretch down responsively if the title is too long.
In the new version I removed the Italian localization.
I added it by mistake during an update, copying the code from the version I use on my website.