zooniverse / Translator

Zooniverse Translations
Apache License 2.0
1 stars 2 forks source link

Translators see escaped strings #9

Closed murraycu closed 9 years ago

murraycu commented 9 years ago

I guess it's a bug that XML entities are showing up in strings like this, instead of the translator UI unescaping and escaping:

" Some spiral galaxies are rather complicated, so don't be afraid to use the "more than 4" or "can't tell" buttons here. "

Not only is this confusing to (non-programmer) translators, this introduces a new source of runtime errors by letting translators get the entities (or other escaping) wrong.

parrish commented 9 years ago

I agree. Unfortunately, sometimes it's unavoidable to mix html entities into translations simply due to how different languages are structured.

I'm closing the issue, but am happy to revisit it if you suggest a possible alternative.

murraycu commented 9 years ago

I guess you need to make the escaping and unescaping dependent on the language used and you could turn it on for one language at a time. I guess you have config files somewhere for each project though I don't see these in git. You could specify the language, or the string encoding, there.