tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

Render Markdown in translation text if present

Open jdimeo opened this issue 1 year ago • 3 comments

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

jdimeo avatar Aug 09 '22 17:08 jdimeo

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 avatar Aug 10 '22 06:08 JanCizmar

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

JanCizmar avatar Aug 10 '22 06:08 JanCizmar

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

chogarcia avatar Jun 09 '23 11:06 chogarcia