Re: [i18n] again...

2005-07-07 Thread Pedro I. Sanchez
On Thu, 2005-07-07 at 13:54 +0200, Cyriaque Dupoirieux wrote: Hi, I'm really sorry to ask the question but I cannot retrieve the answer in the archive. How can I change the language of the static site using i18n ? I tried to set -Duser.language=fr in the ant call, and it's Ok

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

2005-06-09 Thread Pedro I. Sanchez
On Thu, 2005-09-06 at 12:56 +0200, Juan Jose Pablos wrote: Pedro I. Sanchez wrote: The string $(env.LANG} works well inside main/forrest.build.xml. It was the default before you made changes to the trunk. But the same string is ignored when you use it inside webapp/sitemap.xmap (skin labels

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

2005-06-08 Thread Pedro I. Sanchez
On Wed, 2005-01-06 at 12:02 +0200, Juan Jose Pablos wrote: Pedro I. Sanchez wrote: Anyway, first I verified that setting value=es_ES in main/webapp/sitemap.xmap indeed works. It brings the Spanish strings from the right catalogue. I also verified that value=${env.LANG} does *not* work

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

2005-06-06 Thread Pedro I. Sanchez
On Sun, 2005-05-06 at 14:04 +0200, Thorsten Scherler wrote: This is key for me. If I cannot specify the language when I run forrest to build my site then this is not a good solution. I guess the other option would be to hard-code value=es_ES in the above. At least this would be just one

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

2005-06-04 Thread Pedro I. Sanchez
On Sat, 2005-04-06 at 06:06 +0200, Thorsten Scherler (JIRA) wrote: [ http://issues.apache.org/jira/browse/FOR-506?page=comments#action_12312612 ] Thorsten Scherler commented on FOR-506: --- The patch enables i18n support for forrest. Mainly it is

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

2005-06-04 Thread Pedro I. Sanchez
On Sat, 2005-04-06 at 23:49 +0200, Thorsten Scherler wrote: On Sat, 2005-06-04 at 21:36 +0100, Ross Gardler wrote: Pedro I. Sanchez wrote: On Sat, 2005-04-06 at 06:06 +0200, Thorsten Scherler (JIRA) wrote: [ http://issues.apache.org/jira/browse/FOR-506?page=comments

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

2005-06-04 Thread Pedro I. Sanchez
On Sun, 2005-05-06 at 04:19 +0200, Thorsten Scherler wrote: On Sat, 2005-06-04 at 20:55 -0400, Pedro I. Sanchez wrote: snip/ My version of the Spanish messages would be the following: catalogue message key=Font size:TamaƱo del texto:/message message key=Last Published:Fecha de

Re: How to avoid hard-coding site-visible message strings in skin files

2005-06-03 Thread Pedro I. Sanchez
On Thu, 2005-02-06 at 19:30 +0200, Thorsten Scherler wrote: Hola Pedro, I can understand that i18n scares you a bit but I reckon it is the simplest solution. If you are willing to finish my job I will start it for the old fashion skins with the setup of sitemap, *one/two* props and you

Re: How to avoid hard-coding site-visible message strings in skin files

2005-06-02 Thread Pedro I. Sanchez
On Thu, 2005-02-06 at 10:34 +0100, Ross Gardler wrote: Pedro I. Sanchez wrote: Hello, A few days ago I added issue FOR-506 on this topic. This is my original message: Text strings like Copyright, Published, and Search are hardcoded into skin files like site2xhtml.xsl. When

How to avoid hard-coding site-visible message strings in skin files

2005-06-01 Thread Pedro I. Sanchez
Hello, A few days ago I added issue FOR-506 on this topic. This is my original message: 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