While testing add-ons translations, I keep running into add-ons that are not handling RTL properly. @Nick-Hall (and long ago, Rob) already fixed a few (Welcome, Prerequisite-checker…) but this 3 i’ve completed translating ‘placecleanup’, ’ PlaceCleanup’, and ‘PlaceCoordinateGramplet’ seems to aligne both side too
My question is, is there a way to set an Auto RTL mechanism for all addons/gramplets rather than tweak them one by one?
To solve the problems in the Welcome gramplet, try putting a right-to-left mark (RLM) character before the strings “Example.gramps” and “Start with Genealogy and Gramps” in your translation.
I could add them in the code after every bullet point, but this may have unwanted side-effects.
This isn’t actually an RTL issue. The dialog looks the same LTR.
It doesn’t conform to our UI guidelines, so it wouldn’t be accepted into core Gramps without some changes. However, we do accept contributions like this into the third-party addons repository.
The headings centred over the fields is unusual for Gramps and the spacings between widgets are inconsistent. I also agree that the placing of the “Latitude” and “Longitude” labels is weird. They are not even aligned to the edges of the widgets below them.
The auto direction of text in the entry widgets should be handled by Gtk without any extra code needed from us.