bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Context for gettext strings


From: Vernon Meiers
Subject: Context for gettext strings
Date: Fri, 20 Oct 2006 09:27:26 +0200

This is a feature request. I am using gettext withy PHP. Most often, the
context is important when translating strings.
Would it be possible to implement an optional comment strings for
translators, that would explain the reason for the message, so that
translating is easier?
E.g. we could have in the po files:

msgid "this text need to be translated"
msgcom "this text explains in which situation the string is displayed"
msgstr "this text is the translated string"

While gettext would be called as (in PHP) gettext("this text need to be
translated","this text explains in which situation the string is displayed")

 Vernon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]