# I18N on showFormInDialog

**URL:** <https://forum.servoy.com/t/i18n-on-showformindialog/3383>\
**Category:** Classic Servoy\
**Created:** [January 6, 2005, 8:03am UTC](https://forum.servoy.com/t/i18n-on-showformindialog/3383 "2005-01-06T08:03:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 6, 2005, 8:03am UTC](https://forum.servoy.com/t/i18n-on-showformindialog/3383/1 "2005-01-06T08:03:52Z")

</div>

Hi,

When showing a form in dialog with application.showFormInDialog, should it be possible to set as formname an I18N key?

My code:

```auto
application.showFormInDialog(forms.test,i18n.getI18NMessage('key.xxxxx.yyyy'));

```

Doesn’t result in a dialog with a name based on the I18N key…

Paul

(using 2.2 beta1)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 6, 2005, 7:10pm UTC](https://forum.servoy.com/t/i18n-on-showformindialog/3383/2 "2005-01-06T19:10:22Z")

</div>

that really should work fine  
What if you do

var title = i18n.getI18NMessage(‘key.xxxxx.yyyy’);  
application.showFormInDialog(forms.test,title);

What do you see for name?  
if you output the title to the console what do you see?

also this is also possible:

application.showFormInDialog(forms.test,‘i18n:key.xxxxx.yyyy’);

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [February 24, 2005, 9:49am UTC](https://forum.servoy.com/t/i18n-on-showformindialog/3383/3 "2005-02-24T09:49:44Z")

</div>

I tested again, with the lastest RC (2.2. RC2).

It still doesn’t work. I did find a way to get it to work, though: by placing the non mandatory X,Y,width, height into the code, then the I18N title is shown.

working code:

```auto
application.showFormInDialog(forms.xxx,0,0,0,0,i18n.getI18NMessage('kydome.form.xxx));

```

not working code:

```auto
application.showFormInDialog(forms.xxx,i18n.getI18NMessage('kydome.form.xxx));

```

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [March 10, 2005, 4:40pm UTC](https://forum.servoy.com/t/i18n-on-showformindialog/3383/4 "2005-03-10T16:40:13Z")

</div>

ahh sorry  
my example was purely meant for the i18n message things  
Yes you have to specify all the params.

Maybe we can support some other forms of calls later on.
