lang::catalog::export_to_file (private)

 lang::catalog::export_to_file [ -descriptions_list descriptions_list ] \
    file_path messages_list

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

Export messages for a certain locale and package from the database to a given XML catalog file. If the catalog file already exists it will be backed up to a file with the same name but the extension .orig added to it. If there is an old backup file no new backup is done.

Switches:
-descriptions_list
(optional)
Parameters:
file_path - The path of the catalog file to write messages to. The filename needs to be parseable by apm_parse_catalog_path. The file and the catalog directory will be created if they don't exist.
messages_list - A list with message keys on even indices followed by corresponding messages on odd indices.
Author:
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::export_to_file lang::catalog::export_to_file test_util__replace_temporary_tags_with_lookups->lang::catalog::export_to_file apm_parse_catalog_path apm_parse_catalog_path (public) lang::catalog::export_to_file->apm_parse_catalog_path lang::catalog::default_charset_if_unsupported lang::catalog::default_charset_if_unsupported (private) lang::catalog::export_to_file->lang::catalog::default_charset_if_unsupported lang::catalog::get_catalog_files lang::catalog::get_catalog_files (private) lang::catalog::export_to_file->lang::catalog::get_catalog_files lang::catalog::package_catalog_dir lang::catalog::package_catalog_dir (public) lang::catalog::export_to_file->lang::catalog::package_catalog_dir lang::catalog::export lang::catalog::export (public) lang::catalog::export->lang::catalog::export_to_file lang::test::execute_upgrade lang::test::execute_upgrade (private) lang::test::execute_upgrade->lang::catalog::export_to_file

Testcases:
util__replace_temporary_tags_with_lookups
[ show source ]
Show another procedure: