You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by cleverpig <gr...@gmail.com> on 2009/09/23 17:09:59 UTC

T5:tapestry should add a package-level localization feature

just like struts2 had done in
Localization:http://struts.apache.org/2.1.6/docs/localization.html

-- 
cleverpig(Dan)
Location: Beijing
Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China
Zipcode: 100031
MSN: great_liudan@hotmail.com
QQ: 149291732
Skype: cleverpigatmatrix
Facebook ID:cleverpig
Blog: www.cleverpig.name
Tags: del.icio.us/cleverpig
Twitter: twitter.com/cleverpig
新浪微博: t.sina.com.cn/cleverpig
Organization: www.beijing-open-party.org
Organ@Facebook: http://www.facebook.com/group.php?gid=8159558294

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5:tapestry should add a package-level localization feature

Posted by cleverpig <gr...@gmail.com>.
hi,all!

the issue i created,here:https://issues.apache.org/jira/browse/TAP5-854

On Thu, Sep 24, 2009 at 9:02 AM, cleverpig <gr...@gmail.com> wrote:
> hi,all!
>
> thanks for your suggestion from experience!
>
> I mean when i develope some page class in the same package,i always
> meet some same resource message defines for CRUD pages of one POJO..
> so i think it's effectual under this dev habit:create a package level
> property file for this package(pages)..
>
> On Thu, Sep 24, 2009 at 2:11 AM, Alfonso Quiroga <al...@gmail.com> wrote:
>> I used struts2 for 2 years aprox, and always used i18n, putting all
>> i18n in the ROOT app package, I can't imagine a situation using
>> diferentent files for the same language (say spanish) in diferent
>> packages. And if you do it, it's danger because you must know what
>> happens in hierarchy. Let's see, If you have a properties.es in root
>> with a key, and then you override that key in a child-properties, it's
>> not a happy context. Now we don't have that problem ;)
>>
>> On Wed, Sep 23, 2009 at 12:14 PM, Thiago H. de Paula Figueiredo
>> <th...@gmail.com> wrote:
>>> Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig <gr...@gmail.com>
>>> escreveu:
>>>
>>>> just like struts2 had done in
>>>> Localization:http://struts.apache.org/2.1.6/docs/localization.html
>>>
>>> You can file a JIRA for that. I never missed this feature.
>>>
>>> --
>>> Thiago H. de Paula Figueiredo
>>> Independent Java consultant, developer, and instructor
>>> http://www.arsmachina.com.br/thiago
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> --
> cleverpig(Dan)
> Location: Beijing
> Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China
> Zipcode: 100031
> MSN: great_liudan@hotmail.com
> QQ: 149291732
> Skype: cleverpigatmatrix
> Facebook ID:cleverpig
> Blog: www.cleverpig.name
> Tags: del.icio.us/cleverpig
> Twitter: twitter.com/cleverpig
> 新浪微博: t.sina.com.cn/cleverpig
> Organization: www.beijing-open-party.org
> Organ@Facebook: http://www.facebook.com/group.php?gid=8159558294
>



-- 
cleverpig(Dan)
Location: Beijing
Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China
Zipcode: 100031
MSN: great_liudan@hotmail.com
QQ: 149291732
Skype: cleverpigatmatrix
Facebook ID:cleverpig
Blog: www.cleverpig.name
Tags: del.icio.us/cleverpig
Twitter: twitter.com/cleverpig
新浪微博: t.sina.com.cn/cleverpig
Organization: www.beijing-open-party.org
Organ@Facebook: http://www.facebook.com/group.php?gid=8159558294

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5:tapestry should add a package-level localization feature

Posted by cleverpig <gr...@gmail.com>.
hi,all!

thanks for your suggestion from experience!

I mean when i develope some page class in the same package,i always
meet some same resource message defines for CRUD pages of one POJO..
so i think it's effectual under this dev habit:create a package level
property file for this package(pages)..

On Thu, Sep 24, 2009 at 2:11 AM, Alfonso Quiroga <al...@gmail.com> wrote:
> I used struts2 for 2 years aprox, and always used i18n, putting all
> i18n in the ROOT app package, I can't imagine a situation using
> diferentent files for the same language (say spanish) in diferent
> packages. And if you do it, it's danger because you must know what
> happens in hierarchy. Let's see, If you have a properties.es in root
> with a key, and then you override that key in a child-properties, it's
> not a happy context. Now we don't have that problem ;)
>
> On Wed, Sep 23, 2009 at 12:14 PM, Thiago H. de Paula Figueiredo
> <th...@gmail.com> wrote:
>> Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig <gr...@gmail.com>
>> escreveu:
>>
>>> just like struts2 had done in
>>> Localization:http://struts.apache.org/2.1.6/docs/localization.html
>>
>> You can file a JIRA for that. I never missed this feature.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java consultant, developer, and instructor
>> http://www.arsmachina.com.br/thiago
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
cleverpig(Dan)
Location: Beijing
Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China
Zipcode: 100031
MSN: great_liudan@hotmail.com
QQ: 149291732
Skype: cleverpigatmatrix
Facebook ID:cleverpig
Blog: www.cleverpig.name
Tags: del.icio.us/cleverpig
Twitter: twitter.com/cleverpig
新浪微博: t.sina.com.cn/cleverpig
Organization: www.beijing-open-party.org
Organ@Facebook: http://www.facebook.com/group.php?gid=8159558294

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5:tapestry should add a package-level localization feature

Posted by Alfonso Quiroga <al...@gmail.com>.
I used struts2 for 2 years aprox, and always used i18n, putting all
i18n in the ROOT app package, I can't imagine a situation using
diferentent files for the same language (say spanish) in diferent
packages. And if you do it, it's danger because you must know what
happens in hierarchy. Let's see, If you have a properties.es in root
with a key, and then you override that key in a child-properties, it's
not a happy context. Now we don't have that problem ;)

On Wed, Sep 23, 2009 at 12:14 PM, Thiago H. de Paula Figueiredo
<th...@gmail.com> wrote:
> Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig <gr...@gmail.com>
> escreveu:
>
>> just like struts2 had done in
>> Localization:http://struts.apache.org/2.1.6/docs/localization.html
>
> You can file a JIRA for that. I never missed this feature.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5:tapestry should add a package-level localization feature

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig <gr...@gmail.com>  
escreveu:

> just like struts2 had done in
> Localization:http://struts.apache.org/2.1.6/docs/localization.html

You can file a JIRA for that. I never missed this feature.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org