Procedural File: pot_tools.php
Source Location: /scripts/pot_tools.php
Page Details:
pot_tools.php - useful functions for POT scripts
Tags:
Includes:
CARTOCOMMON_PODIR [line 12]
addPhpStrings [line 92]
void addPhpStrings(
string $type, string $path, mixed $poTemplate, mixed $project)
|
|
Finds recursively all strings in PHP code and add them to PO template Will detect methods gt() from classes I18n and I18nNoop.
Parameters
| string |
$type |
|
| string |
$path |
|
getCharset [line 29]
string getCharset(
string $type, mixed $project)
|
|
Finds charset in client.ini
Parameters
getProjects [line 63]
Gets list of projects by reading projects directory
getTranslatedPo [line 144]
array getTranslatedPo(
string $type, mixed $project)
|
|
Finds list of already translated PO files for a project
Parameters
|