se7enxweb/ezgoogletranslate 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

se7enxweb/ezgoogletranslate

最新稳定版本:v0.2.1

Composer 安装命令:

composer require se7enxweb/ezgoogletranslate

包简介

eZ Publish Legacy extension which provides a simple solution for extending thet default eZ Publish Web Shop within an well developed extension. Great for smart developers!

README 文档

README

An extension that allows for esay translation of content in multilingual websites using eZ Publish.

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

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 3
  • 开发语言: Smarty

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-01-29