[zanata-bugs] [Bug 1066733] RFE: Allow translator to see the original content of a generic tag

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 15 03:10:05 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1066733



--- Comment #2 from David Mason <damason at redhat.com> ---
Technical note:

The tag substitution happens at the moment in
OkapiFilterAdapter.getTranslatableText(...), so that is the place to look for
the utility methods that are doing the tag substitution at the moment. Also see
TranslatableSeparator.groovy for the code that strips surrounding
non-translatable portions from around a string.

Okapi uses TextFragment to represent text that has inline codepoints
representing the location of tags, and uses Code to represent the codes.

Check out these classes, and probably others in the same package:

 - net.sf.okapi.common.resource.TextFragment
 - net.sf.okapi.common.resource.Code may be useful for reference.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=wnUk6a0uvV&a=cc_unsubscribe




More information about the zanata-bugs mailing list