Notice: Use of undefined constant PROJECT_DIR - assumed 'PROJECT_DIR' in /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php on line 25
Notice: Use of undefined constant LOCALE_DIR - assumed 'LOCALE_DIR' in /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php on line 26
Notice: Use of undefined constant DEFAULT_LOCALE - assumed 'DEFAULT_LOCALE' in /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php on line 27
Warning: Creating default object from empty value in /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/gettext.inc on line 154
Warning: Cannot modify header information - headers already sent by (output started at /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php:25) in /home/hledenet/public_html/chicagovma/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php on line 44
PHP-gettext fallback example
PHP-gettext as a fallback solution
Example showing how to use PHP-gettext as a fallback solution if the native gettext library is not available or the system does not support the requested locale.
[en_US] [sr_CS] [de_CH]
locale 'sr_CS' is not supported on your system, using custom gettext implementation.
Овако иде прича.
6 малих прасића је отишло на пијац
5 малих прасића је отишло на пијац
4 мала прасета су отишла на пијац
3 мала прасета су отишла на пијац
2 мала прасета су отишла на пијац
1 мало прасе је отишло на пијац
0 малих прасића је отишло на пијац
« back