Usage of Externalize i18n Messages

What does this button do? I am afraid to press it… :lol: :oops:

button.png

Hi Jan,

It will put the i18n data inside the workspace as a file so that you can sync it with your teamserver.
Of course this is for Developer only. Server still requires them to be in the database.

Some addition to robert:

It will put i18n data inside the workspace yes but it will first generate that i18n data from all your text properties that you have on your solution/forms/elements and even tables (column titles)
So that it generates keys for all of them and the default text that you have now specified within the property itself
Then it writes the file in your workspace and all your text properties (like solution.titletext) will have an i18n key instead of the actual text.

oke, that is a feature, we did’nt know, thanks voor explaining this Johan!

Indeed. Thanks for explaining!
I was just about to press the button, but now I will not… (because it will destroy my complete Solution ;) )

pressing that button will not destroy or alter anything

Just press it and you will see what it does, as long as you dont press ok you are fine.

Well. Thats exactly what i did ;)

I didnt press the ok button, because i figured it would change everything in my solution, and it was quite a hard work, getting everything right in place.
Because i am translating everything (labels, Valuelist Entries, Tooltipps) they all follow a naming conventions, which - i suggest - you are not following ;)

But Thank you very much for your explanation.

Regards

Jan

I guess I miss something …

There is the “Create from DB” command to populate the file from the DB table.
The i18n keys I create from developer are saved in a file in the workspace.

How can I update the DB table with the keys of the file? (actualy the reverse of “Create from DB”)

Regards,
Ric

I actually don’t see a great use for this except for a first cut, and it should really heavely warn about what’s going to happen, usually not something one wants.
Unless we could as Jan says apply our own conventions, but this would not be easy to achieve in a consistent way, as it is nearly impossible for us developer to create an i18n convention scheme without (groups of) exceptions, just my opinion of course.
Sorry to say, but it feels a not so well thought out feature, just a quick adding, or am I missing something?

Regards, Robert

I actually don’t see a great use for this

One use case for this is resource bundles in Jasper Server.

Very interesting, as we use JasperReports, not the Server currently, but I’d like to hear more details.

Regards, Robert

jbader:

I actually don’t see a great use for this

One use case for this is resource bundles in Jasper Server.

I had asked the “How can I update the DB table with the keys of the file” question earlier. Say for running the server on the development machine for testing. Should I reimport the solution back into the developer?