Login   Register  
PHP Classes
elePHPant
Icontem

POT Creator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Peter He
Name: Peter He <e-mail contact>
Packages: 2 Browse all classes by Peter He Browse all classes by
Country: China China - PHP jobs in China
Age: 28
All time rank: 137918 in China China
Week rank: 568 Up4 in China China Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can automatically build application translation files for gettext.

It can traverse recursively all PHP application files in a given directory.

The class can extract all the application strings and generates a .pot file with all texts ready to be translated to other idioms for use in internationalized applications with the gettext extension.

  Classes of Peter He  >  POT Creator  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: POT Creator
Base name: pot-creator
Description: Build application translation files for gettext
Version: 1.0
PHP version: 5.0
License: MIT/X Consortium License
All time users: 354 users
All time rank: 5790
Week users: 1 user
Week rank: 2089 Up
 
  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
January 2012
Number 6
PHP has the gettext extension that is meant to help creating applications ready for internationalization.

This means that the extension can get the text messages used in the application from files that contain the translation of the messages for the different idioms that the application supports.

This class can help building those files traversing all PHP files of a project and extracting the text messages from them.

Manuel Lemos

  Freshmeat project  
Project record: potcreator
Popularity score: 26.34
Vitality score: 1.0

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Home Home and bug report

  Files folder image Files  
File Role Description
Files folder imageexample (4 directories)
Accessible without login Plain text file example.php Example Example file
Plain text file POTCreator.php Class Main class file

  Files  /  Files folder image example  
File Role Description
Files folder imagecontroller (1 file)
Files folder imagelanguage (1 file)
Files folder imagemodel (1 file)
Files folder imageview (1 file)

  Files  /  example  /  Files folder image controller  
File Role Description
  Accessible without login Plain text file controller.php Example Example file

  Files  /  example  /  Files folder image language  
File Role Description
  Accessible without login Plain text file example.pot Output POT file

  Files  /  example  /  Files folder image model  
File Role Description
  Accessible without login Plain text file model.php Example Example file

  Files  /  example  /  Files folder image view  
File Role Description
  Accessible without login Plain text file view.tpl Example Example file

Download all files: pot-creator.tar.gz pot-creator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.