Hello, I am trying to prepare a json file for translation in Studio 2022, but embedded content like , etc. appears as normal translatable text and is not protected and I couldn't find anyway to correct this.

Hello, I am trying to prepare a json file for translation in Studio 2022, but embedded content like , etc. appears as normal translatable text and is not protected and I couldn't find anyway to correct this.

I suggest you share your snippet as code from here:

Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
b p strong
Thank you Paul. Not sure how to use this. What I tried to insert are normal formatting tags I think: /b /strong /p
Can you provide a proper snippet of the json file? Just showing the html tags isn't helpful at all. For example:
{
"ad_box": {
"html": "<div class=\"ad_box\"><img class=\"banner\" src=\"some_ad.png\" alt=\"\" \/>
<h3>"Hot" Items <\/h3> <br \/> <ul id=\"items\" \/><\/div>",
"item_id": 1234,
"click_action":"/logAction?id=1234&type=click&info=blah",
"icon":"http://my.images.com/icons/icon.png"
}
}
Then it will be easier for someone to help you.
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
Thank you again! Sure, here's a snippet of the json file. (I have highlighted the tags in yellow.)
ok - it would have been more helpful if you just copy pasted the code itself rather than an image so I could show you how this works with your example. Anyway... I retyped one like this this:
{
"breach_summary": "<p>some text.</p><p><b>Some more text:</b><br/><ul><li>item 1</li><li>item 2</li></ul></p>",
"breach_cause": "<p>some text.</p><p><b>Some more text:</b><br/><ul><li>item 1</li><li>item 2</li></ul></p>",
"breach_detection": "<p>some text.</p><p><b>Some more text:</b><br/><ul><li>item 1</li><li>item 2</li></ul></p>"
}
I then set up the json filetype with this option:

Then I see this:

Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
Thanks a lot! I had tried this already and it did work but the whole file is divided just like in your screenshot so I had hoped there would be a more comfortable solution... If not, I suppose it will be ok for the translator.
There are also many other non translatable elements like these ones. Can I also protect these?


Like this?

Just check this option:

Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
There are also many other non translatable elements like these ones. Can I also protect these?
You have two choices at the moment:

Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub