-
Notifications
You must be signed in to change notification settings - Fork 66
Use the JSON-LD keywords for international texts #2854
Copy link
Copy link
Closed
Labels
Ready for PRDiscussions on the issue or on the WG are mature enough to produce a PRDiscussions on the issue or on the WG are mature enough to produce a PRSpec-AnnotationsThe issue affects the EPUB Annotation specificationThe issue affects the EPUB Annotation specificationi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Metadata
Metadata
Assignees
Labels
Ready for PRDiscussions on the issue or on the WG are mature enough to produce a PRDiscussions on the issue or on the WG are mature enough to produce a PRSpec-AnnotationsThe issue affects the EPUB Annotation specificationThe issue affects the EPUB Annotation specificationi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Type
Projects
Status
Done
Section
https://w3c.github.io/epub-specs/epub34/annotations/#body
Describe the problem
The
Bodyobject uses thelanguageandtextDirectionterms for international texts. This is inherited from the Web Annotation spec, which was created when text directionality was not properly handled in JSON-LD. However, JSON-LD now has the@languageand@directionkeywords that properly covers this, see String Internationalization.Describe the fix or new feature you propose
I would propose to rely on the JSON-LD spec, possibly aliasing the
languageanddirectionterms to the keywords.