-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text in some lessons is broken #5970
Comments
It's worth checking out the other lessons too. |
@ganicke is this a documentation issue? |
@abchatra - in a way, yes. Some of those icon type characters don't parse well when uploaded to Crowdin. Crowdin will terminate sentences early when encountered typically. |
@abchatra - So, I verified that the source arrives to Crowdin intact. It's when presented in the editor that they truncate strings on certain special characters. In some languages the translators have fixed this by adding the icon chars back in their translation. This seems to be a Crowdin issue. I could send them a bug report for this? |
Support message for this sent to Crowdin 10/16. Awaiting a response... |
@abchatra - So, I received a good response from Crowdin Support mentioning the possible use of segmentation rules to avoid breaks on the emoji/icon characters:
This does require, however, a segmentation (SRX) file added to support EACH source file needing custom segmentation. Otherwise, segmentation could be disabled on the source file and no strings would be parsed leaving the file as one blob text to translate in whole. Creating an SRX file for these chars would add a new rule to NOT break ( <rule break="no">
<beforebreak>[🎲⭐👋]</beforebreak>
<afterbreak>\s</afterbreak>
</rule> This doesn't seem like a practical solution at this point. Not sure if modifying the default SRX is possible where we could set the whole range of these emojis to not break.?.? |
In some lessons the text is broken due to some characters and makecode interrupts the display of the line.
The text was updated successfully, but these errors were encountered: