Changes

Jump to navigation Jump to search

locale.name

23 bytes added, 12:43, 25 May 2011
Line 7: Line 7:  
== Syntax  ==
 
== Syntax  ==
   −
locale.'''name()'''<br> 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.  
+
locale.'''name()'''<br> 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).  
   −
E.g: en, it, nl_be, fr_be
+
For instance: en, fr, it, nl_be, fr_be
    
== Example ==
 
== Example ==

Navigation menu