lang::catalog::package_has_files_in_locale_p (private)

 lang::catalog::package_has_files_in_locale_p package_key locale

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

Return 1 if the given package has any catalog files for the given locale and 0 otherwise.

Parameters:
package_key (required)
locale (required)
Author:
Peter Marklund

Testcases:
lang_package_has_files_in_locale_p
Source code:
    set locale_files [glob -nocomplain --  [package_catalog_dir $package_key]/$package_key.${locale}.*]

    return [expr {[llength $locale_files] > 0}]
Generic XQL file:
packages/acs-lang/tcl/lang-catalog-procs.xql

PostgreSQL XQL file:
packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql

Oracle XQL file:
packages/acs-lang/tcl/lang-catalog-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: