Cableguy Expert Licensed User Longtime User Nov 7, 2016 #1 Hi guys, I guess the title says it all! How to detect the browser language? A simple example would be great!
Hi guys, I guess the title says it all! How to detect the browser language? A simple example would be great!
M mindful Active Member Licensed User Nov 7, 2016 #2 I am not at the pc anymore but you can check the DemoDynamic example provided with the ABMaterial. See in ABMApplication in WebSocket_Connected. I will post an example when I get to the pc if still needed. Upvote 0
I am not at the pc anymore but you can check the DemoDynamic example provided with the ABMaterial. See in ABMApplication in WebSocket_Connected. I will post an example when I get to the pc if still needed.
M mindful Active Member Licensed User Nov 7, 2016 #3 Cableguy said: Hi guys, I guess the title says it all! How to detect the browser language? A simple example would be great! Click to expand... Here is the code from the DemoDynamic: B4X: Dim ActiveFoundLanguage As String = AppPage.DetectLanguage(ws.UpgradeRequest.GetHeader("Accept-Language")) Log("Users browser language: " & ActiveFoundLanguage) Upvote 0
Cableguy said: Hi guys, I guess the title says it all! How to detect the browser language? A simple example would be great! Click to expand... Here is the code from the DemoDynamic: B4X: Dim ActiveFoundLanguage As String = AppPage.DetectLanguage(ws.UpgradeRequest.GetHeader("Accept-Language")) Log("Users browser language: " & ActiveFoundLanguage)