Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Take the language switcher to the next level by adding your own translations, wordings and phrases.

The custom translations build on the custom text variables. When adding a custom variable, you can see multiple fields: one for the default value, and one per language you’ve enabled in Refined.

Expand
titleAdd a dynamic category name

In this example, we translate a category called Help & info. After completing these steps, the category name will automatically be translated anywhere it appears on your site.

  1. Go to the Refined Administration > Languages > Expand Dictionary.

  2. Click Add text variable and add the text variable’s name and translations.

  3. Image Removed
  4. Save your entries and go to the Site Builder tab.

  5. Click the Cogwheel of the category you wish to translate.

  6. Enter your new text variable as the category’s name.

Expand
titleAdd an announcement banner

In this example, we create an announcement banner that notifies users of planned maintenance.

  1. Go to the Refined Administration > Languages > Expand Dictionary.

  2. Click Add text variable and add the text variable’s name and translations.

    Image Removed
  3. Save your entries and go to the Announcements tab. We will build the message in two parts: the message in the text variable and the data in a general format.

    Image Removed

...

titleAdd a module with text and custom text variables

In this example, we add a text to the top of the Search Highlight to inspire visitors to search for help. The entered text will be a combination of text and a text variable.

...

Go to the Refined Administration > Languages > Expand Dictionary.

...

Click Add text variable and add the text variable’s name and translations. In this screenshot you can see we added $sitename, which means the variable will contain the words types, and then the dynamically fetched name of the site.

...

Save your entries, go to a page on your website and add a Search Highlight module.

Add your new text variable into the module’s primary text.

...

using text variables to add your own translations, wordings and phrases.

Want to learn more?

Read Atlassian’s documentation: Jira Service Management internationalisation.

...