Orbit OS is my free, open-source Android app that sets up a Google TV or Android TV from your phone over Wi-Fi: a calm home screen, the preinstalled ad and tracking apps switched off (never deleted), a phone remote, and one-tap Undo. Version 1.5 is on its way to Google Play, and the big change is that it now speaks 80 languages, on the phone and on the TV.
It started with an issue from a creator in Brazil asking for Portuguese. Adding one language felt like a patch, so I did all of them: every language Android offers.
Four things that made 80 languages manageable
1. The English text is the key. Every string in the phone UI goes through t("Looking for your TV"). The translations live in one JSON file per language, keyed by the English text, gettext style. There are no string IDs to invent, and a missing translation simply shows English.
2. Plurals are not "one vs many". Russian has one, few, many and other; Arabic has six forms; and in several languages "one" also covers 21 and 31. tn(n, "{n} app", "{n} apps") asks Intl.PluralRules for the category, and each language file holds every form its language needs.
3. Right to left is mostly free, if you let it be. Setting dir="rtl" on the page flips the layout for Arabic, Persian, Hebrew and Urdu. Only the navigation arrows need an explicit mirror; icons like Wi-Fi or a clock must not flip.
4. Tests guard the translations. A test walks every language file and checks that each translation keeps its placeholders ({name}, <b>…</b>) and has the plural forms its language needs. It caught more mistakes than I expected.
On the TV, Orbit Home reads its own words from a small JSON file per language (a tiny Words.java with an LRU cache), and the older launcher strings use Android's values-xx folders.
Also in 1.5
- Try before you set up: a 15-minute trial runs only Orbit Home on the TV, with nothing switched off. At the end you choose: set up, remove it, or not now.
- Finds your TV again: if the router hands the TV a new IP, the phone looks for it every 15 seconds and only takes over the TV that knows its pairing token.
- Said plainly on the first screen: no root, no firmware change; use Undo everything before a repair.
Links
- Google Play (1.5.1 is rolling out after Google's review): https://play.google.com/store/apps/details?id=dev.shiv.orbit
- Code (GPL-3.0): https://github.com/shivamj56/orbit-os
- Release notes: https://github.com/shivamj56/orbit-os/releases/tag/v1.5.1
Native speakers: if a translation reads wrong in your language, a one-line pull request is very welcome.
I build Orbit with AI coding tools, and this post was drafted with an AI assistant and checked against the code.
Top comments (0)