[email protected] wrote:
I have installed Nuxe 5.2RC1.
By default the language is spanish, so for TinyMCE I have downloaded the language pack for "es" and included folders and files in
nuxeo.war\tiny_mce\
However when Nuxeo starts the tiny editor still show the labels eg
"{$lang_theme_block}"
I notice that those files copied to nuxeo.war are deleted when Nuxeo starts.
Every time nuxeo (jboss) is running nuxeo.war is overridden. TinyMCE
files are placed in nuxeo-platform-ui-web, so you have 2 options.
To put your new files in this bundle and redeploy it to nuxeo.ear. The
other option is to place new files somewhere in your project and to
modify your deployment-fragment.xml file, like this:
<unzip from="${bundle.fileName}" to="/">
<include>nuxeo.war/**</include>
</unzip>
If you place your language pack in
your_project/src/main/resources/nuxeo.war/tiny_mce/langs all the files
should be copied every time nuxeo is restarted.
Is it an additional configuration that I should do to register new languages
for TinyMCE ?
As I know there is no extension point for this.
Regards,
Stefan
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm