Problems with i18n

Hello,

I am not sure whether I understood the function mode of the localization (i18n) correctly. Here the facts:

As I18N server I selected my database M-^SpteM-^T in the solution settings. As I18N table I selected the table M-^Ssys_i18n_messagesM-^T. Everything functioned without problems.

Now I should be able to provide a new object in the I18N editor. I filled out the fields in the I18N editor like-followed:

Key = pte.button.gotoMandanten
Reference text = Mandanten
Locale text (German) = Mandanten

Afterwards I clicked the key M-^SSaveM-^T. The new entry is now between M-^SOptionPane.yesButtonTextM-^T and M-^Sservoy.aboutDialog.creditsM-^T.

  1. Now nevertheless, if I open the text properties of a button, the new entry "pte.button.gotoMandantenM-^T should be visible in the i18n tab and allocatable to the button? Then the button text should be M-^SMandantenM-^T, doesnM-^Rt it? In my case I only see the following entry: !pte.button.gotoMandanten!

  2. If I now close and reopen Servoy Developer, the entry is no longer present. It seems in such a way, as if my entry is also not written into the table M-^Ssys_i18n_messagesM-^T.

What do I make wrong?

Thanks for the assistance
Hans Peter

What you describe should work fine! I just tried it myself.
If the key in the text editor is not there. What happens if you try to search for it? (use the filter textfield) It really can’t find it?

what happens if you make youre key directly in the text property editor (just type the key and the 2 values and press ok)

Is it still not there?

Then something must go wrong with saving. What does youre .log.txt file say?
If that file doesn’t say anything can you start the developer with
-DSTACKTRACE=TRUE and look what it console output prints when you press save.

Hello Johan,

I found the error. The name of the pk was wrong. Your question about the log file brought me on it. Here the excerpt from the log file:


Starting Servoy from C:\Programme\ServoyServoy R2 2.1rc2 build-306 on Windows XP using Java 1.4.2_04Looking for servoy.properties on C:\Dokumente and Einstellungen \ hpm \ servoy.propertiesLoading servoy.properties from C:\Programme\Servoy\servoy.propertiesLoading - DoneUsing of RMI registry on haven 1099com.sybase.jdbc2.jdbc.SybSQLException: ASP error - 143: Column M-^Ssys_i18n_messagesidM-^T emergency foundcom.sybase.jdbc2.jdbc.SybSQLException: ASP error - 143: Column M-^Ssys_i18n_messagesidM-^T emergency found …

Now it works, very very cool!!

Thanks
Hans-Peter