Hi,

I have two publications A and B where B (child) is a template publication of A
(parent). I want to change the default language and the display order in the
languageselector of publication B.
There seems no official way to do this in the GUI (at least I didn't find it).
Is it correct to do this directly in publication.xml?

publication.xml of publication A:
  ...
  <languages>
    <language default="true">de</language>
    <language>en</language>
    <language>fr</language>
    <language>it</language>
  </languages>
  ...

publication.xml of publication B:
  ...
  <languages>
    <language default="true">fr</language>
    <language>de</language>
    <language>it</language>
    <language>en</language>
  </languages>
  ...

The combination of the above configurations creates three problems:

- The sort order of the languageselector in Publication B is the same as in A.
  Probably the languageselector always uses an alphabetical sort order?

- The links of the languageselector are broken
  - Publication A (working):
    deutsch:  (default)
    français: http://<domain>/index_fr.html
    italiano: http://<domain>/index_it.html
  - Publication B (not working):
    deutsch:  http://<domain>/.html
    français: (default)
    italiano: http://<domain>/_it.html
  It seems like the default language of A would somehow be used to generate
  the URLs in B.

- All image links are broken in B, although they look exactly the same in A
  and B.


Am I overlooking something? Did someone else already experience this problem
(and has a solution)? Or is this a bug?

Thanks and best regards
Markus Angst

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org

Reply via email to