On 13 Nov 2006, at 12:41, Malte Brill wrote:


Hi all,

I am looking for a way to reliably detect the Systemlanguage cross platform. I can not come up with an easy way to do this from within rev.

What I am using now to detect german:

set the useSystemDate to true
if "Donnerstag" is among the lines of the weekdaynames then
  -- it is german
end if

Does anyone see a problem with this? Is there an easier / more elegant way to do this?

On Mac OS X at least (but I think on Windows too) users can override the default date format. For example, on my otherwise English OS, I can select a German date format as the system date.

I don't know of another way to do this, but I bet someone can.

Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to