Jump 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.

localization of strings

Featured Replies

I'm pondering the concept of abstracting all the strings (mostly messages that appear in dialog boxes) I'm using in a specific solution to a single place.

Doing so would allow me to:

1. Reference all the strings from a single location.

2. Add localization pretty easily.

3. Imagine for a moment I was using a "grown-up" development environment...

Anyway I have a couple ideas of how to do this, but they pretty much boil down to one of the following:

• Storing a list of strings in a custom function

• Storing each string as a record in a specific table

I was wondering if anyone has experience of doing something similar, or knows of a "preferred" way of doing this.

Either of those options could work. Another possibility might be to use a script, which you could invoke with a parameter and exit with a result (the string).

  • Author

Yes that is a good idea.

How would that compare in terms of performance vs using records in a table?

I suppose the other thing is that I'd at least be able to use find/replace etc on table entries.

I've ruled out the possibility of using a custom function for now, as that would be a bit problematic for multi-file solutions

I imagine that a script, invoking the calculation engine, would generally be faster than a process that finds records. But I don't think you'd see a noticeable performance hit either way, since you're using this for dialogs, which stop the action anyway.

  • Author

A very good point.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.