lang::catalog::export (public)

 lang::catalog::export [ -package_key package_key ] \
    [ -locales locales ]

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

Exports I18N messages from the database to XML catalog files. By default exports messages for all enabled packages and all enabled locales on the system. Can be restricted to export only for a certain package and/or a list of locales.

Switches:
-package_key (optional)
A key of a package to restrict the export to
-locales (optional)
A list of locales to restrict the export to
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_catalog_import_export test_catalog_import_export (test acs-lang) lang::catalog::export lang::catalog::export test_test_catalog_import_export->lang::catalog::export apm_enabled_packages apm_enabled_packages (public) lang::catalog::export->apm_enabled_packages db_dml db_dml (public) lang::catalog::export->db_dml db_foreach db_foreach (public) lang::catalog::export->db_foreach lang::catalog::all_messages_for_package_and_locale lang::catalog::all_messages_for_package_and_locale (private) lang::catalog::export->lang::catalog::all_messages_for_package_and_locale lang::catalog::export_to_file lang::catalog::export_to_file (private) lang::catalog::export->lang::catalog::export_to_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::export packages/acs-admin/www/apm/version-i18n-export.tcl packages/acs-admin/ www/apm/version-i18n-export.tcl packages/acs-admin/www/apm/version-i18n-export.tcl->lang::catalog::export packages/acs-lang/www/admin/export-locale-to-files.tcl packages/acs-lang/ www/admin/export-locale-to-files.tcl packages/acs-lang/www/admin/export-locale-to-files.tcl->lang::catalog::export packages/acs-lang/www/admin/export-messages.tcl packages/acs-lang/ www/admin/export-messages.tcl packages/acs-lang/www/admin/export-messages.tcl->lang::catalog::export

Testcases:
test_catalog_import_export
[ show source ]
Show another procedure: