我从 Google Play 的应用页面收集数据,以在我自己的网站上显示。比如我的应用被下载了多少次。我还收集其他东西,这里我的问题是它没有收集英文数据,当数据显示在我的网页上时,我得到的是挪威语(我相信)。
在 Google play 它看起来像这样:4.0.3 及更高版本
在我的网页上,它看起来像这样:4.0.3 og nyere
我收集这样的数据(甚至从以“=en”结尾的域收集):
$(document).ready(function() {
var QNFcontentSystems = 'https://play.google.com/store/apps/details?id=myapp&hl=en .content[itemprop="operatingSystems"]';
$('.QNFappSystems').load('grab.php?url='+ QNFcontentSystems);
$("html").attr("lang","en");
});
影响我页面语言的 HTML 内容
<!doctype html>
<html lang="en">
<meta http-equiv="Content-Language" content="en">