Source code of Leftypol imageboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
czaks 207543754c SECURITY: remove XSS vulnerability 10 years ago
..
AUTHORS inc/contrib -> inc/lib 12 years ago
COPYING inc/contrib -> inc/lib 12 years ago
Makefile inc/contrib -> inc/lib 12 years ago
README inc/contrib -> inc/lib 12 years ago
gettext.inc inc/contrib -> inc/lib 12 years ago
gettext.php inc/contrib -> inc/lib 12 years ago
streams.php inc/contrib -> inc/lib 12 years ago

README

PHP-gettext 1.0 (https://launchpad.net/php-gettext)

Copyright 2003, 2006, 2009 -- Danilo "angry with PHP[1]" Segan
Licensed under GPLv2 (or any later version, see COPYING)

[1] PHP is actually cyrillic, and translates roughly to
"works-doesn't-work" (UTF-8: Ради-Не-Ради)


Introduction

How many times did you look for a good translation tool, and
found out that gettext is best for the job? Many times.

How many times did you try to use gettext in PHP, but failed
miserably, because either your hosting provider didn't support
it, or the server didn't have adequate locale? Many times.

Well, this is a solution to your needs. It allows using gettext
tools for managing translations, yet it doesn't require gettext
library at all. It parses generated MO files directly, and thus
might be a bit slower than the (maybe provided) gettext library.

PHP-gettext is a simple reader for GNU gettext MO files. Those
are binary containers for translations, produced by GN