tolgee / tolgee-platform

Developer & translator friendly web-based localization platform
https://tolgee.io
Other
1.82k stars 185 forks source link

Render Markdown in translation text if present #1298

Open jdimeo opened 2 years ago

jdimeo commented 2 years ago

Markdown is the "lingua franca" for conveying formatting through plain text, and it would be great if Tolgee ran translations through a Markdown renderer if enabled for a project so that translators could see how to preserve any formatting. For example, in this translation the first sentence should be bold on the left panel when not in edit mode.

image

JanCizmar commented 2 years ago

Hi there. You are right about markdown. The thing is it's not so trivial to support that in our JS integrations. We would have to add some support for that before rendering it in the editor. We plan to rewrite the logic in @tolgee/core library in following months so this is going to be one of the requirements.

JanCizmar commented 2 years ago

https://github.com/tolgee/tolgee-js/issues/3077

chogarcia commented 1 year ago

any update on this? looks like https://github.com/tolgee/tolgee-js/issues/3077 was almost there