forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Commented: (FOR-506) Do not hard-code site-visible message strings in skin files
Date Thu, 26 May 2005 16:50:55 GMT
The following comment has been added to this issue:

     Author: Ross Gardler
    Created: Thu, 26 May 2005 11:50 AM
       Body:
Can you describe what you think the problem would be with this propsed solution of extending
skinconf.xml?

For example:

<i18n lang="en">
  <token name="lastPublished" value="Last Published"/>
  <token name="copyright" value="Copyright"/>
</i18n>
<i18n lang="??">
  <token name="lastPublished" value="???????"/>
  <token name="copyright" value="???????"/>
</i18n>

This schema allows any token to be added, so customisation of skins would not be a problem.
  
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-506?page=comments#action_12431

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-506

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-506
    Summary: Do not hard-code site-visible message strings in skin files
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Forrest
 Components: 
             Skins (general issues)
   Versions:
             0.7-dev

   Assignee: 
   Reporter: Pedro I. Sanchez

    Created: Thu, 26 May 2005 10:49 AM
    Updated: Thu, 26 May 2005 11:50 AM
Environment: N/A

Description:
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.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message