You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2005/06/04 06:06:43 UTC

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

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

Thorsten Scherler updated FOR-506:
----------------------------------

    Attachment: patchI18n.diff

the previous mentioned patch

> 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-dev
>  Environment: N/A
>     Reporter: Pedro I. Sanchez
>     Assignee: Thorsten Scherler
>     Priority: Minor
>  Attachments: 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


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

Posted by Thorsten Scherler <th...@apache.org>.
On Sat, 2005-06-04 at 09:31 +0100, Ross Gardler wrote:
> Thorsten Scherler wrote:
> > On Sat, 2005-06-04 at 06:06 +0200, Thorsten Scherler (JIRA) wrote:
> > 
> >>     [ http://issues.apache.org/jira/browse/FOR-506?page=all ]
> >>
> >>Thorsten Scherler updated FOR-506:
> >>----------------------------------
> >>
> >>    Attachment: patchI18n.diff
> >>
> >>the previous mentioned patch
> > 
> > 
> > I guess I just should apply this patch to trunk to make it easier to
> > make a patch out of trunk.
> > 
> > WDYT?
> 
> +1
> 
> It's illustrates to us all how to do i18n, being an English speaker I am 
> ashamed to say I never "bothered" to learn the i18n stuff. I bet I am 
> not alone.
> 

lol I can understand you. ...but it is dead simple. :)

> I'll write a FAQ too, call it punishment - lazy English speakers must 
> write i18n docs ;-).
> 

I have seen it. Maybe Cheche can comment on it because he did i18n
support for pages as well.

> Ross

I will prepare another example how to i18n @attributes and add it to the
issue tracker.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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

Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> On Sat, 2005-06-04 at 06:06 +0200, Thorsten Scherler (JIRA) wrote:
> 
>>     [ http://issues.apache.org/jira/browse/FOR-506?page=all ]
>>
>>Thorsten Scherler updated FOR-506:
>>----------------------------------
>>
>>    Attachment: patchI18n.diff
>>
>>the previous mentioned patch
> 
> 
> I guess I just should apply this patch to trunk to make it easier to
> make a patch out of trunk.
> 
> WDYT?

+1

It's illustrates to us all how to do i18n, being an English speaker I am 
ashamed to say I never "bothered" to learn the i18n stuff. I bet I am 
not alone.

I'll write a FAQ too, call it punishment - lazy English speakers must 
write i18n docs ;-).

Ross

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

Posted by Thorsten Scherler <th...@apache.org>.
On Sat, 2005-06-04 at 06:06 +0200, Thorsten Scherler (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/FOR-506?page=all ]
> 
> Thorsten Scherler updated FOR-506:
> ----------------------------------
> 
>     Attachment: patchI18n.diff
> 
> the previous mentioned patch

I guess I just should apply this patch to trunk to make it easier to
make a patch out of trunk.

WDYT?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)