Message 1 of 4
Not applicable
11-21-2008
03:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Out of curiosity I was wondering if there is an easy way to get the current culture for AutoCAD ? I basically would like to automatically translate my own application according to AutoCAD's language.
Of course I tried:
System.Threading.Thread.CurrentThread.CurrentUICulture.Name;
But it always returns "en-us" whatever version of AutoCAD is running. Is there an API method which would return the right value ?
PS: by "easy" I mean no registry key such as "ACAD-5001:409" to compare with homemade list...
Out of curiosity I was wondering if there is an easy way to get the current culture for AutoCAD ? I basically would like to automatically translate my own application according to AutoCAD's language.
Of course I tried:
System.Threading.Thread.CurrentThread.CurrentUICulture.Name;
But it always returns "en-us" whatever version of AutoCAD is running. Is there an API method which would return the right value ?
PS: by "easy" I mean no registry key such as "ACAD-5001:409" to compare with homemade list...
Solved! Go to Solution.