oddmash.
All projects

Library

Juliya

Language-aware wrapping for readable text.

Juliya measures available width and evaluates language-specific phrase boundaries in Korean, English, Japanese and Simplified Chinese. It preserves inline markup and explicit breaks, and works in common frameworks and plain HTML.

Current Juliya landing page with multilingual playground and line break comparison
Current Juliya landing page with multilingual playground and line break comparison

Let the sentence shape the line.

A headline can look balanced on a desktop and awkward on a phone. Character counts and fixed breaks ignore the actual font, available width and rules of each language. Juliya considers those together instead of asking you to maintain a different line break for every screen.

  1. Read the context

    Determine whether the text is Korean, English, Japanese or Simplified Chinese, then measure the space in which it will be displayed.

  2. Choose break points

    Apply language-specific boundaries and prefer balanced lines within the measured width. Recalculate when the container or font changes.

  3. Keep the original content

    Preserve explicit line breaks and nested inline markup, including emphasis and links. Only the presentation of the text changes.

Readable typography across layouts

A product localized into four languages can use the same headings and paragraphs at narrow and wide screen sizes instead of inserting manual breaks for each translation.

  • Width-aware line breaks
  • Independent language-specific boundary scoring
  • Framework and plain HTML support

Where it fits

React, Next.js, Vue, Svelte and plain HTML are supported. The rules are heuristic rather than a full language analysis, and are best suited to headings and short passages. The live comparison below demonstrates actual wrapping.

Juliya / Live

Try multilingual wrapping

Select a language to compare the same sentence at the same width. Adjust the width to compare actual wrapping.

The live comparison needs JavaScript. Visit the Juliya playground to try it.

Homepage