Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dialog box localization

Featured Replies

i'm trying to localize a solution. i put all the literal text strings in a table (one language per record) and use a global field pointing to the language ID to retrieve the proper strings.

this works for field labels, buttons, etc, but the problem with dialog boxes is that you can only make their text and header field conditional, but not the text on the buttons. is my only option to duplcate the 'show custom dialog' script step with a bunch of 'if.. then' statements or is there a better way?

You can definately do it with the Troi Dialog plugin. Troi plug-ins are well worth it. As a matter of fact, if you download the demo, I believe that they have an example using unicode characters.

  • Author

thanks - i was hoping to do it natively, but i'll look at the plugin.

Take a look at the File Dynamic Field Labels at Database Pros Site.

Link and see if this is what you want.

HTH

Lee

He wants to dynamically change the text on the buttons of the dialog box not the entry field labels. :

snip.. but not the text on the buttons.

This is what I was referring to.

but the problem with dialog boxes is that you can only make their text and header field conditional, but not the text on the buttons.

Am I missing something? I interpreted this as that he realized that he could not specify the button text such as "OK" and "Cancel" dynamically.

  • Author

yup, it's the [OK] and {Cancel} type text in the dialogs i want to change dynamically. looks like there's no native way to do it.

as long as i have only a few languages, i suppose with if/then statements that bring up different localized versions of the same dialog box, it's not so bad, just a shame. seems to be a good feature on the wishlist for a future FM release.

Indeed Stefan and why litter the solution with a global field, no the dialog needs to have an option to use $ or $$ variables, both for the buttons and the reception of values entered by the user.

Applescript is not really an alternative, unless Wim can enlighten us here and tell us if VBScript in a similar way can follow localizations when attempting something in the vicinity of this:

http://www.devguru.com/Technologies/vbScript/quickref/inputbox.html

or here...

http://www.tizag.com/vbscriptTutorial/vbscriptmsgbox.php

--sd

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.