<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><div class="im"><blockquote type="cite"><div><div><div><span style="white-space:pre-wrap">        </span>#TRANS: bow and arrow</div>
<div><div>
<span style="white-space:pre-wrap">        </span>activeDisplay = _("Bow")</div><div><br></div><div><span style="white-space:pre-wrap">        </span>#TRANS: the front of a ship</div><div><span style="white-space:pre-wrap">        </span>istrDisplay = _("Bow")</div>
</div></div></div></blockquote><div><br></div></div><div>Ooh interesting, not bumped into this need myself yet, but (as a cheat) it strikes me that gettext is using the given strings as IDs for its string lookups so you could replace your strings with _("Arrow|Bow") and<span> _("Ship|Bow"), then make sure the pot file actually has the correct Bow msgstr set. I think though what your really looking for is context support but have not tinkered other than a few min googling:</span></div>
<div class="im"><div><br></div></div></div></blockquote><div><br></div><div>Just to make sure I understand your solution, if the activity is run in an untranslated language, won't "Arrow|Bow" be displayed?</div>
<div><br></div><div>I was thinking to use "bow" and "bow ", and them trim all white space before displaying in an activity.</div></div>