I seem to have a problem I can’t figure out and I think it’s since going from 4.1 to 5.0.1. When I enter or update an i18n key from the developer editor, it updates the properties file in the workspace\resources\messages folder, but not the i18n table specified in the solution. The solution displays the entries in the properties file. When I edit the table, the solution does not reflect the changes unless I overwrite the properties file with “Create from DB” option (unfortunately I lost a bunch of keys by overwriting the properties file not knowing the keys were not saved in the table). When run on the server, the solution seems to use the table. For now, the only way to work is to not use the i18n editor, edit the table directly, and overwrite the properties file to see the changes. Is this a common problem?
Hi Michael,
don’t use developer AND server on the same instances
this is not supported & recommended
just export your solution (with i18n) and import it (with i18N) into a server (other) servoy instance.
this will also import your i18n keys into the i18n table…
hope this helps
So, don’t update the i18n table in developer, just use the i18n editor?
I have exactly the same problem: new i18n keys we add with the editor in developer don’t show up in the i18n_messages table in the db. When we update the solution on a server these new i18n keys are not updated.
Also translation we edit are not saved to the i18n_messages table either.
This problem started since 5.01
Is there a fix or setting for this?
Since 5.0 the i18n editor (in developer) only edits local files. Then you can synchronize with the database using team provider or export/import on server.
When I export the solution in developer and then import it on a server, the i18n keys are not updated/inserted. What steps do I need to take to get this done?
marcelb:
When I export the solution in developer and then import it on a server, the i18n keys are not updated/inserted. What steps do I need to take to get this done?
When you export, there is an option to also export i18n data. It is not on by default.
Hi Laurian
This is true but we also noticed that when adding new i18n keys, they do not become visible in the SmartClient. One has to restart the SmartClient again to see the changes/newly added i18n keys.
I think nearly nothing is live updated in the SmartClient any more with version 5.1rc2. This used to be quite good in Servoy 4 but is not usable any more in Servoy 5. The reason is because as nearly nothing is live updated, one always has to restart the SmartClient from within the Servoy Developer just to be sure what one sees is the current state. I wish this can be braucht back to the level where the SmartClient is consistently updated by changes made in the Developer.
Best regards, Robert
PS: BTW, the text in the Reference text window of the I18N messages tab does not wrap around text which is very annoying when entering longer text. Do I miss some settings for that or is it missing?
lvostinar:
Since 5.0 the i18n editor (in developer) only edits local files. Then you can synchronize with the database using team provider or export/import on server.
Hi Robert,
This is true but we also noticed that when adding new i18n keys, they do not become visible in the SmartClient. One has to restart the SmartClient again to see the changes/newly added i18n keys.
True, I added a case for this.
I think nearly nothing is live updated in the SmartClient any more with version 5.1rc2. This used to be quite good in Servoy 4 but is not usable any more in Servoy 5. The reason is because as nearly nothing is live updated, one always has to restart the SmartClient from within the Servoy Developer just to be sure what one sees is the current state. I wish this can be braucht back to the level where the SmartClient is consistently updated by changes made in the Developer.
Can you be more specific ? What exactly is not working anymore ?
the text in the Reference text window of the I18N messages tab does not wrap around text which is very annoying when entering longer text
This is fixed now, will be in next release.
Hi Laurian
Thanks for adding a case and fixing the wrap around problem in i18n editor.
You are of course right I should be more specific about the updating - sorry. We installed yesterday Servoy 5.1 rc3. Today, I wanted to check and describe what is not updating but can’t find additionals except the already mentioned i18n updating problem - so I feel a bit ashamed
Regards, Robert
lvostinar:
Hi Robert,This is true but we also noticed that when adding new i18n keys, they do not become visible in the SmartClient. One has to restart the SmartClient again to see the changes/newly added i18n keys.
True, I added a case for this.
I think nearly nothing is live updated in the SmartClient any more with version 5.1rc2. This used to be quite good in Servoy 4 but is not usable any more in Servoy 5. The reason is because as nearly nothing is live updated, one always has to restart the SmartClient from within the Servoy Developer just to be sure what one sees is the current state. I wish this can be braucht back to the level where the SmartClient is consistently updated by changes made in the Developer.
Can you be more specific ? What exactly is not working anymore ?
the text in the Reference text window of the I18N messages tab does not wrap around text which is very annoying when entering longer text
This is fixed now, will be in next release.
This is true but we also noticed that when adding new i18n keys, they do not become visible in the SmartClient. One has to restart the SmartClient again to see the changes/newly added i18n keys.
This issue will be fixed in Servoy 6.0 .
We are also struggling with this. Is it possible to add an “Update from DB” besides the “Create from DB”?
Our application is already capable of creating i18n keys and does this semi-automatically for all table names, field names, form names etc. We would like to use them by merging the messages table instead of having the developer to retype it in the resource file.
Ruben79:
We are also struggling with this. Is it possible to add an “Update from DB” besides the “Create from DB”?Our application is already capable of creating i18n keys and does this semi-automatically for all table names, field names, form names etc. We would like to use them by merging the messages table instead of having the developer to retype it in the resource file.
you can use the team provider to update; this is not what you want ?
lvostinar:
Ruben79:
We are also struggling with this. Is it possible to add an “Update from DB” besides the “Create from DB”?Our application is already capable of creating i18n keys and does this semi-automatically for all table names, field names, form names etc. We would like to use them by merging the messages table instead of having the developer to retype it in the resource file.
you can use the team provider to update; this is not what you want ?
I think not, because that will only get the i18n files that are used by the developers. And not the ‘real’ messages table in the database that is used by the client.
Ruben79:
lvostinar:
Ruben79:
We are also struggling with this. Is it possible to add an “Update from DB” besides the “Create from DB”?Our application is already capable of creating i18n keys and does this semi-automatically for all table names, field names, form names etc. We would like to use them by merging the messages table instead of having the developer to retype it in the resource file.
you can use the team provider to update; this is not what you want ?
I think not, because that will only get the i18n files that are used by the developers. And not the ‘real’ messages table in the database that is used by the client.
So, you want to bring the i18n data from production server into developer ? Why not export from server and import in developer in order to update/create the i18n ?
You might want to check this out:
http://www.servoycamp.com/topics/tips/98-insert-i18n-values-from-workspace-into-database.html