Sha256: c2e68894ed07dc3235381fd3ed1b82180cdf7c6cdd5480096f622550d4f9437d

Contents?: true

Size: 1019 Bytes

Versions: 3

Compression:

Stored size: 1019 Bytes

Contents

Alhoa-Editor GoogleTranslate Plugin
===================================
This plugin will allow you to translate the contents you're editing by using the Google Translate API v2.

Usage
=====
Just include the plugin.js file in your page, like any other Aloha plugin. Highlight some text, switch to the "Translate" tab, and select a language you want to translate to.
At this point only English, German and French are supported, which is just because I'm too lazy to add all the language icons and styles Google Translate supports.

Please configure your own API key, as you will most likely hit Google's Translation API limits if you stick with the one I provide with this plugin:

GENTICS.Aloha.settings = {
	"plugins" : {
		"com.gentics.aloha.plugins.GoogleTranslate": {
			apiKey : "YOUR-API-KEY-HERE"
		}
	}
}

Known Issues
============
* Any translation which returns special chars is broken, as the characters are inserted as symbols. This will result in broken text entries, eg. when translating english to french

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
olala-0.0.2 vendor/assets/aloha/plugins/extra/googletranslate/README.md
olala-0.0.1 vendor/assets/aloha/plugins/extra/googletranslate/README.md
free_text-0.0.3 app/assets/javascripts/aloha-0.10.0/plugins/extra/googletranslate/README.md