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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wouter at grep dot be
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Mon Feb 16 21:00:01 2026 UTC