Skip to content

Use the JSON-LD keywords for international texts #2854

@iherman

Description

@iherman

Section

https://w3c.github.io/epub-specs/epub34/annotations/#body

Describe the problem

The Body object uses the language and textDirection terms 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 @language and @direction keywords 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 language and direction terms to the keywords.

Metadata

Metadata

Assignees

Labels

Ready for PRDiscussions on the issue or on the WG are mature enough to produce a PRSpec-AnnotationsThe issue affects the EPUB Annotation specificationi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions