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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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