php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25051 translating between gettext language identifiers and 'Accept-Language' ones
Submitted: 2003-08-12 07:04 UTC Modified: 2003-08-12 09:26 UTC
From: wouter at grep dot be Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 + 18 = ?
Subscribe to this entry?

 
 [2003-08-12 07:04 UTC] wouter at grep dot be
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-12 09:26 UTC] sniper@php.net
You can do this with PHP code, not everything belongs in the core..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 08:01:33 2024 UTC