Feature · Reach
Language is data, not a branch in the code.
Book Fork ships 60 languages and derives their script, region, native name and text direction from CLDR. There is no language-specific branch in the code, no embedded RTL list, and no left-to-right assumption baked into the pipeline.
One registry, many scripts.
The language registry holds BCP-47 and ISO 639 codes, native names, scripts and directions. Sentence segmentation is language-aware through pysbd — Persian, Arabic, German, Japanese, Chinese and more — and falls back to paragraph-level when a language or a marked-up block calls for it.
Adding a language is creating a record with its code; names, scripts and direction come from CLDR unless you override them. You can extend the registry without touching the translation engine.
Direction follows the metadata.
A sample from the seeded registry.
| Language | Native name | Direction |
|---|---|---|
| English | English | LTR |
| Persian | فارسی | RTL |
| Arabic | العربية | RTL |
| Hebrew | עברית | RTL |
| Urdu | اردو | RTL |
| Japanese | 日本語 | LTR |
| Chinese | 中文 | LTR |
| Armenian | Հայերեն | LTR |
Also seeded.
- Deutsch
- Français
- Español
- Português
- Italiano
- Русский
- Українська
- Türkçe
- हिन्दी
- বাংলা
- தமிழ்
- മലയാളം
- 한국어
- Tiếng Việt
- ไทย
- Ελληνικά
- Svenska
- Norsk
Pick any pair the registry knows.
Choose a source — or auto-detect it — and any target. Book Fork resolves the rest from configuration.