You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "helena (JIRA)" <ji...@apache.org> on 2005/12/20 21:13:33 UTC

[jira] Commented: (FOR-506) Do not hard-code site-visible message strings in skin files

    [ http://issues.apache.org/jira/browse/FOR-506?page=comments#action_12360960 ] 

helena commented on FOR-506:
----------------------------

The catalogue file can it support mutliple languages or
one cat file per language:
<catalogues>
<catalogue >
 <message key=""></message>
 </catalogue>
 <catalogue xml:lang="locale">
   <message key="key"></message>
 </catalogue>

I am not clear on the xml:lang="locale" attribute
 <catalogue xml:lang="locale">
   <message key="key">text <i>or</i> markup</message>
 </catalogue>
or how one might make each catalogue unique or the value of locale

the latest diff file for sitemap changes, there's no opening serialize tag,
it seems most of the entires have some funky nesting - missing opening tags/closing tags.

> Do not hard-code site-visible message strings in skin files
> -----------------------------------------------------------
>
>          Key: FOR-506
>          URL: http://issues.apache.org/jira/browse/FOR-506
>      Project: Forrest
>         Type: Improvement
>   Components: Skins (general issues)
>     Versions: 0.7
>  Environment: N/A
>     Reporter: Pedro I. Sanchez
>     Assignee: Thorsten Scherler
>     Priority: Minor
>  Attachments: frenchMessages.diff, newFrenchMessages.diff, patchI18n.diff
>
> Text strings like "Copyright", "Published", and "Search" are hardcoded into skin files like site2xhtml.xsl. When creating web sites in languages other than English the web developer is forced to create local versions of these skin files with the appropriated translations.
> Instead, the DTD for the skinconf.xml should be improved to allow these translations to be specified in this file. This would make Forrest much easier to use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira