aboutsummaryrefslogtreecommitdiffstats
path: root/tools/translate-italian-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Italiano. coinos speaks Italian: all 1,445 strings (the fullest of the ↵Adam Soltys7 days1-101/+0
| | | | | | | locales — the others carry 923 or fewer and fall back to English), placeholders checked, informal "tu", wallet = portafoglio. An Italian phone now opens coinos in Italian, and posts translate into Italian because that's the app's language. The "phone language" translation fallback reads the app's own LANGS (no second list), and its test moved to a Dutch phone: tools/translate-phone-lang-test.js. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
* Translation: into the phone's language, and DeepL with your own key. ↵Adam Soltys7 days1-0/+101
isolabellart saw the Translate button but nothing became Italian: the target was the app's language, coinos has no Italian UI (so it ran in English), and the language guess didn't know Italian. Posts now translate into the reader's choice (Settings → Nostr → Translation, any of 31 languages), else the phone's language when the app has no UI for it, else the app's; the guess knows Italian, Dutch and Polish. And, as Jumble offers: a DeepL API key of your own, kept on the device and sent per request as x-deepl-key — the registrar passes it to DeepL (api-free for ":fx" keys; DeepL refuses browsers) and never stores or logs it; a refused key or used-up quota says so once. names: translateDeepl (prose only, links/tags kept, detected source back, 401/402/422 statuses), CORS allows the header. Deployed to cs names. tools/translate-italian-test.js, tools/deepl-translate.test.js. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3