You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Translation Max Size feature with a .PO file, adding a replacement that contains a backslash () won't get recognised.
I already tried
Used both local replacements (adding comments to the .po file) and global replacements (Using the Settings of the Project's Component).
Tried to escape the character (writing \)
Tried to use quotation marks (writing "\")
To Reproduce the issue
Prepare a font typeface, add the proper font settings.
Have a source string that has a backslash. An example would be: \E0Welcome.
Add a replacement. Example: replacements:"\\E0":"" (the second quotation marks contain a zero-width space)
Translation Max Size graphical preview won't recognise the element, thus, the element to be replaced is still visible.
Expected behavior
Using my example, the element to be replaced should be replaced with zero-width space, and thus, become invisible.
Screenshots
Server configuration and status
Docker-based installation of Weblate, version 4.4.2. For more details, the admin of the server might be needed. An old version of the settings can be found here: #4136 (comment)
Additional context
Not that I can think about at the moment.
The text was updated successfully, but these errors were encountered:
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!
When using the Translation Max Size feature with a .PO file, adding a replacement that contains a backslash () won't get recognised.
I already tried
To Reproduce the issue
\E0Welcome.
replacements:"\\E0":""
(the second quotation marks contain a zero-width space)Expected behavior
Using my example, the element to be replaced should be replaced with zero-width space, and thus, become invisible.
Screenshots
Server configuration and status
Docker-based installation of Weblate, version 4.4.2. For more details, the admin of the server might be needed. An old version of the settings can be found here: #4136 (comment)
Additional context
Not that I can think about at the moment.
The text was updated successfully, but these errors were encountered: