Hi David,
David Bain <[EMAIL PROTECTED]> wrote:
> I want to be able to translate a folder, just to display a spanish title and
> description, in such a way that the contents of the folder are preserved.
>
> Here's the scenario:
> I have a site which supports Spanish and English
> I have a folder called "Diary" which shows up in the plone navigation as
> "Diary" (in both spanish and english). The folder contains items which have
> been translated.
>
> If I translate the folder, it creates an entirely new spanish version which
> does not include my items.
> I want to be able to simply translate the title and description so that the
> navigation bar will say "Diario" but the contents will remain the same.
> I want to be able to translate a folder, just to display a spanish title
> and description, in such a way that the contents of the folder are
> preserved.<br><br>Here's the scenario:<br>I have a site which supports
> Spanish and English<br>I have a folder called "Diary" which
> shows up in the plone navigation as "Diary" (in both spanish and
> english). The folder contains items which have been translated.
[Snip]
> Is there a work around for the moment?
Here is a rough idea without testing or looking into it in detail:
You customize the navigation and/or section with a i18n:translate tag,
e.g. (copied from viewlets/sections.pt):
<a href=""
i18n:translate=""
tal:content="tab/name"
tal:attributes="href tab/url;
title tab/description|nothing"> ...
You may also add a i18n:domain.
To be consistent you can also add a customized folder view with the same
approach for title and description. Then you add i18n files with your
translations.
Some links which may be helpful:
http://plone.org/documentation/tutorial/customizing-main-template-viewle
ts
http://plone.org/documentation/how-to/override-the-portlets-in-plone-3.0
http://plone.org/products/customizabletranslations
HTH
Kai
--
Kai Diefenbach - http://diefenba.ch
iqplusplus - http://iqpp.de
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers