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
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.
Then you must add a Text/Title in your application.
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.
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.
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
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