Utilize the i18n framework in SAPUi5 to extract "hard-coded" strings in your app and maintain them in a single file.
You will learn
In the previous tutorials you added some labels to the details view by inserting a title="xxx" XML snippet into an ObjectAttribute element. In this tutorial, you will extract those strings to the messageBundle.properties file (which you just used to insert the currency symbol) and insert a reference to them in place of the string literals in your app. The appearance of the app will not change, but having the strings in one place will make the app easier to maintain, and will enable the support of different languages and locales (which you will do as part of this series). The three labels you will work with in this tutorial are:
Units In Stock
Units On Order
Step 1: Add properties
To begin, open the northwind > i18n > messageBundle.properties file and insert the three lines below.
label_UnitsInStock=Units In Stock
label_UnitsOnOrder=Units On Order