Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
yaron_ganor
Explorer

I am glad to expose a great new feature that our team has been working on and will be added to SAP HANA Cloud Portal's next release.

We've just finished the new Site Languages panel and you can now use it in your own site.

The simplicity of exposing your site in different locales may confuse you to think that implementing it was easy but the work that was put into making it work is a big deal for us and we are proud of the outcome.

This is a whole new feature that enhances your ability to globalize (or localize) your site.

From now, exposing your site in more languages is as simple as 1-2:

  1. Download the master language zip file and send it to translation.
  2. Upload the translation files.

Note that you should prefer to translate the site only after you finished editing and proof reading it, and in any case only after you read the relevant documentation: Translating Site Content.

(I will not focus on the actual translation process, which is usually handled by an external translation service and not by the site author.)

When it becomes available, you will notice we added a new Site Languages button in the Site Settings panel:

Click the Site Languages button to open the new Site Languages panel:

This panel is your 1-stop-shop for making your site available in more languages.

1. Download the site master language

First select the site's Master Language:

This is the language in which you created the site and it represents the language that all the strings were written in.

(At this point only the languages you see in the drop down are supported)

After you've selected the Master Language, the download button will become enabled.

Click it to download the Master Language zip file.

This file holds all of the strings and documents you used in your site and it should be sent to your translation service.

Refer to the documentation for more information on this step: Translating Site Content.

Note that while you wait for the site to be translated, a message will appear every time you open the site for editing, reminding you that the site is in the middle of the translation process (so that you don't make changes and lose sync with the zip file):

2. Upload the translation files

After you get your translated zip back from your translation service, open the Site Languages panel again.

Select the relevant language from the list of available languages:

Click the Upload button:

In the dialog that opens select the zip file containing the translation and click Upload:

After the upload is done, the Site Translations table will refresh and display the list of uploaded translations:

Publish the site for the new language to be available to users.

Your site is now ready to be viewed with different browser locales.

Woohoo!!! You're done!

Even more features

  • Switching languages on and off

You can temporarily switch locales on and off using the dedicated control in the table:

(Make sure to publish the site after every change you make in the table)

  • Preview before publish

To save you time testing your translated site, we added a new option in the Site Preview panel.

It enables you to make sure everything was indeed translated before you publish the site and preview any of the languages you uploaded without changing your browser locale:

Enjoy!