On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On 1/27/06, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote:
> > Jörn Nettingsmeier wrote:
> > the issue has been solved.
> > my english resource catalog was called cmsui_en.xml. as it turns out, it
> > is assumed to be in the file cmsui.xml, even if english is not the
> > default language of the publication. changing the filename fixed the
> > problem for me. maybe i'm overlooking some subtleties, but iiuc this
> > behaviour is counter-intuitive and needs to be changed.
>
> FYI:
> You can use cmsui.xml or cmsui_en.xml, but you must be consistent.  If
> Lenya sees cmsui.xml with the desired language specifier, it will not
> look for cmsui_xx.xml for that language.  This is documented (poorly?)
> at:
> http://solprovider.com/lenya/i18nfiles
>
> I prefer the language extension in all filenames.

Forgot to mention:
cmsui.xml is used when the language specified does not exist.  It
would be used for:
      <map:transform type="i18n">
          <map:parameter name="locale" value="xx"/>
      </map:transform>
if cmsui_xx.xml does not exist.

This is useful if you pass the browser's language directly to i18n.

This does not affect my publications because they only use the
browser's language to set the visitor's initial language (with
OTHERWISE use the default language), then use the visitor's choice for
everything else.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to