Skip to content

String resources

String resources are sections of text used throughout Janison Insights. Much of this text can be customised, which allows the system to be updated with terms and language relevant to your business or organisation. This might include:

  • Changing text to match the terms used in your organisation — for example, renaming test 'question' to test 'item'
  • Customising tooltips, instructions, warnings and messages to make the system more intuitive for your users
  • Translating all text to a different language

Go to Settings > String Resources to see a list of all available string resources in the system.

  • The Default Value column shows the system default value for a string resource
  • The Value column shows any customised version of the string resource

String Resources screen

On this screen you can browse the list, search for a string resource, edit an individual string resource in full or via quick edit, delete a customised string resource to revert it to the system default, and view recent activities involving changes to string resources. The Actions dropdown provides bulk tasks — see Find and replace and Export and import string resources.

Search for a string resource

  1. Select the Search for String Resource expandable section.
  2. Enter the text you wish to search for in the Search for String Resource field. This searches all columns of the list:

    • The Default Value column, containing the default version used in the system
    • The Value column, containing any customised version
    • The Type and Key columns, containing system identifiers for each string resource
  3. Select a plugin from the Search for Plugin dropdown (optional). This limits results to a particular plugin. It is not always easy to identify the required plugin, but the URL of the page where the string resource appears can guide you — in the URL below, 'design' and 'test' are components of the URL, and the plugin is Janison.Test.Designer.

    Plugin components in a URL

  4. Select a language from the language dropdown (optional). If you use more than one language and translations have been made, select the required language to view the relevant translations.

    Search fields

  5. Select Search.

    Search button

  6. The results display in the string resources list.

    Search results

    The number of results and pages shows at the bottom of the list. Select a column header to sort — for example, select Value to sort by string resources that do or don't have a customised value.

Edit a string resource in full

String resources can be edited in full on a separate screen, which shows more details than a quick edit.

  1. Select the Edit icon next to the required string resource in the list.

    Edit icon

  2. The screen that displays depends on whether the string resource already has a customised value.

    If it does not have a customised value, the New String Resource screen displays:

    1. Enter the new value in the Value field.

      Value field on the New String Resource screen

    2. Select Save String Resource.

      Save String Resource button

    3. The new value displays in the Value column of the list.

      New value in the list

    If it already has a customised value, the Edit String Resource screen displays, showing the current value and any translations next to the This String Resource is also configured as: label:

    1. Edit the value in the Value field.

      Value field on the Edit String Resource screen

    2. Select Save String Resource.

      Save String Resource button

      Tip

      Selecting Reset to Default cancels without making the change and resets the string resource to its default value. This deletes any customised value assigned to the string resource.

    3. The new value displays in the Value column of the list.

      Updated value in the list

Quick edit a string resource

String resources can also be edited in a popup on the String Resources screen, showing fewer details than a full edit.

  1. Select the Quick Edit icon next to the required string resource.

    Quick Edit icon

  2. The Edit String Resource popup displays, containing:

    • Culture – the language
    • Default – the system default value
    • Translation – the customised value (blank for string resources without one)

    Edit String Resource popup

  3. Make the required changes in the Translation field.

    Translation field

  4. Select Save.

    Save button

  5. The updated value displays in the Value column of the list.

Delete a customised string resource value

Deleting a customised value reverts the string resource to the system default.

  1. Select the Delete icon next to the required string resource.

    Delete icon

    Tip

    The Delete icon is only available for string resources with a customised value.

  2. The system removes the customised value and reverts the string resource to the default value.

    Reverted string resource

Find and replace

Bulk edits let you find and update more than one instance of a string resource at the same time.

  1. Go to Settings > String Resources.
  2. Select the Actions dropdown, then select Find & Replace.

    Find & Replace option

  3. The screen that displays can be used to search for specific names, phrases or terminology and replace them across some or all instances in Janison Insights, using its expandable sections.

    Find and replace screen

Multilingual support

Language support can be activated on your Janison Insights site. If it is active:

  • The system checks the language set in the end user's browser to determine which language of string resources to deliver to that user.
  • A language selector displays in the footer of the site. This allows an administrator to select a language so its string resources can be customised, and end users to select their preferred language.

Tip

Different versions of English can be set as languages — for example English (Australian) and English (Canada).

If your users are potentially from different English-speaking cultures and you want your string resource changes to target all of them, set the system to the parent category English before making changes. If you select English (Australian), for example, changes only apply to the Australian English version.

Activate multilingual support and select languages

  1. Go to Settings > Languages.
  2. The Languages screen displays. Check Multilingual Support.

    Multilingual Support checkbox

  3. Browse for the required language, or filter the list using the Search for Language field.

    Search for Language field

  4. Check the box in the Active column next to each required language.

    Active column

  5. Select Save Settings.

    Save Settings button

  6. The activated languages now show in the language selector in the site footer. For example:

    Language selector in the footer

Edit string resource values for a language

Once languages are activated, selecting one from the footer dropdown sets the current culture and language, allowing you to edit that language's string resources.

  1. Go to Settings > String Resources.
  2. Select the required language from the language selector in the footer. For example:

    Selecting a language

  3. Select the Edit or Quick Edit icon next to the required string resource.

  4. The language you selected shows in the Culture Code field on the edit screen or popup. For example:

    Culture Code on the edit screen

    Culture Code in the quick edit popup

  5. Update the value and save your changes. This is now the value shown to end users using the selected language.

Export and import string resources

String resources can be copied between Janison Insights tenants using an export and import process. For example, string resources can be customised and tested on a UAT or staging site, then exported and imported into a production site.

Tip

String resources are exported per culture/language. If string resources from multiple languages need to be transferred, carry out the export/import process for each language individually.

Export string resources

To export from the source tenant:

  1. Go to Settings > String Resources.
  2. Select the Actions dropdown, then select Export String Resource.

    Export String Resource option

  3. The Export String Resource popup displays. Select the required culture/language from the Culture dropdown.

    Culture dropdown

  4. Select Export.

    Export button

  5. An XML file downloads to your device. Import this into the destination tenant in the next step.

Import string resources

To import into the destination tenant:

  1. Go to Settings > String Resources.
  2. Select the Actions dropdown, then select Import String Resource.

    Import String Resource option

  3. The Import String Resource popup displays. Select Select files and choose the XML file to import.

    Important

    The import starts as soon as the file is selected, so ensure you select the correct file.

    Import String Resource popup

  4. The import process starts.

    Import in progress

  5. Once complete, an Import completed successfully message displays.

    Import completed message