lang::catalog::read_file (private)

 lang::catalog::read_file catalog_filename

Defined in packages/acs-lang/tcl/lang-catalog-procs.tcl

Returns the contents of the given catalog file as a string reading the file with the charset given in the filename.

Parameters:
catalog_filename (required)
The full path of the catalog file to read. The basename of the file should be on the form package_key.locale.charset.ending where ending is either cat or xml (i.e. dotlrn.en_US.iso-8859-1.xml or dotlrn.en_US.iso-8859-1.cat). The cat ending is for the deprecated tcl-based catalog files.
Authors:
Jeff Davis
Peter Marklund <peter@collaboraid.biz>

Testcases:
util__replace_temporary_tags_with_lookups
[ show source ]
Show another procedure: