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