Link underline cuts after the first line in visual preview

So this is the scenario I’m facing:

When I’m adding more words to the first string the beginning of the link is being pushed to the second line and more words are now missing the underline:
![image|690x140](upload ://rxHTJms9saZOUD7GaokTUjPG9BR.png)

Minimizing the first string looks like this:
![image|690x136](upload ://5EJidGnJQltNMm9mwz9HsSvefjg.png)

It’s the string that reads Link to the wiki page too! (The exclamation mark is at the beginning due to RTL).

Thanks (if you can please remove the space between upload and : the images will appear, apparently I’m a noob here and I’m not allowed to post more than 1 embedded image).

Probably a limitation due to UI. Do you overreached “max translation length” character count? Possibly this breaks the look of translated previuw.

1 Like

I don’t think that’s the case, it’s a simple visual glitch related to whether the link is in a single or multiple lines, would it be easier if I share the link to this string?

If it’s a public available project with not credentials or secret data it would be helpful to have the link to that string in editor, I’d like to see it and check by myself as well.

If not and project contains some secret data, probably it would be better to message directly @Dima , he helped me once in private conversation, very nice and friendly.

1 Like

https://crowdin.com/translate/openfoodfacts/2598/en-he#204528
This is the term before the underlined text.

https://crowdin.com/translate/openfoodfacts/2598/en-he#204530
This is the term itself.

With RTL languages sometimes that happens, can’t be handled technically in all cases as far as I know. Should be way faster to fix it already on the export from Crowdin (in GitHub or in Visual Code) then wait for some fixes that might come in months (hard to predict all cases and needed system behavior).

1 Like

Indeed, well it shouldn’t affect the outcome, it’s only the preview.

When I’m adding more words to the first string the beginning of the link is being pushed to the second line and more words are now missing the underline:

Minimizing the first string looks like this:

These are the missing images.

It’s the point of RTL - LTR language behavior. I also guess it can’t be easily fixed otherwise it already works as you expect. Just fix on the export it case it affects it, if it’s only the preview - not the biggest issue, just pass it.

I can ignore many issues, that doesn’t mean it’s OK, it’s still a bug.

Hello, @Yaron hope you’re doing just great :slight_smile:

I would like to investigate this case, but I’m afraid the links you’ve shared wouldn’t be enough (just in case they might be removed with a file update or translation being changed).

Probably, you might have a chance to make a screen record that describes this case? If possible, with voice comments. You can share it with me via private message if you wish.