You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "thangnguyen.Olbius" <ng...@gmail.com> on 2014/03/17 09:56:16 UTC
Discussion: How to customize messages in ofbiz?
I would like to customize messages in ofbiz in order to show clearer than
messages had used, such as error messages or information messages.
I knew we can using <fail-widgets> or Java service or fix in groovy file to
do it.
Have any other way to do it ? And what's the best solution resolve multi
language problem with messages (using XML, properties file, ...)?
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Discussion-How-to-customize-messages-in-ofbiz-tp4649370.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.
Re: Discussion: How to customize messages in ofbiz?
Posted by Rong NGUYEN KHAC <ro...@olbius.com>.
Thank Jacques alot, great man :-)
There are no other ways(in current context).
*RONG NGUYEN (Mr)*
*OLBIUS FOUNDER**Email:* rong.nguyenkhac@olbius.com | *Mobile:* (+84) 902
2468 45
*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 3333
*Address: *6th Fl., No 195, Kham Thien St., Ha Noi City, VietNam
*Website:* http://olbius.com
On Mon, Mar 24, 2014 at 12:51 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> I answered at https://issues.apache.org/jira/browse/OFBIZ-5587 to begin
> by having a look at framework/common/webcommon/includes/messages.ftl
>
> Actually it's "only" a matter of passing error messages to this point. So
> there are no other ways than improving messages content or adding/fixing
> them if they miss.
>
> Like UI labels i18n of error messages is done in *ErrorUiLabels.xml
>
> HTH
>
> Jacques
>
> Le 17/03/2014 09:56, thangnguyen.Olbius a écrit :
>
> I would like to customize messages in ofbiz in order to show clearer than
>> messages had used, such as error messages or information messages.
>> I knew we can using <fail-widgets> or Java service or fix in groovy file
>> to
>> do it.
>> Have any other way to do it ? And what's the best solution resolve multi
>> language problem with messages (using XML, properties file, ...)?
>>
>>
>>
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.
>> com/Discussion-How-to-customize-messages-in-ofbiz-tp4649370.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>>
Re: Discussion: How to customize messages in ofbiz?
Posted by Jacques Le Roux <ja...@les7arts.com>.
I answered at https://issues.apache.org/jira/browse/OFBIZ-5587 to begin by having a look at framework/common/webcommon/includes/messages.ftl
Actually it's "only" a matter of passing error messages to this point. So there are no other ways than improving messages content or adding/fixing
them if they miss.
Like UI labels i18n of error messages is done in *ErrorUiLabels.xml
HTH
Jacques
Le 17/03/2014 09:56, thangnguyen.Olbius a écrit :
> I would like to customize messages in ofbiz in order to show clearer than
> messages had used, such as error messages or information messages.
> I knew we can using <fail-widgets> or Java service or fix in groovy file to
> do it.
> Have any other way to do it ? And what's the best solution resolve multi
> language problem with messages (using XML, properties file, ...)?
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Discussion-How-to-customize-messages-in-ofbiz-tp4649370.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
Re: Discussion: How to customize messages in ofbiz?
Posted by Paul Piper <pp...@ilscipio.com>.
Hi,
could you be a bit more specific? Most messages are stored as multinational
labels. Just check for "*label*.xml" files. There is also a webtool you can
use to change labels on a running system.
Regards,
Paul
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Discussion-How-to-customize-messages-in-ofbiz-tp4649370p4649372.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.