I need to customize some messages dependent on an environment variable which 
tells me the user's current language setting. The message contains references 
to %username%, so I just needed to check whether it was set in English or not.

Sent from my Blackberry, which may be an antique but delivers email RELIABLY

-----Original Message-----
From: Patrick Salmon <[email protected]>
Date: Mon, 18 Feb 2013 09:15:44 
To: NT System Admin Issues<[email protected]>
Reply-To: "NT System Admin Issues" 
<[email protected]>Subject: Re: Languages and variables

The same. System-derived variable names are always in the Lingua Franca
[1,2,3] of the development source - in this case mostly English.

You could define country-specific variable names, ie map %NomDUtilisateur%
to %username%, but why?

Pat.

[1] http://en.wikipedia.org/wiki/Lingua_franca
[2] literal translation: Language of the Franks, aka the French.
[3] Needless to say, this annoys the French no end.... I crack me up!

On Mon, Feb 18, 2013 at 8:25 AM, James Rankin <[email protected]> wrote:

> If I have a user with the French version of Windows, would %username%
> still be called %username% on his system or would it be translated? I'm
> assuming it would stay the same - but I just need to make sure :-)
>
> Google-fu seems inadequate on this, although it might just be my search
> terms :-)
>
> Cheers,
>
>
>
> --
> *James Rankin*
> Technical Consultant (ACA, CCA, MCTS)
> http://appsensebigot.blogspot.co.uk
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to