[ 
https://issues.apache.org/jira/browse/OFBIZ-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545521
 ] 

David E. Jones commented on OFBIZ-1425:
---------------------------------------

Adrian (and all),

In XML there are standard ways of doing this, namely using the xml:lang 
attribute on an element to specify the language of the content in an element.

The best way to do this is probably to allow multiple "description" elements 
and in the parsing code grab them along with the language and keep a Map of 
them or something. Some utility code may make sense here so that this same 
pattern can be used in other places more easily.

> Improve the ModelField.getDescription method
> --------------------------------------------
>
>                 Key: OFBIZ-1425
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1425
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: example.patch, modelfield.patch
>
>
> Based upon discussion on the dev mailing list and in the OFBIZ-1387 issue, 
> modify the ModelField.getDescription method so it uses a more comprehensive 
> way to resolve a field description.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to