IBM Globalization Pipeline is an IBM Bluemix service that provides rapid machine translation for application developers. The IBM Globalization Pipeline plug-in for UrbanCode Deploy integrates this service as an UrbanCode Deploy component that provides machine translation within your existing build and deploy process. Using your English resource files as input, the service provides real-time machine translation for the following languages: Simplified Chinese, Traditional Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, and Arabic. The machine translation output can be leveraged by invoking the RESTful API or downloading the translations.
See also the UrbanCode plugin page for this plugin.
##Getting started
To get started, you should familiarize yourself with the service itself. A good place to begin is by reading the Quick Start Guide and the official Getting Started with IBM Globalization documentation.
The documentation explains how to find the service on Bluemix, create a new service instance, create a new bundle, and access the translated messages.
Binary downloads are available here: releases See Installing plug-ins in UrbanCode Deploy and follow the steps for installing an automation plug-in.
The IBM Globalization Pipeline plug-in for UrbanCode Deploy contains two processes that need to be configured.
This process is for configuring the parameters that will be used to translate your resource files. With the Globalization Pipeline plug-in for UrbanCode Deploy, you can create bundles, upload source files, and download translated files.
-
Job Type is the job that will be run.
CREATE
is currently the only supported job type. -
Input pattern is the expression that is used to identify the source files to be translated.
For example:*_en.properties
will match all files that end with_en.properties
. -
Source folder is used to define the folder where source files can be found.
If not specified, the working folder will be selected by default. -
Download translation Select this option to download the translations to the source folder that is specified.
-
Target languages
-
select languages in service dashboard (Default option)
It will create the bundle without any language and user can go to the bluemix globalization pipeline dashboard to add target languages.
-
translate into all languages
It will call the bluemix globalization pipeline service API to get the available languages for the instance.
-
-
Bluemix credential
Globalization Pipeline service credential, eg: {"credentials": { "url": "*", "userId": "*","password": "*", "instanceId": "*" }}'
Version 1
The following features are included in the initial beta release of the plug-in:
- Automatically request translation during the deployment
- Retrieve translations in real time without managing the resource files
- Easily add new languages without having to build or deploy
- View or file GitHub Issues
- Connect with the open source community on developerWorks Open
This plug-in is based on the Globalization Pipeline Java Client which is a recommended integration method for the IBM Globalization Pipeline service.
See CONTRIBUTING.md.
Apache 2.0. See LICENSE.txt.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.