Difference between revisions of "LanguageSpecification"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(New page: ==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><cou...)
 
m
Line 7: Line 7:
 
* 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
  
Some examples:
+
For example:
* English: en
+
* English is represented by <tt>en</tt>
* Italian: it
+
* Italian is represented by <tt>it</tt>
* Spanish: es
+
* Spanish is represented by <tt>es</tt>
* Portuguese: pt
+
* Portuguese is represented by <tt>pt</tt>
* Brazilian: pt_BR
+
* Brazilian is represented by <tt>pt_BR</tt>

Revision as of 07:44, 27 April 2011

Language Specification

LogicalDOC can handle a wide set of different languages and variants. A language specifications 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