Language packs (localization)

This recipe will look into the possibility of creating localized language packs for workflows. Localization enables users to see workflow presentations in their local language.

Getting ready

We just need an Orchestrator and the ability to edit text files. Additionally, you might want to know a foreign language (or use Google Translate).

How to do it...

We will now create a language pack for the example workflow 00.00 BasicWorkflow:

  1. Navigate to the workflow you want to create localization on.
  2. Right-click on the workflow and navigate to Localization | create localization resources.
  3. Navigate to the Orchestrator resources. You will notice that new ResourceElementCategory folders have been created along with ResourceElements for English, Japanese, French, German, and Korean:

    How to do it...

  4. Right-click on the workflow again, navigate to Localization | export localization bundle, and save it onto a local file.
  5. Switch to your local filesystem and unzip the localization bundle.
  6. Edit one of the language files and replace the text with a local language.
  7. Re-zip the file and then upload the bundle by right-clicking on the workflow and navigating to Localization | import localization bundle.
  8. Check ResourceElement to see the updates.
  9. To check the result, switch the language of a web browser to the language you have specified, for example, de-DE (not just de). Please note that this is case-sensitive. If you are using a German system, you may want to try English instead.
  10. Now start vSphere Web Client and then the workflow (see the recipe Using Orchestrator through the vSphere Web Client in Chapter 7, Interacting with Orchestrator):

    How to do it...

How it works...

Localization works with any application that pulls the REST API using an Accept-Language header to transport the language code, such as de-DE. Orchestrator Client doesn't support this feature.

vRealize Automation (vRA) supports localization from version 6.2 onwards.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset