Resource problem with i18n

Hi

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

birgit:
Hi

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?

Thanks and regards

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.

Thank you for the reply. But it did not help yet.

What I did now is

  • Delete the i18nDataSource Setting in the solutions (no pointer to the i18n table)
  • Delete the table
  • Synch with db server
  • Reload tables
  • Restart developer
  • Create i18n table via dialog (when defining i18nDataSource for a solution)
  • Apply this i18n table to all solution
  • Synch with db server
  • Reload tables
  • Commit (still works)
  • Restart developer
  • Commit (no changes)
  • Edit I18N Messages
  • Add a new key and values (Default and DE)
  • Commit: Get Error saying “Remote repository does not have an i18n table named: …”

What do I do wrong?

Thanks and regards

birgit:
Thank you for the reply. But it did not help yet.

What I did now is

  • Delete the i18nDataSource Setting in the solutions (no pointer to the i18n table)
  • Delete the table
  • Synch with db server
  • Reload tables
  • Restart developer
  • Create i18n table via dialog (when defining i18nDataSource for a solution)
  • Apply this i18n table to all solution
  • Synch with db server
  • Reload tables
  • Commit (still works)
  • Restart developer
  • Commit (no changes)
  • Edit I18N Messages
  • Add a new key and values (Default and DE)
  • Commit: Get Error saying “Remote repository does not have an i18n table named: …”

What do I do wrong?

Thanks and regards

Strange, not sure what happens, please open a case so that we can investigate.

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

  • Add/Remove Servoy Resources Nature
  • Change resources project

do. Anyways, thanks for the answers.
Regards