On 1/25/06, Joern Nettingsmeier <[EMAIL PROTECTED]> wrote:
> i have added a couple of <i18n:text key="something"/> tags to my
> page2xhtml.xsl and created a directory <mypub>/lenya/resources/i18n
> which contains the two files cmsui_de.xml and cmsui_en.xml.
>
> my publication.xconf defines the languages "de" (as default) and "en".
> on my page2xhtml.xsl, i use a link href="{$root}{$document-id}_en.html"
> to switch to english.
>
> if i view index.html or index_de.html, all i18n keys are duly
> translated. in index_en.html however, all keys show as "untranslated".
>
> have i forgotten anything?
> solprovider's excellent i18n docs mention changes to xmaps
> (http://solprovider.com/lenya/languagechoice), but since i get
> "untranslated" when switching to english, my guess is that the language
> is changed, but the catalogue file is not found. can anyone explain?Did you restart Lenya? The translation files are cached, and it may not have noticed your additions. Is this MSWindows? If you used Notepad, MSWindows likes to add the ".txt" extension, and is very good at hiding it. Lenya looks for "cmsui_en.xml", but the file is "cmsui_en.xml.txt". solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
