Difference between revisions of "LanguageSpecification"

From LogicalDOC Community Wiki
Jump to navigationJump to search
m
(Language Specification)
 
Line 1: Line 1:
 
==Language Specification==
 
==Language Specification==
  
LogicalDOC can handle a wide set of different languages and variants. A language specifications is a string that follows this format: <b><language></b>(_<b><country></b>)?
+
LogicalDOC can handle a wide set of different languages and variants. A language specification is a string that follows this format: <b><language></b>(_<b><country></b>)?
  
* The language argument is a valid ISO Language Code. These codes are the lower-case, two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as: http://www.loc.gov/standards/iso639-2/englangn.html
+
* The language part(mandatory) is a valid ISO Language Code. These codes are the lower-case, two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as: http://www.loc.gov/standards/iso639-2/englangn.html
  
 
* The country part(optional) is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html
 
* The country part(optional) is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

Latest revision as of 07:48, 27 April 2011

Language Specification

LogicalDOC can handle a wide set of different languages and variants. A language specification is a string that follows this format: <language>(_<country>)?

For example:

  • English is represented by en
  • Italian is represented by it
  • Spanish is represented by es
  • Portuguese is represented by pt
  • Brazilian is represented by pt_BR