GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: RTL

Open github-actions[bot] opened this issue 1 year ago • 2 comments

Description

This experimental extension adds the RTL Mark character to identify text as right to left (Arabic, for example). It provides the option to use Right-to-Left Override to enforce the direction, however it reverses left-to-right text.

How to use the extension

Add the behavior and the extension will work automatically if the text is 100% rtl characters and won't affect if the text ltr. If you enabled override, it will force RTL and reverse ltr text.

Checklist

  • [X] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

RTL Example.zip

Extension file

RTL.zip

github-actions[bot] avatar May 09 '24 10:05 github-actions[bot]

Thank you for submitting an extension.

Please, can you explain which issues you faced and how you solved them with the extension with some instances of sentences?

Is it related to this issue?

  • https://github.com/4ian/GDevelop/issues/5693

D8H avatar May 11 '24 09:05 D8H

Hello, D8H.

Is it related to this issue?

  • Punctuation is misplaced when RTL text is used in TextObject (Right To Left) 4ian/GDevelop#5693

Yes, it is.

EyadMahm0ud avatar May 13 '24 13:05 EyadMahm0ud