Page 1 of 1

Expected behavior upon adding i18n keys

PostPosted: Thu Jan 17, 2019 8:57 pm
by joe26
Hello,

When new keys are added under the i18n (blue flag dialog), I believe I was used to seeing the i18n table updated immediately.

So when a view is dependent upon actually reading the table, the i18n table does not have the newly created key.

This seems to have worked in the past, but seems to have a disconnect. It may also pre-date the initial use of the keys for particular views, just needing clarification on the expected behavior when adding i18n key/value pairs.

Thanks!
Joe.

Re: Expected behavior upon adding i18n keys

PostPosted: Fri Jan 18, 2019 11:32 am
by mboegem
Hi Joe,

AFAIK the i18n table has never been used within developer since version 4.
All keys are stored in files within your workspace.

However, if you want to transfer the keys to your database, you can do this by rightclicking the 'i18n files' node in the solution explorer (subnode of resources).
Then choose 'Write to DB', and if you feel to go from DB to you workspace file, choose 'Read from DB'

Hope this helps.

Just out of interest:
What is the usecase why you need to query the i18n table directly?

Re: Expected behavior upon adding i18n keys

PostPosted: Tue Jan 22, 2019 1:14 am
by joe26
Marc,

Menu entries which represent a program to execute must match the original menu item within Servoy, so the corresponding program may be run. It is really dynamically putting entries on a single web page. The page had to be lightweight since the destination is a lightweight handheld computer.

Thanks for the tip!
--Joe.