[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Access to LANG var from Java programs?



> But, is there no more direct way of accessing the $LANG var from within the
> Java program itself?

You could try System.getProperty("user.language"), but I'm not sure how 
portable this is, or how well it relates to $LANG (my system returns "en" and 
my $LANG is not set).

Ben.

-- 

Ben Burton
benb@acm.org  |  bab@debian.org
Public Key: finger bab@db.debian.org

Alas, I am dying beyond my means. (As he sipped champagne on his deathbed)
	- Oscar Wilde




Reply to: