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 'en_US' is supported by your system, using native gettext implementation.


This is how the story goes.

6 pigs went to the market
5 pigs went to the market
4 pigs went to the market
3 pigs went to the market
2 pigs went to the market
1 pig went to the market
0 pigs went to the market

« back