From: wouter at grep dot be
Operating system: irrelevant
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: translating between gettext language identifiers and 'Accept-Language' ones

Description:
------------
Hi,

Linking in the GNU gettext library is a good thing, as that makes
translating doents a lot easier, more manageable.

However, as the point usually is not to translate into whatever the server
admin wants it to be, but to translate into a human language, it would be
nice if there was a general-purpose function that can translate the
information in 'Accept-Language' and 'Accept-Encoding' into a
gettext-style language string; that way, translating would be much easier.


--
Edit bug report at [url]http://bugs.php.net/?id=25051&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25051&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25051&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25051&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25051&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25051&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25051&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25051&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25051&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25051&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25051&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25051&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25051&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25051&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25051&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25051&r=gnused[/url]