ref-language-procs.tcl

Library for managing language codes

Location:
packages/ref-language/tcl/ref-language-procs.tcl
Author:
Emmanuelle Raffenne <eraffenne@gmail.com>

Procedures in this file

Detailed information

ref_language::set_data (public)

 ref_language::set_data -label label [ -iso1 iso1 ] [ -iso2 iso2 ]

Add new ISO-639 language codes (3 chars and 2 chars) where they don't exist, update them otherwise.

Switches:
-label (required)
-iso1 (optional)
-iso2 (optional)

Testcases:
ref_language__set_data

ref_language::set_iso1 (private)

 ref_language::set_iso1 -code code -name name

Add a new ISO-639-1 language code (2 chars) if it doesn't exist, update it otherwise

Switches:
-code (required)
-name (required)

Testcases:
No testcase defined.
[ show source ]