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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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 04 07:01:31 2024 UTC