apm_parse_catalog_path (public)

 apm_parse_catalog_path file_path

Defined in packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl

Given the path of a file attempt to extract package_key, prefix, charset and locale information from the path assuming the path is on valid format for a message catalog file. If the parsing fails then the file is not considered a catalog file and the empty list is returned.

Parameters:
file_path (required)
Path of file, relative to the OpenACS /packages dir, one of its parent directories, or absolute path.
Author:
Peter Marklund

Testcases:
apm_parse_catalog_path
[ show source ]
Show another procedure: