In this blog we will try to show you how you can make your application multilingual.

Introduction

In most scenarios you have to translate your application label and text according to client/customer requirement for better user experience and globalization. Here I will try to explain you with a simple example how you can translate your application label or text using translation variable. Before you can start with this blog I would recommend you too go through this link to get started with AppGyver.

for more info on SAP Build you can try this link https://answers.sap.com/tags/6cfd8176-04ae-4548-8f38-158456e1a47a

 

Requirement%201

Requirement

 

Solution

SAP build has provided a very simple and straight forward solution that I will walk you through by this blog.

The first thing you need to do is add the supported language under translation variables refer Figure 1. For this blog, I have selected German and English. You need to provide a fallback language too or it will take the first value by default.

Figure%201%3A%20Set%20translation%20variables%20for%20English%20and%20German.

Figure 1: Set translation variables for English and German.

Then you must add a Text/Title in your application.

Figure%202%3A%20Adding%20Text/Title.

Figure 2: Adding Text/Title.

Then go to Properties for your text and click on the Translate button. You will see a pop up where an editable key for your translation is created. Now you must provide your translation for the given text. Click on Create Translate and Save your changes.

Figure%203%3A%20Setting%20up%20translation%20key%20for%20Text/Title.

Figure 3: Setting up translation key for Text/Title.

Now we have created our translation for Hello World.

Next step would be to see a preview of our application. For that I have created a Selection Field where we will select the language and it will change translation for Hello World from English to German.

Figure%205%3A%20Application%20preview.

Figure 4: Application preview.

You can see how we can make your applications multilingual.

 

Conclusion

You can make your application multilingual using these simple steps. If you want to translate your text from your oData call it is also possible, you just need to assign those value as key and provide a right translation.

Hope this small blog would have helped you and do not forget to share your feedback and learning from this blog in the comment section.

you can also checkout my another blog on How to use filters in SAP AppGyver

 

For more information you can check these links too.

SAP Build Apps | SAP Community

SAP Builders – SAP Community Groups

SAP S/4HANA Cloud Topic Page

Ask questions about SAP S/4HANA Cloud and follow

Read other SAP S/4HANA Cloud blog posts and follow

 

Please follow vikas gupta for future posts

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x