Skip to content

Display Language

Kevin edited this page Oct 2, 2024 · 3 revisions

At this time super does not contain any language localizations beyond US English. However, because super is a bash script, you can easily modify the language content via any text editor prior to running or deploying super.

Customizing Dialog and Notification Language

You can customize the display language used by super for dialogs and notifications by modifying the parameters in the set_display_strings_language() script function.

  • The text of the each button (like "Restart Now" or "Install Now") has its own script parameter.
  • The text of time descriptors ( like "Minutes" and "Hours") each have their own script parameter.
  • Most display types have multiple variations for displaying deadline status.
  • The script comment section named "Useful display variables:" documents script parameters that are automatically generated based on the super workflow options and status.
  • There are many different dialogs or notifications generated by super:
    • Notification for the install now workflow starting.
    • Notification for the install now workflow downloading.
    • Notification for the install now workflow if the system is already updated.
    • Notification for the install now workflow failure.
    • Notification for installing a Jamf Pro Policy Trigger.
    • Notification for preparing a macOS update/upgrade.
    • Notification for preparing a macOS update/upgrade with a hard deadline.
    • Notification for a pending restart.
    • Notification for a pending restart with a hard deadline.
    • Notification for installing non-system Apple software updates.
    • Notification for workflow failure.
    • Interactive dialog asking for scheduled install, deferral, or restart/install.
    • Interactive dialog allowing the user to set a scheduled installation.
    • Interactive dialog reminding the user of a pending scheduled installation.
    • Interactive dialog for soft deadlines.
    • Interactive dialog asking for Apple silicon user authentication.
    • Interactive dialog for insufficient free storage space.
    • Interactive dialog for power required.

Customizing Other Text Items

There are a variety of other script parameters that affect language outside of the set_display_strings_language() script function that you may find it useful to modify.

  • In the set_defaults() script function you can find:
    • All the default file names and folder paths used by super.
    • The date and time formats used in text for dialogs, notifications, and logging.
    • Variables for the system version, build number, architecture, hardware identifier, and last startup time.
Clone this wiki locally