We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents adb45f9 + d9c4c1a commit 2be91cfCopy full SHA for 2be91cf
config/geoip.php
@@ -70,6 +70,7 @@
70
'secure' => true,
71
'key' => env('IPAPI_KEY'),
72
'continent_path' => storage_path('app/continents.json'),
73
+ 'lang' => 'en',
74
],
75
76
@@ -140,4 +141,4 @@
140
141
'currency' => 'USD',
142
143
-];
144
+];
src/Services/IPApi.php
@@ -36,6 +36,7 @@ public function boot()
36
37
'query' => [
38
'fields' => 49663,
39
+ 'lang' => $this->config('lang', ['en']),
40
41
];
42
@@ -139,4 +140,4 @@ private function getContinent($code)
139
{
return Arr::get($this->continents, $code, 'Unknown');
}
-}
+}
0 commit comments