Coder Social home page Coder Social logo

drupal-potx's Introduction

ABOUT
================================================================================

The goal of the Translation Template Extractor project is to provide
command line and web based Gettext translation template extractor
functionality for Drupal. These translation templates are used by
teams to translate Drupal to their language of choice. There are
basically two ways to use the contents of this project:

 * The potx Drush command provided by the module. Examples:

   1. Extract translatable strings from applicable files in current directory
	   and write to single output file.
	   drush potx single
	   drush potx (By default, mode = single)

   2. Extract translatable strings from applicable files of example module and
	   write to module-specific output file.
	   drush potx multiple --modules=example

   3. Extract translatable strings from example.module and write to single
	   output file.
	   drush potx --files=sites/all/modules/example/example.module

   4. Extract strings from folder 'projects/drupal/8' using API version 8.
	   drush potx single --api=8 --folder=projects/drupal/8

 * Install the module on a Drupal site as you would with any other
   module. Once potx module is turned on, you can go to the
   "Extract" tab on the "User interface translation" page, select
   the module or modules or theme or themes you want to have a translation
   template for, and submit the form. You will get one single template file
   generated.

   Note: If you only get a white browser screen as response to the
   extraction request, the memory limit for PHP on the server is probably
   too low, try to set that higher.

CREDITS
================================================================================

Command line extractor functionality orignally by
  Jacobo Tarrio <jtarrio [at] alfa21.com> (2003, 2004 Alfa21 Outsourcing)

Greatly optimized by
  Brandon Bergren (2007)

Currently maintained by
  Gabor Hojtsy <gabor [at] hojtsy.hu>

drupal-potx's People

Contributors

aries1980 avatar drumm avatar goba avatar hero-m avatar makara avatar podarok avatar sebcorbin avatar zlyware 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.