hedy icon indicating copy to clipboard operation
hedy copied to clipboard

[BUG] Non-English error text (Arabic) includes the keyword highlighted in English

Open alaaeddin-swidan opened this issue 3 years ago • 1 comments

Describe the bug Working in a non English language (Arabic) and encountering a "Missing Inner Command" error, the error text is in Arabic, but it includes the highlighted keyword in English although the code is written completely in Arabic.

Paste the Hedy code & level For example, executing this code in Level 8 كرر ٥ مرة قول "علاء الدين" generates the following error text: يبدو أنك نسيت استخدام أمر برمجي مع الجملة repeat التي استعملتها في السطر رقم 1.

Add a screenshot (optional) image

Expected behavior Expected is to have the keyword in the same language used in the command window, in my case Arabic. Alternatively the error text will be: يبدو أنك نسيت استخدام أمر برمجي مع الجملة كرر التي استعملتها في السطر رقم 1.

alaaeddin-swidan avatar Jun 16 '22 08:06 alaaeddin-swidan

I think this is a larger issue where the error messages are not being parsed with the user keyword language. Will look into this!

TiBiBa avatar Jul 18 '22 13:07 TiBiBa