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>

Partial Call Graph (max 5 caller/called nodes):
%3 test_util__replace_temporary_tags_with_lookups util__replace_temporary_tags_with_lookups (test acs-lang) lang::catalog::read_file lang::catalog::read_file test_util__replace_temporary_tags_with_lookups->lang::catalog::read_file lang::catalog::default_charset_if_unsupported lang::catalog::default_charset_if_unsupported (private) lang::catalog::read_file->lang::catalog::default_charset_if_unsupported lang::catalog::import_from_file lang::catalog::import_from_file (private) lang::catalog::import_from_file->lang::catalog::read_file lang::util::replace_temporary_tags_with_lookups lang::util::replace_temporary_tags_with_lookups (public) lang::util::replace_temporary_tags_with_lookups->lang::catalog::read_file

Testcases:
util__replace_temporary_tags_with_lookups
[ show source ]
Show another procedure: