Using Globalization Pipeline from IBM DevOps Delivery Pipeline on Bluemix
In this blog post I am going to show how to quickly translate a WebSphere Liberty application on Bluemix using the Globalization Pipeline service from within the IBM DevOps Services Delivery Pipeline. The best part about doing this is that the whole task of translating your Java property files will be completely automated for you. The only thing that you will need to do is simply specify that you want your property files translated from IBM DevOps Services Delivery Pipeline.
If you need more information on IBM DevOps and Delivery Pipeline, then check out these tutorials Intro to IBM DevOps Services. The aim of this post is to show how you can use the Globalization Pipeline service job type from IBM DevOps Services to rapidly translate your content through Globalization Pipeline.
To get started make sure you have configured your Bluemix Java WebSphere Liberty application to be built in IBM DevOps Services. In our example we are using Maven to build our application and then having IBM DevOps Services automatically deploy the application to Bluemix. Here is a screenshot that shows a typical type of build and deploy configuration for Liberty applications in IBM DevOps Services.
In order for us to use the Globalization Pipeline service from IBM DevOps services we need to make sure that we have properly named our Java property file that contains the strings that we want to translate. To ensure that your file will be automatically detected by IBM DevOps Services the base file name must contain the “_en” language code. In our example the name of our property file is trains_en.properties. To automatically have this file translated for you do the following:
At this point you have successfully translated your Java property file and automatically assembled the translated versions into your build so now you are ready to have users come and checkout your application in other languages. You can also invite language experts to check the translations for consistency and grant them access to your translations in the Globalization Pipeline so they can make edits for you. I hope this post has helped you get going with using the Globalization Pipeline service from IBM DevOps Services.