[Sugar-devel] internationalization: homonym handling in genpot?
erikb at mediamods.com
Fri Sep 10 13:17:42 EDT 2010
> #TRANS: bow and arrow
> activeDisplay = _("Bow")
> #TRANS: the front of a ship
> istrDisplay = _("Bow")
> 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 _("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:
Just to make sure I understand your solution, if the activity is run in an
untranslated language, won't "Arrow|Bow" be displayed?
I was thinking to use "bow" and "bow ", and them trim all white space before
displaying in an activity.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel