Plugins You can find out about all the publicly available Grails plugins.

Translate - Language Translation for Grails

  • Authors: Jonathan Griggs
0 vote
compile ":translate:1.3.0"
Custom repositories:
mavenRepo ""
mavenRepo ""



Translates text from one language to another, using the Microsoft Translator API


grails install-plugin translate


Prior to version 1.1, this plugin was powered by the Google Translate API. As of 1.1, Microsoft Translator is the translation engine that powers this plugin. Google has announced that their Translation API is deprecated and all services will cease on 12/1/2011. If you are using a version of Grails Translate < 1.1, I strongly urge you to upgrade. The Microsoft Translator API is free to use and comes with generous hourly and daily limits.

Translate - Language Translation Plugin for Grails


The Translate plugin provides a Grails Service, TagLib, and Controller to enable translation of text within your Grails application.

This plugin is powered by the Microsoft Translator API with the help of microsoft-translator-java-api, a compact, fast Java library that wraps the Microsoft Translator AJAX Services.

The TranslateService is backed by a configurable Least-Recently-Used (LRU) Cache to reduce the API calls made, particularly for oft-repeated translations (if you're dynamically translating I18N messages to foreign languages, for instance).



Enter your application directory and run the following from the command line:

grails install-plugin translate

After you have installed the Translate plugin in your application, I'd recommend you point your browser to the Plugin test page to verify all is working and familiarize yourself with the functionality it provides:



The official documentation for the Translate plugin may be found at

Source Code

The source code is available on GitHub at

Find a bug? Fork it. Fix it. Issue a pull request.

git clone git://

Contributions welcome!

Issue Tracker

Issue tracking is also on GitHub at

Bug reports, Feature requests, and general inquiries welcome.


Feel free to contact me by email (jonathan.griggs at or follow me on GitHub at