Hi Anders,
Yes this is the example I tried to follow. The message and properties files are respectively in src\main\resources\messages and src\main\resources\properties. The properties file is read, as the options are proposed when I choose this binder. But they are not translated, and show up with @@.
This is the beginning of the property file:
[
{
title : '@@org.joget.clipper.JOdbcStoreBinder.config@@',
properties :
[
{
name : 'jdbcDatasource',
label : '@@org.joget.clipper.JOdbcStoreDriver.datasource@@',
type : 'selectbox',
options :
[
{
value : 'custom',
label : '@@form.JOdbcStoreDriver.customDatasource@@'
},
{
value : 'default',
label : '@@form.JOdbcStoreDriver.defaultDatasource@@'
}
], ...
And this is the corresponding message file:
org.joget.clipper.JOdbcStoreBinder.pluginLabel=JODBC Binder (Vincent BAZINET)
org.joget.clipper.JOdbcStoreBinder.pluginDesc=Used to store form data using ODBC driver. Your datasource needs to be installed in ODBC driver manager.
org.joget.clipper.JOdbcStoreBinder.config=Configure JODBC Binder
org.joget.clipper.JOdbcStoreBinder.datasource=Datasource
form.JOdbcStoreBinder.customDatasource=Custom Datasource
form.JOdbcStoreBinder.defaultDatasource=Default Datasource
...
The first 2 lines are read OK when installing the plugin. Can it be due to the "org.joget.clipper.JOdbcStoreBinderPlugin.message" versus "form.JOdbcStoreBinder.message" ?
Regards,