在gsp页面中增加以下代码

    ## --------------  ${dc.logicalPropertyName} -----------------------
    
        <%            def propLabel = dc.logicalPropertyName + "." + f.name + ".label"            def propI18n = message(message: propLabel)        %>        
            <%                def domainLabel = dc.logicalPropertyName + ".label"                def domainI18n = message(message: domainLabel)            %>            ${domainLabel}=${domainI18n.equals(domainLabel) ? '' : domainI18n}
                
            ${propLabel}=${propI18n.equals(propLabel) ? '' : propI18n}
                

会列出所有的字段,以及i18n对比