Changes

Jump to navigation Jump to search

locale.name

17 bytes added, 07:28, 6 August 2011
no edit summary
Line 1: Line 1:  
locale.'''name'''&nbsp;is a function that is part of the Locale Library. <br />
 
locale.'''name'''&nbsp;is a function that is part of the Locale Library. <br />
   −
This returns the name of the current local. It normally returns a two-letter language code, but in some cases it also contains a two-letter country code (ISO-639).  
+
This returns the name of the current locale. It normally returns a two-letter language code, but in some cases it also contains a two-letter country code (ISO-639).  
    
For instance: en, fr, it, de, es, nl, nl_BE, en_GB
 
For instance: en, fr, it, de, es, nl, nl_BE, en_GB
Line 7: Line 7:  
== Syntax  ==
 
== Syntax  ==
   −
locale.'''name()'''<br>
+
locale.'''name'''()<br>
 +
 
 +
(No arguments)
    
== Example ==
 
== Example ==

Navigation menu