GithubHelp home page GithubHelp logo

maverick193 / module-translator Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 130 KB

This module allows developers to generate CSV translation files by scanning the code of a chosen module

PHP 97.62% XSLT 2.38%

module-translator's Introduction

module-translator

This module allows developers to generate CSV translation files by scanning the code of a chosen module.

The module check the code of the choosen module and prepare a csv file which contains all the sentences in the PHP and XML files.

In order to have a sentence included in the CSV file, it has to be passed as param to the translate function ( __->($word) ) or declared in the "@translate" attribute for XML files.

The module translates :

  • PHP classes in the module folder
  • config.xml file
  • system.xml file
  • adminhtml.xml file

@TODO :

  • Translate module layouts and templates
  • Implement an Auto-Translation using Google and Bing API
  • Compatibility tests on 1.4 1.5 1.6 and E.E versions of Magento

Installation

  • Before installing this extension, you have to have php5-xsl extension installed :

    example : run sudo apt-get install php5-xsl on linux to install php-xsl extension

  • Install it with modman

  • Or download and install it manually

Compatibility

Tested on Magento :

  • Community >= 1.7
  • Enterprise >= 1.12

Support and Contribution

If you have any issues with this extension, please open an issue on Github.

Any contributions are highly appreciated. If you want to contribute, please open pull request on GitHub.

Copyright and License

License : OSL - Open Software Licence 3.0.

Copyright : (c) 2013 Mohammed NAHHAS

module-translator's People

Contributors

maverick193 avatar

Stargazers

kenneth avatar

Watchers

James Cloos avatar  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.