Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Intraweb - User Language

Posted on 2010-11-17
6
Medium Priority
?
889 Views
Last Modified: 2013-11-23
Currently using this to get user's browser info...

GetEnumName(TypeInfo(TIWBrowser),Ord(WebApplication.Browser)

Is there a way to retrieve the OS language or the browser's language ?
0
Comment
Question by:controlr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 7

Accepted Solution

by:
ebob42 earned 1000 total points
ID: 34157971
You can check the Request.UserAgent as far as I remember.
0
 
LVL 7

Expert Comment

by:ebob42
ID: 34158139
That's   WebApplication.Request.UserAgent by the way.
0
 

Author Comment

by:controlr
ID: 34158259
user agent returns almost everyting and the kitchen sink! .. but no LANG :(

Eg..
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; InfoPath.3)

The closest I can get is making a call to an IP-lookup service - but no guarantee of user lang.. its the lang of the country of the IP...
0
 

Author Comment

by:controlr
ID: 34343464
NOTE for others (from question author) !
The useragent does indeed return country + language.. most of the time :)
After weeks of testing, it seems that it only registers about 80% of .
Some OS builds (mostly Windows) seem to have an issue returning the Country/Locale
From our testing, one of the suspected issues is when users have multiple languages installed , but again, no guarantees!.
eBob gets the points althuogh it was a no brainer ;)
0
 

Author Closing Comment

by:controlr
ID: 34343490
see my comment at end of thread :)
Still love that shopping reset joke on the other thread !
Cheers!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question