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.



Fatal error: Uncaught Error: Call to undefined function __() in /home/wtconnects/public_html/app/Yantrana/Support/php-gettext-1.0.12/gettext.inc:409 Stack trace: #0 /home/wtconnects/public_html/app/Yantrana/Support/php-gettext-1.0.12/examples/pigs_fallback.php(75): T_('This is how the...') #1 {main} thrown in /home/wtconnects/public_html/app/Yantrana/Support/php-gettext-1.0.12/gettext.inc on line 409