https://redmine.documentfoundation.org/https://redmine.documentfoundation.org/favicon.ico?16960560022021-03-16T14:01:40ZThe Document Foundation RedmineInfrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=214802021-03-16T14:01:40ZSophie Gautiergautier.sophie@gmail.com
<ul></ul><p>This seems corrected by this issue <a class="external" href="https://github.com/WeblateOrg/weblate/issues/4772">https://github.com/WeblateOrg/weblate/issues/4772</a><br />Could you comment on the bug if this is not the case? Thanks in advance</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=214822021-03-16T14:40:42ZEyal Rozenberg
<ul></ul><p>Sophie Gautier wrote:</p>
<blockquote>
<p>This seems corrected by this issue <a class="external" href="https://github.com/WeblateOrg/weblate/issues/4772">https://github.com/WeblateOrg/weblate/issues/4772</a></p>
</blockquote>
<p>That issue is about Hebrew quotation marks. Still, I've made a comment about MAQAF there, since Yaron mentioned it in a comment of his own.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=214832021-03-16T15:48:15ZSophie Gautiergautier.sophie@gmail.com
<ul></ul><p>Eyal Rozenberg wrote:</p>
<blockquote>
<p>Sophie Gautier wrote:</p>
<blockquote>
<p>This seems corrected by this issue <a class="external" href="https://github.com/WeblateOrg/weblate/issues/4772">https://github.com/WeblateOrg/weblate/issues/4772</a></p>
</blockquote>
<p>That issue is about Hebrew quotation marks. Still, I've made a comment about MAQAF there, since Yaron mentioned it in a comment of his own.</p>
</blockquote>
<p>Thanks! And I see that Adolfo recommended you to open another issue and gave you a workaround until it's corrected.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217392021-05-31T09:25:27ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Assignee</strong> set to <i>Christian Lohmaier</i></li></ul><p>Is this still a problem after the latest updates?<br />And if it is a font problem: what (free) webfont would be suitable to use instead?</p>
<p>(also please provide a link to a sample string, and ideally also a png of how it should be rendered, since honestly I wouldn't able to tell bad from good rendering)</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217412021-05-31T17:55:01ZEyal Rozenberg
<ul></ul><p>Christian Lohmaier wrote in <a href="#note-4">#note-4</a>:</p>
<blockquote>
<p>Is this still a problem after the latest updates?</p>
</blockquote>
<p>Yes, it's still a problem. I just checked again. See <a href="https://translations.documentfoundation.org/browse/libo_ui-master/glossary/he/" class="external">The glossary</a> or just a <a href="https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/he/?checksum=aecdd4bb240b8777" class="external">certain individual strings</a></p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217432021-06-01T13:19:24ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>File</strong> <a href="/attachments/3032">Bildschirmfoto von 2021-06-01 15-08-31.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3032/Bildschirmfoto%20von%202021-06-01%2015-08-31.png">Bildschirmfoto von 2021-06-01 15-08-31.png</a> added</li></ul><p>You unfortunately didn't provide a "how it should be" rendered, even when using a "Hebrew" font, it pretty much looks the same to me, the vertical alignment is a little different, and I can only assume that that is the problem here...</p>
<p>Anyhow <a class="external" href="https://jsfiddle.net/04bhy6pL/">https://jsfiddle.net/04bhy6pL/</a> is a short test as to see whether the rendering is OK and what kind you prefer. (western characters look a little too heavy when using just the Rubik font, but then again I have no idea how mixed text typically looks like for Hebrew) - and I just picked that font because it was first on the list when I limited the fonts to language Hebrew, sans-serif…<br />Not sure whether it is worth fixing, since after all I'd assume the users' browser would have a default set of fonts (the "sans-serif" alias) that would render their language properly?</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217442021-06-01T13:59:36ZAdolfo Jayme Barrientosfito@libreoffice.org
<ul></ul><p><a href="https://fonts.google.com/specimen/Assistant" class="external">This Source-derived design</a> has Hebrew characters. Maybe we could add it to our Weblate while (if at all) upstream considers it. WDYT, Eyal, Cloph?</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217472021-06-02T12:19:50ZChristian Lohmaiercloph@documentfoundation.org
<ul></ul><p>Thanks for the pointer, Assistant font of course would be more obvious choice if it is indeed meant as an addition to the Source Sans Pro font - updated jsfiddle with the font as additional example: <a class="external" href="https://jsfiddle.net/pbdja8xf/">https://jsfiddle.net/pbdja8xf/</a></p>
<p>For some reason though the font-weight is off compared to Source Sans, weird for a font that is meant to be used as an extension of an existing one. (just add two paragraphs with latin text, one set to font-family: "Source Sans Pro" and the other to font-family: "Assistant" - could also be that the css handed out by the google URL uses the wrong fonts, but both are specified in the returned css as style normal, with a weight of 400, but still pretty different in browser.</p>
<p>As to upstream: Since the font doesn't include Hebrew characters at all, and it is possible to just limit Assistant to Hebrew subset it might be worth adding it to upstream, although that then rises the question: when to stop adding fonts. Easy to argue for Assistant "it is an extension to the font you're already using", but of course other for other code-ranges it won't be that straight forward..<br />That brings me back to my other initial question: can't we "assume the users' browser would have a default set of fonts (the "sans-serif" alias) that would render their language properly"? Guess the answer is "no"?</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217482021-06-02T14:46:11ZEyal Rozenberg
<ul></ul><p>Adolfo Jayme Barrientos wrote in <a href="#note-7">#note-7</a>:</p>
<blockquote>
<p><a href="https://fonts.google.com/specimen/Assistant" class="external">This Source-derived design</a> has Hebrew characters. Maybe we could add it to our Weblate while (if at all) upstream considers it. WDYT, Eyal, Cloph?</p>
</blockquote>
<p>The MAQAF looks fine. Cantillation marks are missing, but I don't think we need those anywhere in the UI localization.</p>
<p>And - unfortunately, it seems that for now, users' browsers' default fonts can't be assumed to render Hebrew correctly. They can be assumed to render it legibly, though. So it is legitimate to say: "This is a browser problem, not a weblate problem". And I'm not even entirely against that, but then - I would like that someone higher-up in the project make a proper complaint to Mozilla, Google, Microsoft and Opera about this issue (after verifying that the problem is observed with all of their browsers.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=217932021-06-23T09:49:27ZFlorian Effenbergerfloeff@documentfoundation.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Target version</strong> set to <i>Q3/2021</i></li></ul><p>Cloph mailed Sophie for some feedback</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=218812021-07-19T10:04:41ZFlorian Effenbergerfloeff@documentfoundation.org
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li></ul><p>Will be done after 7.2</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=220322021-09-13T05:16:46ZAdolfo Jayme Barrientosfito@libreoffice.org
<ul></ul><p>The newly installed Weblate now uses a locally-served Source Sans 3 (instead of the old “Source Sans Pro” that is currently served on e.g. Google Fonts). Any comparison with the Assistant font should now be done with “Source Sans 3”, but still I don’t think anybody should expect a perfect down-to-the-pixel match between the two families — that is unreasonable.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221022021-10-15T17:41:43ZEyal Rozenberg
<ul></ul><blockquote>
<p>The newly installed Weblate now uses a locally-served Source Sans 3</p>
</blockquote>
<p>The issue still persists.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221032021-10-18T09:09:24ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>Hebrew now uses the Assistant with the Source font as fallback</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221052021-10-18T09:33:59ZEyal Rozenberg
<ul></ul><p>Christian Lohmaier wrote in <a href="#note-14">#note-14</a>:</p>
<blockquote>
<p>Hebrew now uses the Assistant with the Source font as fallback</p>
</blockquote>
<p>I don't know what that means, but the bug as described still persists. Please explain or unresolve it.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221062021-10-18T09:42:49ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>File</strong> <a href="/attachments/3071">Bildschirmfoto von 2021-10-18 11-35-24.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3071/Bildschirmfoto%20von%202021-10-18%2011-35-24.png">Bildschirmfoto von 2021-10-18 11-35-24.png</a> added</li><li><strong>File</strong> <a href="/attachments/3072">Bildschirmfoto von 2021-10-18 11-34-39.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3072/Bildschirmfoto%20von%202021-10-18%2011-34-39.png">Bildschirmfoto von 2021-10-18 11-34-39.png</a> added</li></ul><p>Weblate uses the Assistant font for the translation box as well as the nearby string listing. You did signal that the Assistant font renders the characters OK, so that's why I did use it.</p>
<p>The font is only added with the Hebrew subset, so latin text in hebrew string would still use the Source Sans Pro font, that's meant with the fallback.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221192021-10-21T20:09:14ZEyal Rozenberg
<ul></ul><p>Christian Lohmaier wrote in <a href="#note-16">#note-16</a>:</p>
<blockquote>
<p>You did signal that the Assistant font renders the characters OK, so that's why I did use it.</p>
</blockquote>
<p>I haven't actually checked what font is being used in the textboxes. But - your screenshots doesn't show any Hebrew punctuation marks at all - neither correctly nor incorrectly rendered.</p>
<p>But, wait, now I do see the MAQAF rendered correctly! Not when I select text, and the cursor position is messed up, but still. So, no need to unresolve I guess.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221322021-10-28T14:15:24ZChristian Lohmaiercloph@documentfoundation.org
<ul></ul><p>can you check again? the textedit mode wasn't included in the css rule, so that used the old fallbacks, and depending on your system that might have different metrics and cause some offset in cursor placement.<br />If you still have the problem, please provide a short screen recording demonstrating the problem.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221332021-10-28T21:15:49ZEyal Rozenberg
<ul></ul><p>Christian Lohmaier wrote in <a href="#note-18">#note-18</a>:</p>
<blockquote>
<p>can you check again? the textedit mode wasn't included in the css rule, so that used the old fallbacks, and depending on your system that might have different metrics and cause some offset in cursor placement.<br />If you still have the problem, please provide a short screen recording demonstrating the problem.</p>
</blockquote>
<p>Seems fine now, also when selecting text. Thank you.</p> Infrastructure - Task #3512: Weblate translation entry textbox doesn't properly support Hebrewhttps://redmine.documentfoundation.org/issues/3512?journal_id=221342021-10-30T21:15:37ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>thx for checking → closing.</p>