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 19:48:55 GMT
The following comment has been added to this issue:

     Author: Ross Gardler
    Created: Thu, 26 May 2005 2:48 PM
       Body:
My question was to it was to Cyriaque who said your proposal was not sufficient. I was asking
why and adding details to the proposal.

But since you ask for more info here we go (if this becomes a desgn discussion we should move
it to the dev list and then place a summary here).

"a) How do you enable the <i18n ..> </i18n> thing to work? I just put your code
in my web site and Forrest complains with..."

My example is intended to be a suggestion for how the DTD could be extended to support what
you are requesting. It doesn't exist yet.

"b) lang="en", what does it mean?"

Forrest has some "in development" i18n features, this would be one of them. I'm not sure exactly
how it works, but somehow Forrest must be told which language to server. This value would
be used in the skinning process in order to select the correct language tokens.

"2. What about the non-tokenized strings like "Search"?"

Currently none of the strings are tokenised. If we adopt this solution then we will need to
tokenise them all. This is open source - can you help us since this is your itch?

If you want to tackle this discuss it with us on the dev list, we can help by pointing you
in the right direction. Otherwise you'll have to wait until a dev finds the time and inclination
to implement this, or another solution.
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-506?page=comments#action_12434

---------------------------------------------------------------------
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 2:48 PM
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