Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (40 sloc) 1.22 KB
__NAME__ purpose
specify directory containing catalog pages
__NAME__ synopsis
<arg choice='plain'><replaceable>directory_name</replaceable></arg>
__NAME__ description
Specify the directory containing &glos-catalog; pages. The default for this
directive is <literal>pages</literal>.
Speaking of &glos-internationalization;, it can be useful to set this
directive to
different values, depending on current &glos-locale;.
__NAME__ notes
The specified location is always treated relative to &glos-CATROOT;.
__NAME__ example: Setting PageDir
PageDir html
__NAME__ example: Setting PageDir depending on current locale
To use a different page directory for different locales, say French and
English, help yourself with the robust &conf-Locale; directive:
# Establish the default at startup
PageDir english
# Establish locale-dependent directories
Locale fr_FR PageDir francais
Locale en_US PageDir english
To fully understand the example and implicitly presented &IC; features, make
sure you're familiar with &glos-internationalization; and &glos-locale;
__NAME__ see also