Wrong language used
Hi Fabian,
Korvin told me that PortlandLabs is using your package to display the cookie agreement.
I noticed that it's using a wrong language for me. The message is in Estonian when browsing from 151.0.155.178, and Hungarian when browsing from 87.1.77.135, but both IP addresses are located in Italy...
Ciao! Michele
Comments (6)
-
repo owner -
reporter the language is not depending on the IP address. If auto detection mode is enabled (default) the language is depending of the preferred language settings from the browser (HTTP_ACCEPT_LANGUAGE). Otherwise it is possible to set the language manually.
Are you sure this is working? I don't think that PortlandLabs forced Hungarian or Estonian, and for sure I don't have those two languages in my browsers...
If PortlandLabs need GEO targeted language detection i could implement this in the next release. A GEO database by Maxmind is already part of the package.
I absolutely don't know. And please note that since version 8.3.0 concrete5 already implements geolocation features.
-
repo owner If you don't have this languages in your browsers there seems to bet a bug in the logic. I will check this and i will implement language detection by GEO in the next release. I know that since version 8.3.0 this is already part of the core but the add-on is downward compatible to 5.7.0.4.
-
repo owner Hello, i have released a new version (v. 1.0.1.4). In this version is a new language detection method by IP Address.
-
repo owner - changed status to resolved
Fixed in v. 1.0.1.4
-
Hallo Fabian - ich habe vor kurzem ein Paket mit 5 Lizenzen gekauft. Wie kann ich die auf die neue Version updaten? Mein deutschsprachiger Kunde stört sich sehr daran, dass auf dem Mobiltelefon die englische Version angezeigt wird.
- Log in to comment
Hi Michele,
the language is not depending on the IP address. If auto detection mode is enabled (default) the language is depending of the preferred language settings from the browser (HTTP_ACCEPT_LANGUAGE). Otherwise it is possible to set the language manually.
If PortlandLabs need GEO targeted language detection i could implement this in the next release. A GEO database by Maxmind is already part of the package.
Fabian