For a new project I created new solutions and a new resource project. For i18n I created a new table called magazine.i18n_messages (via solutions i18nDataSource property and the button ‘Create new i18n table’). This table is in a database where the database server ‘magazine’ is connected to. Now I can create new i18n keys and values on the I18N Tab. They are written to the files in the resource folder of my workspace .
But: How can I commit i18n? I always get an error saying ‘Remote repository does not have an i18n table named: magazine.i18n_messages. You should create one manually if you want to be able to commit i18n messages.’
What is the commit trying to do? Where does it want to write the i18n key/values to? To the repository? To my i18n_messages table?
For a new project I created new solutions and a new resource project. For i18n I created a new table called magazine.i18n_messages (via solutions i18nDataSource property and the button ‘Create new i18n table’). This table is in a database where the database server ‘magazine’ is connected to. Now I can create new i18n keys and values on the I18N Tab. They are written to the files in the resource folder of my workspace .
But: How can I commit i18n? I always get an error saying ‘Remote repository does not have an i18n table named: magazine.i18n_messages. You should create one manually if you want to be able to commit i18n messages.’
What is the commit trying to do? Where does it want to write the i18n key/values to? To the repository? To my i18n_messages table?
Thanks for help and regards
This means that i18n table doesn’t exist in database, I guess the table exists only in the workspace and not in database engine.
Oh yes, it does exist in the database. Since I created it with the described buttons. And I can see it in the list of tables when I select the database server. Other ideas?
birgit:
Oh yes, it does exist in the database. Since I created it with the described buttons. And I can see it in the list of tables when I select the database server. Other ideas?
Thanks and regards
Strange. But did you check with an external database tool? Maybe something is out of synch? You can synchronize with db server, reload tables, refresh dbi files from navigator, restart developer … Somehow the i18n table is not seen in database server.
Just solved it. It was the database server defined in the servoy application server that was missing. I had the database server defined for me as a developer (in servoy.properties in the local application server directory).
Could you please document the whole process of creating a new resource project? For me it was difficult to understand what I had to do and what the consequences are (for Styles, Database Servers and I18N). And I remember I got stuck years ago when I tried this. E.g. I don’t understand what