Skip to content

I18n data#205

Merged
JayPanoz merged 5 commits into
developfrom
i18n-data
May 11, 2026
Merged

I18n data#205
JayPanoz merged 5 commits into
developfrom
i18n-data

Conversation

@JayPanoz
Copy link
Copy Markdown
Contributor

@JayPanoz JayPanoz commented May 5, 2026

This implements i18n-data from Readium CSS (readium/css#230)

Primarily, this leverages the lineHeightCompensation for the language in order to adjust the line-height presets to the publication’s language/script.

E.g. for Japanese, if ThLineHeight.loose is 1.75 it will be 2 – and 1.75 will be the value for normal, which is to be expected as line-height is generally 10–20% more in Japanese – otherwise our loose value would be what is expected as normal.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 5, 2026

Deploying thorium-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6badbdb
Status: ✅  Deploy successful!
Preview URL: https://089c8931.thorium-web.pages.dev
Branch Preview URL: https://i18n-data.thorium-web.pages.dev

View logs

@JayPanoz JayPanoz marked this pull request as ready for review May 5, 2026 11:58
@JayPanoz JayPanoz merged commit f6a714c into develop May 11, 2026
1 check passed
@JayPanoz JayPanoz deleted the i18n-data branch May 11, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant