Internationalization (i18n) of Lastbook's search and chat
Raw Developer Origin & Technical Request
GitHub Issue
Nov 14, 2026
Hi! I work in localisation and had a read through Lastbook's code with an eye on other languages. Really nice project. It isn't localised yet, which is fair at 1.1.8, but a few English-only assumptions sit in the search pipeline, where they'd quietly hurt non-English users before any UI translation happens. Notes below in case they're useful.
### Search drops non-English text (worth fixing even while the app stays English-only)
- **`retrieval.py:83-93`**: `readable()` only indexes passages with enough common English words. I re-created the logic and tried a water-safety paragraph: the English version passes; the Spanish, French and Chinese versions are all dropped, so they never reach meaning-based search.
- **`web/app.js:880`**: the guide search splits queries on `[^a-z0-9]+`, so "niño" becomes "ni" + "o" and both get dropped, and a Chinese query comes out empty. `Intl.Segmenter` would fix it, and it helps English too ("jalapeño" splits the same way).
- **`retrieval.py:21`**: `bge-small-en-v1.5` is English-only per its model card, which points to `bge-m3` for other languages.
- Stopwords, synonyms and phrase maps (`server.py:257, 261, 312`, `web/app.js:878`) and the topic `keywords` are English constants. Per-language files would make them translatable later.
### Before a second language
- All UI text lives in code: the JS templates, Python labels sent to the UI (`TRUST`, `SHELVES`, `VROWS`, `HELP` in `server.py`), the macOS menus and the Windows setup stub. One message ...
Developer Debate & Comments
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from Immortal-Protocols/lastbook.
Frequently Asked Questions
Market intelligence mapped to Internationalization (i18n) of Lastbook's search and chat.
How is Internationalization (i18n) of Lastbook's search and chat positioned in the market?
What is the general sentiment around Internationalization (i18n) of Lastbook's search and chat?
What architecture is tied to Internationalization (i18n) of Lastbook's search and chat?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like localisation and i18n readiness in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- localisation: 1 records
- i18n readiness: 1 records
- English-only assumptions: 1 records
- search pipeline: 1 records
- retrieval.py:83-93: 1 records
- readable(): 1 records
- common English words: 1 records
- meaning-based search: 1 records
- web/app.js:880: 1 records
- guide search splits queries on `[^a-z0-9]+`: 1 records
- Intl.Segmenter: 1 records
- bge-small-en-v1.5: 1 records
- bge-m3: 1 records
- stopwords, synonyms and phrase maps: 1 records
- server.py:257, 261, 312: 1 records
- web/app.js:878: 1 records
- topic keywords: 1 records
- Per-language files: 1 records
- UI text lives in code: 1 records
- JS templates: 1 records
- Python labels: 1 records
- macOS menus: 1 records
- Windows setup stub: 1 records
SaaS Metrics