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 (required)
- 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 (required)
- 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):
- Testcases:
- util__replace_temporary_tags_with_lookups