From 5226c771f8038050d32bd939f6e2d7189a9a549d Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sat, 14 Feb 2026 12:25:58 +0000 Subject: [PATCH] Debug: Add i18n logging to find missing translations --- botlib | 2 +- botserver | 2 +- botui | 2 +- console-output-after-fix.txt | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 console-output-after-fix.txt diff --git a/botlib b/botlib index 30786e2..e0f0006 160000 --- a/botlib +++ b/botlib @@ -1 +1 @@ -Subproject commit 30786e2cf8314654cd480a80dd1e06d7114112d8 +Subproject commit e0f00060cbba6691020f8ac9910ca681fc4b9c1e diff --git a/botserver b/botserver index 4b44602..0c44f77 160000 --- a/botserver +++ b/botserver @@ -1 +1 @@ -Subproject commit 4b44602d391a45599019f7ef8326d09491e36ed7 +Subproject commit 0c44f7784dcea03516fb8db470c42037cc1282ae diff --git a/botui b/botui index be80220..fb66708 160000 --- a/botui +++ b/botui @@ -1 +1 @@ -Subproject commit be802201fda2c176be391115a2d4fa9ecf0c421d +Subproject commit fb66708cdcff39b50fe1ff4f595f0fdb7b847da9 diff --git a/console-output-after-fix.txt b/console-output-after-fix.txt new file mode 100644 index 0000000..987f527 --- /dev/null +++ b/console-output-after-fix.txt @@ -0,0 +1,33 @@ +Total messages: 31 (Errors: 0, Warnings: 1) + +[LOG] [GBSecurity] HTMX interceptor registered @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:172 +[LOG] [GBSecurity] Fetch interceptor registered @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:224 +[LOG] [GBSecurity] XHR interceptor registered @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:269 +[LOG] [GBSecurity] Security bootstrap initialized @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:125 +[LOG] [GBSecurity] Current token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:126 +[LOG] [ErrorReporter] Client-side error reporting initialized @ http://localhost:3000/suite/js/error-reporter.js?v=20260207c:102 +[LOG] [GBSecurity] fetch intercepted: /api/i18n/en token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] [GBSecurity] fetch intercepted: /api/product token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] [GBSecurity] fetch intercepted: /api/product token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] [NavigationLogger] Navigation tracking initialized @ http://localhost:3000/suite/js/error-reporter.js?v=20260207c:152 +[LOG] Initializing HTMX application... @ http://localhost:3000/cristo/suite/js/htmx-app.js:560 +[LOG] ✓ Theme Manager initialized @ http://localhost:3000/cristo/suite/js/theme-manager.js:130 +[LOG] HTMX application initialized @ http://localhost:3000/cristo/suite/js/htmx-app.js:580 +[LOG] 🤖 Bot detected from path: cristo @ http://localhost:3000/cristo/suite/js/suite_app.js:722 +[LOG] 🚀 Initializing General Bots with HTMX... @ http://localhost:3000/cristo/suite/js/suite_app.js:748 +[LOG] [GBSecurity] fetch intercepted: /api/bot/config?bot_name=cristo token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] No auth token found - user is signed out @ http://localhost:3000/cristo/suite/js/suite_app.js:1296 +[LOG] ✓ Theme loaded: ☀️ Light @ http://localhost:3000/cristo/suite/js/theme-manager.js:79 +[LOG] ✅ Bot 'cristo' is public - authentication not required @ http://localhost:3000/cristo/suite/js/suite_app.js:737 +[LOG] [GBSecurity] htmx:configRequest for: /suite/chat/chat.html token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:146 +[WARNING] [GBSecurity] NO TOKEN - request will be unauthenticated @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:157 +[LOG] [GBSecurity] fetch intercepted: /api/bot/config?bot_name=cristo token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] [GBSecurity] fetch intercepted: /api/auth?bot_name=cristo token: NONE @ http://localhost:3000/suite/js/security-bootstrap.js?v=20260207b:184 +[LOG] Chat module initialized with @ mentions support @ :1048 +[LOG] Bot config loaded: {color1: #3b82f6, color2: #f5deb3, title: cristo} @ :936 +[LOG] Auth: {currentUserId: 042f12c8-7151-4bf3-bd7b-5f8cfd560735, currentSessionId: ecc69ce7-2419-4da7-a149-3c62a1a0af90, currentBotId: 11873f09-9251-4e92-92fa-8de8cabaae7a, currentBotName: cristo} @ :961 +[LOG] WebSocket connected @ :822 +[LOG] Chat WebSocket received: {bot_id: 11873f09-9251-4e92-92fa-8de8cabaae7a, message: Connected to bot server, session_id: ecc69ce7-2419-4da7-a149-3c62a1a0af90, type: connected, user_id: 042f12c8-7151-4bf3-bd7b-5f8cfd560735} @ :830 +[LOG] Chat WebSocket received: {bot_id: 11873f09-9251-4e92-92fa-8de8cabaae7a, user_id: 042f12c8-7151-4bf3-bd7b-5f8cfd560735, session_id: ecc69ce7-2419-4da7-a149-3c62a1a0af90, channel: web, content: Olá! Sou o assistente virtual do Santuário Cristo …sobre celebrações, eventos, visitação ou orações?} @ :830 +[LOG] Processing bot response: {bot_id: 11873f09-9251-4e92-92fa-8de8cabaae7a, user_id: 042f12c8-7151-4bf3-bd7b-5f8cfd560735, session_id: ecc69ce7-2419-4da7-a149-3c62a1a0af90, channel: web, content: Olá! Sou o assistente virtual do Santuário Cristo …sobre celebrações, eventos, visitação ou orações?} @ :858 +[LOG] Rendering 10 suggestions @ :707 \ No newline at end of file