Code Monkey home page Code Monkey logo

ezgoogletranslate's Introduction

eZ Google Translate extension for eZ Publish
============================================

An extension that allows for esay translation of content.

Based on translation services from Google ($$), Microsoft, Frengly, Mymemory.

Please note that not all of these services support translation from/to all languages.
Also they might have limitatins on the number of translation requests per day.


Requirements
------------
. eZJSCore extension
. eZPubish 4.x (NB: the provided templates have been tested with eZP 4.6 and 2012.1 only)
. for most translation providers, an account has to be created


Technicalities
--------------
. provides a javascript function "eztranslate" to translate texts.
  This function can be used by developers in any template they want
  (as long as they do not forget to include the "parts/tsengineload.tpl" template first)

. uses ezjscore for translation calls, thus avoiding saame-origin ajax limitations

. by default adds interface elements ("translate" links) to the "translate content" page
  This happens for designs admin, admin2, ezwebin

. translatabale datataypes: string, text, image (the ALT tag), keywords


FAQ
---
. q: this does not work
  a1: did you clear the template cache?
  a2: you might have datatype-editing templates already overridden in another extension, please check
  a4: you can test translation by hand: POST to /ezjscore/call/googletranslate::translate::eng-GB::fre-FR, with a POST variable named "text"
  a3: firebug is your friend

ezgoogletranslate's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.