spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

Feature: Implement right to left language display

Open caaster opened this issue 4 months ago • 3 comments

Problem being solved

Certain languages such as Arabic must display in their native reading state which is right to left. Both Stanford and Harvard have implemented this and it needs to be added to Spotlight core.

Feature details

See: https://dlmenetwork.org/ar/library/home (Stanford) See: https://curiosity.lib.harvard.edu/coptica-at-harvard (Harvard)

Acceptance criteria

caaster avatar Aug 04 '25 22:08 caaster

Is this a duplicate of https://github.com/projectblacklight/spotlight/issues/3506 ?

corylown avatar Aug 05 '25 12:08 corylown

We've had luck recently with dir="auto" https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/dir https://github.com/pulibrary/dpul-collections/pull/576/files

@corylown #3506 appears to be about layout, where as this one looks like it's specifically about dir. It might make sense to combine them or work them together? But I don't think they're strictly duplicate.

hackartisan avatar Aug 05 '25 13:08 hackartisan

I think it probably makes sense to treat these as one issue with multiple requirements.

corylown avatar Aug 05 '25 13:08 corylown