1
1
forked from iarv/meshview

Update multi-language support. So far Spanish and english.

This commit is contained in:
Pablo Revilla
2025-12-04 09:35:34 -08:00
parent ad42c1aeaf
commit 7744cedd8c
3 changed files with 20 additions and 5 deletions

View File

@@ -4,6 +4,21 @@
The project serves as a real-time monitoring and diagnostic tool for the Meshtastic mesh network. It provides detailed insights into network activity, including message traffic, node positions, and telemetry data.
## Version 3.0.1 — December 2025
### ✨ New Features
#### 🌐 Multi-Language Support (i18n)
- New `/api/lang` endpoint for serving translations
- Section-based translation loading (e.g., `?section=firehose`)
- Default language controlled via `site.language` in config
- JSON-based translation files for easy expansion
- Core pages updated to support `data-translate-lang` attributes
### 🛠 Improvements
- Updated UI elements across multiple templates for localization readiness
- General cleanup to support future language additions
### Version 3.0.0 update - November 2025
**Major Infrastructure Improvements:**

View File

@@ -3,8 +3,8 @@
import subprocess
from pathlib import Path
__version__ = "3.0.0"
__release_date__ = "2025-11-25"
__version__ = "3.0.1"
__release_date__ = "2025-12-4"
def get_git_revision():

View File

@@ -273,11 +273,11 @@ function applyTranslationsNode(dict, root=document) {
}
/* ======================================================
EXISTING NODE LOGIC (UNCHANGED)
====================================================== */
NODE LOGIC
====================================================== */
let nodeMap = {}, nodePositions = {}, map, markers = {};
let chartData = {}, neighborData = { ids:[], names:[], snrs:[] };
let chartData = {}, neighborData = { ids:[], <names></names>:[], snrs:[] };
let allNodes = [];
let fromNodeId = new URLSearchParams(window.location.search).get("from_node_id");
if (!fromNodeId) {