normalize_database_whitespace.pl - Normalizes leading/trailing whitespaces for all translations in the database
normalize_database_whitespace.pl normalizes leading/trailing whitespaces for all translations in the database. After running this script, run 'serge --recreate-ts-files' to update translation files.
normalize_database_whitespace.pl --database=DBI:SQLite:dbname=/path/to/translate.db3 --save-to=output_log.html
Use --help option for more information.
--help
Use --man for the full documentation.
--man
Database to read statistics from. This parameter is required.
Database username (optional; not needed for SQLite databases).
Database password (optional; not needed for SQLite databases). If password is ommitted, you will be prompted to enter it securely (with no echo).
Server URL. This is used to construct links back to the server.
If provided, a report will also be saved to a specified HTML file
An optional comma-separated list of languages to check (by default, goes through all languages). You can specify either languages or translation identifiers, but not both at the same time.
Do not update the database, just generate the output
Print debug output
Show help on program usage and options. For a more verbose output, use --man
Show all available documentation on this program.
To install Serge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Serge
CPAN shell
perl -MCPAN -e shell install Serge
For more information on module installation, please visit the detailed CPAN module installation guide.