Coder Social home page Coder Social logo

vermaneerajin / transvision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozfr/transvision

0.0 1.0 0.0 5.68 MB

QA tool for Mozilla product localizers

Home Page: http://transvision.mozfr.org

License: Mozilla Public License 2.0

JavaScript 5.04% PHP 77.60% Shell 4.31% Python 7.78% ApacheConf 0.22% CSS 5.06%

transvision's Introduction

Transvision

Build Status

Transvision is a Web application targeting the Mozilla localization community, created and maintained by the French Mozilla community (https://www.mozfr.org).

The main purpose of Transvision is to provide a specialized search engine to find localized strings in Mozilla code repositories for all Mozilla products (Firefox, Thunderbird, Seamonkey) and websites (currenty only www.mozilla.org is supported) via a Web interface. There are also side-features such as checks for common typographical errors for some languages, validity checks for localized access keys in the UI, or comparison views between Mozilla repository channels (Nightly/Aurora/Beta/Release).

Transvision is written in PHP, the string extraction is done with the Silme library (Python) and server install/maintenance scripts are in Bash.

Transvision is available at: https://transvision.mozfr.org

Transvision Beta is available at: https://transvision-beta.mozfr.org

Transvision was created by Philippe Dessante, from the French Mozilla localization team.

Lead developer since version 1.0 : Pascal Chevrel (pascal AT mozilla DOT com).

Getting Started

The Transvision team uses Git and GitHub for both development and issue tracking.

  • If you'd like to contribute code back to us, you can do it using a Pull Request.
  • We generate automatic documentation of Transvision classes.
  • If you want to chat with the team, you can find us on IRC in #transvision IRC channel (#transvision channel on irc.mozilla.org server).
  • If you want to file a bug Create a new issue on github or contact the team.

Dependencies

  • Bash scripting support
  • Python
  • PHP >= 5.6 with the following extensions:
  • php5-intl for the transliteration feature
  • php-mbstring for multibyte string functions
  • php5-xsl and GraphViz packages for generating the documentation with phpDocumentor
  • Composer (Dependency Manager for PHP, https://getcomposer.org/)
  • Mercurial, Git to check out data sources (only for a Full installation for production)
  • Apache with mod_rewrite activated
  • npm and eslint for JavaScript files (optional)
npm install -g eslint
eslint web/js

Full Installation (production or heavy development)

  1. Fork the Transvision Project into your GitHub account.
  2. Clone your fork to your machine.
  3. Copy app/config/config.ini-dist to app/config/config.ini and adapt the variables to your system.
  4. Run first app/scripts/setup.sh, then app/scripts/glossaire.sh. This process will take some time as it downloads the source code for all Mozilla products (~20GB of data).
  5. Install Composer (Dependency Manager for PHP, https://getcomposer.org/) and run php composer.phar install (or "composer install" if installed globally) inside the web folder.
  6. You can run Transvision in your local machine either with the start.sh script or with php -S localhost:8082 -t web/ app/inc/router.php and opening http://localhost:8082/ with your browser. To bound PHP internal web server to 0.0.0.0 use start.sh -remote: server will be accessible from other devices in the LAN, or from the host machine in case Transvision is running inside a virtual machine.

Snapshot installation (regular development)

  1. Fork the Transvision Project into your GitHub account.
  2. Clone your fork to your machine.
  3. Run ./start.sh. This process may take some time as it downloads a snapshot of data from Transvision server (~400MB). It will also download Composer, the PHP dependency manager, and install the dependencies needed. A config file located in app/config/config.ini will be created automatically. Once this is done, PHP development server will be launched and you can visit http://localhost:8082/ with your browser.

Note that if you launch start.sh again after the installation, it will not download again all the data, composer and dependencies, it will only launch the development server.

Update glossary

  • To update Transvision glossary, run app/scripts/glossaire.sh (only for full installations) .

Contribution tips

See CONTRIBUTING.md

Licence:

MPL 2

transvision's People

Contributors

pascalchevrel avatar flodolo avatar theochevalier avatar tx2z avatar matonanthony avatar thegennok avatar riilp avatar filip42 avatar djug avatar keko avatar pike avatar benoit-l avatar clement-lefevre avatar julienitard avatar mikkcz avatar rdobugstats avatar xxguillaumexx avatar

Watchers

 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.