[cups.general] ppdc and cupsIPPReason
Sharad Joshi
sharadchandra.raghunath.joshi at celstream.com
Mon Oct 10 03:05:21 PDT 2011
I am using ppd compiler to generate PPD file.
I have included the following directives in drv file to get the localization support:
#po en "../English/Localizable.strings"
#po fr "../French/Localizable.strings"
In strings files, I have the following key value pair:
"3101" = "text:EnglishWarning" ; ------ In English strings File
"3101" = "text:FrenchWarning" ; ------ In French strings File
With 'Attribute cupsIPPReason com.mycompany.3101-warning: "3101"' in my drv file, I get the following commands in PPD file:
*cupsIPPReason com.mycompany.3101-warning:: "3101"
*fr.cupsIPPReason com.mycompany.3101-warning:/cupsIPPReason: "text:FrenchWarning"
My problem is:
In generated PPD file, for English, "3101" is used as value/message but for French, it is treated as key, and the corresponding value for "3101" key is picked up from french Localizable.strings.
So why the same behavior is not seen for English. Why ppdc does not pick up the corresponding value for key "3101" from English Localizable.strings. But rather it treats "3101" itself as the message.
Is there any way to make English also work in the same way as French?
Regards,
Sharad Joshi.
______________________________________________________________________________
DISCLAIMER: This electronic message and any attachments to this electronic
message is intended for the exclusive use of the addressee(s) named herein
and may contain legally privileged and confidential information. It is the
property of Celstream Technologies Pvt Limited. If you are not the intended
recipient, you are hereby strictly notified not to copy, forward, distribute
or use this message or any attachments thereto. If you have received this
message in error, please delete it and all copies thereof, from your system
and notify the sender at Celstream Technologies or
administrator at celstream.com immediately.
______________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20111010/517a7516/attachment-0001.html>
More information about the cups
mailing list