Expected behavior upon adding i18n keys

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Expected behavior upon adding i18n keys

Postby joe26 » Thu Jan 17, 2019 8:57 pm

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.
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: Expected behavior upon adding i18n keys

Postby mboegem » Fri Jan 18, 2019 11:32 am

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?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Expected behavior upon adding i18n keys

Postby joe26 » Tue Jan 22, 2019 1:14 am

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.
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests