unfoldingWord / gateway-edit

Book Package harmonized view.
https://gatewayedit.com
MIT License
1 stars 4 forks source link

tN card does not support RTL text typing in Original Quote field #532

Open elsylambert opened 1 year ago

elsylambert commented 1 year ago

tN card does not support RTL text typing in Original Quote field. If we paste Hebrew text in the Original Quote field, it does not work properly. The field will have to determine language direction dynamically because it could have Hebrew or Greek.

Determine the quote direction upon loading the book based on the direction of the original language.

DoD:

For the TN and TWL cards, Hebrew is displayed and edited in an RTL manner and Greek is in LTR.

Private Zenhub Image

birchamp commented 1 year ago

@PhotoNomad0 have we already figured out how to determine language direction in tC? Or is it always already known because of the project settings in tC?

PhotoNomad0 commented 1 year ago

@PhotoNomad0 have we already figured out how to determine language direction in tC? Or is it always already known because of the project settings in tC?

We use the language.json that we embed in each tC release.