public String getI18nXmlString ( ) { Format format = Format . getPrettyFormat ( ) ; XMLOutputter outputter = new XMLOutputter ( format ) ; return outputter . outputString ( buildI18nXml ( ) ) ; }
Build i18n resource XML in Sling i18n Message format .