<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">I am using ppd compiler to generate PPD file.</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">I have included the following directives in drv file to get the localization support:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">#po en "../English/Localizable.strings"</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">#po fr "../French/Localizable.strings"</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">In strings files, I have the following key value pair:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">"3101" = "text:EnglishWarning" ;   ------ In English strings File</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">"3101" = "text:FrenchWarning" ;   ------ In French strings File</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">With 'Attribute cupsIPPReason com.mycompany.3101-warning: "3101"' in my drv file, I get the following commands in PPD file:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">*cupsIPPReason com.mycompany.3101-warning:: "3101"</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">*fr.cupsIPPReason com.mycompany.3101-warning:/cupsIPPReason: "text:FrenchWarning"</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">My problem is:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">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.</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">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.</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><font class="Apple-style-span" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; "><font class="Apple-style-span" size="3">Is there any way to make English also work in the same way as French?</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; min-height: 11px; "><br></div><div>
<div style="font-size: 14px; ">Regards,</div><div style="font-size: 14px; ">Sharad Joshi.</div><div style="font-size: 14px; "><br class="khtml-block-placeholder"></div><span class="Apple-style-span" style="font-size: 14px; "><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>______________________________________________________________________________
 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@celstream.com immediately.
______________________________________________________________________________</pre></font></td></tr></table>