feat(i18n): LibreTranslate fallback for customs (free, self-hosted)
Use official Habbo translations where available; fall back to self-hosted LibreTranslate (http://127.0.0.1:5000, host-network, 7 languages) for custom furni with no official translation. Patch path (single imports) translates name/description via LibreTranslate (en -> nl/de/fr/es/tr/it) with persistent cache (.translations_libre_cache.json) and caches 6h for official maps. Full rebuilds stay official-only to avoid 500k+ API calls; customs are translated incrementally per import. LibreTranslate URL configurable via site setting libretranslate_url. Docker: host-network fix for DNS.
This commit is contained in:
1 parent
8bb339cc49
commit
01a3ba6e39
1 file changed
+160
-11