MenuDiscuss your projectLet's talk

Locale correctness for web & mobile

Lumo UI

Supporting open-source technology for interface correctness: digits, calendar, writing direction and screen-reader labels.

Open-source licence
MIT
Website
lumo-ui.com
Source
github.com/Telarsa/lumo-ui
Platforms
Web and Flutter
Checks
Writing direction, digits, calendars and screen-reader labels
In use
Every page of this website, on every build
Built for
Product teams building Persian or other right-to-left interfaces with shadcn/ui on the web or Flutter on mobile.Available

From this website’s build

Graded on every build, this one included.

Lumo checks every page this website exports, in all three languages. A single violation fails the build.

$ pnpm check
…
grade-static: 102 distinct HTML documents; root cannot overwrite English
…
  persian-digit-floor armed for 4 route(s)
  min-documents armed at 102 page(s)
  locales declared: en, de, fa — no segment is guessed
  lumo-gate — clean
  102 document(s) graded, 0 violation(s)
Lines from this website’s pnpm check output on 7 October 2026. Lumo grades every exported page, and the check fails on any violation.

Locale rules, checked rather than remembered.

  • Direction, digits and dates agree

    One language definition sets writing direction, digits and calendar together, so a Persian page that slips into Latin digits is caught as an error.

  • Calendars in context

    A Solar Hijri grid for an existing date picker, alongside locale-aware date and number formatting.

  • Web and Flutter

    The same language conventions on mobile, with formatting helpers and semantic checks.

What it does

Lumo UI checks for right-to-left and locale defects in digits, calendars, writing direction and screen-reader labels. It checks the HTML a website delivers, before JavaScript can hide a mistake.

A Persian interface needs more than a mirrored layout. Numbers, dates, labels and screen-reader names must follow the same language choices throughout the product.

Lumo gives a product one typed language definition for direction, digits, calendar and required labels, lint rules that catch right-to-left mistakes before a build ships, and a grader for the pages your users actually receive.

On the web it adds a Solar Hijri calendar to shadcn/ui's date picker, and for mobile apps there is a Flutter package. Automatic fixes cover common problems such as zero-width non-joiners and digits.

How it works

Define it once. Check every release.

Language choices become part of the development process.

  1. Set the locale

    Define language, direction, digits and calendar through one contract.

  2. Build with your components

    Use locale helpers alongside your chosen web or mobile UI tools.

  3. Check the output

    Source checks and the HTML grader find defects before the website is released.

Where it stands

Open source, and in daily use.

Public on GitHub under the MIT licence. Telarsa uses it in its own products, and it checks every page of this website, in three languages, on every build. A clean check is not a full accessibility review, and it does not judge whether the wording is natural; people still do that.

How we built it

Lumo UI: checks for what a Persian reader receives.

Our own open-source product. It checks every page of this website, so you can test the result yourself.

The problem

A Persian page can look right in a browser and still be wrong for its reader: Latin digits in a price, a Gregorian date, a screen-reader label left in English, or a writing direction that flips while the page loads.

What we decided

  1. Grade the page a reader actually receives, before any script runs, rather than the source code.
  2. Mark Latin names and codes by hand instead of guessing them, so an untranslated English sentence is still caught.
  3. Stay a set of checks, not a component library, so a team keeps the components it already uses.

Figures you can check

  • 15 rules checked in the page as delivered
  • 66 pages in this website’s sitemap, graded in three languages before every release
  • 0 problems allowed: a single one stops the release
  • MIT licence; the first stable release (1.0.0) is public on GitHub

Rule count and release from lumo-ui.com and GitHub, checked on 9 October 2026. The page count comes from this website’s own sitemap.

Before you ask

Questions & answers

See all questions

Shipping an interface in Persian?

Lumo UI is free and open source. Want this check on your own Persian site? We can build it into your project.