Hello! Have look at other deployment-fragment.xml-s, like: https://svn.nuxeo.org/trac/nuxeo/browser/nuxeo-addons/nuxeo-platform-dynsearch/trunk/nuxeo-platform-dynsearch-web/src/main/resources/OSGI-INF/deployment-fragment.xml?rev=31983
<https://svn.nuxeo.org/trac/nuxeo/browser/nuxeo-addons/nuxeo-platform-dynsearch/trunk/nuxeo-platform-dynsearch-web/src/main/resources/OSGI-INF/deployment-fragment.xml?rev=31983>there is line with command to append your language file to this file that is used by nuxeo: <append from="${bundle.fileName}.tmp/OSGI-INF/l10n/messages_es.properties" to="nuxeo.war/WEB-INF/classes/messages_es.properties" addNewLine="true" /> Hope this works! On Mon, Nov 23, 2009 at 11:20 PM, Jesus Ibañez Calvo <[email protected] > wrote: > Hello everybody!! > > I want to add my own language file to complement the spanish translation, i > have made my own contribution in a jar file to overwrite the > messages_es.properties but nothing happen, my files looks as follow: > > MANIFEST.MF: > > Manifest-Version: 1.0 > Bundle-ManifestVersion: 1 > Bundle-Name: d5ecm project > Bundle-SymbolicName: org.nuxeo.book.upcoming;singleton:=true > Bundle-Version: 0.0.1 > Bundle-Vendor: d5ecm > Nuxeo-Require: org.nuxeo.ecm.core, org.nuxeo.ecm.core.schema, > org.nuxeo.ecm.webapp.core, org.nuxeo.ecm.platform.lang > > > deployment-fragment.xml: > > <?xml version="1.0"?> > <fragment> > <extension target="application#MODULE"> > <module> > <java>${bundle.fileName}</java> > </module> > </extension> > > <install> > <!-- Unzip the contents of our nuxeo.war into the server --> > <unzip from="${bundle.fileName}" to="/"> > <include>nuxeo.war/**</include> > </unzip> > </install> > </fragment> > > and my messages_es.properties file is placed in > "src/main/java/resources/nuxeo.war/WEB-INF/classes/" > > Could someone help me on this pls.? > > Thks. in advanced. > > -- > Jesus > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm > >
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
