Hi all,
All three of these extensions now speak Spanish. The current releases — weewx-skyfield 1.16, weewx-celestial 7.7 and weewx-loopdata 6.7 — each ship a complete Spanish translation: the page prose, every panel string, the body names, the moon phases and compass points (as in WeeWX's own Spanish lang file), and all 88 constellation names, following the Spanish Wikipedia's Anexo:Constelaciones.
https://github.com/chaunceygardiner/weewx-skyfield
https://github.com/chaunceygardiner/weewx-celestial
https://github.com/chaunceygardiner/weewx-loopdata
One line in weewx.conf:
[StdReport]
[[Defaults]]
lang = es
switches every skin that ships Spanish — WeeWX's own Seasons skin included — in one go. Or set lang = es on an individual report's stanza ([[SkyfieldReport]], [[CelestialReport]], [[LoopDataReport]]) to switch just that page. English reports render exactly as before.
Screenshots of all three pages in Spanish are in the release notes:
https://github.com/chaunceygardiner/weewx-skyfield/releases/tag/v1.16
https://github.com/chaunceygardiner/weewx-celestial/releases/tag/v7.7
https://github.com/chaunceygardiner/weewx-loopdata/releases/tag/v6.7
(The celestial and loopdata pages were captured live from my own station, so you'll see Spanish labels over US units and English dates — units and dates follow each report's own settings and locale, not the lang file.)
The Spanish ships as Beta — meaning the words, not the code: everything works, but no native speaker has read it yet. The German and French translations left Beta exactly this way, each after a native speaker's review (thanks again, Christian and Jacques!) — and I'd love for the Spanish to follow.
If you run WeeWX in Spanish, or just read Spanish and have a few minutes: turn it on (or just read the screenshots in the release notes) and tell me what a Spanish-speaking user would say differently. Corrections big and small are welcome — as a reply here, a GitHub issue, or a pull request against skins/*/lang/es.conf. A few choices a reviewer may want to weigh in on: the zodiac constellations keep their hispanicized Latin names (Leo, not León), west is O (Oeste), and the neutral "constelación: X" phrasing sidesteps each constellation's article.
The Dutch translations (shipped last release) are likewise still awaiting a native reviewer — same invitation, mutatis mutandis.
A lang file is a self-contained, no-code contribution: each skin ships lang/en.conf as its reference dictionary, and a translation is that file with the right-hand sides in your language — partial is fine, every missing string falls back to English. If there is demand for more languages, I'm happy to do the work if you are willing to review the translated text.
Thanks,
John
