2026-03-15

TrueBabyCost Translation + UI Polish Sprint (13:02 → 22:35 UTC)

Fixes Completed

Translation System (Monitors)

  • Monitors page was missing <script src="js/product-i18n.js"> — no translations rendering
  • Added script tag; all monitor labels now translate correctly

Calculator Labels Across All Pages

  • Formula: slider labels (Ounces/Day, Months), result cards (Daily Cost, Monthly Cost, Cans Needed)
  • Wipes: slider labels (Wipes Per Change, Changes/Day, Duration), result cards
  • Bottles: feeding method, quality, accessories dropdowns
  • Monitors: monitor type, subscription, years labels
  • Breast Pumps: insurance callout body text now translates per region (ACA for US, provincial for CA, IMSS/ISSSTE for MX, Seguridad Social for ES)

Hidden Math Sections

  • Added hiddenMathText key to all product JSON files
  • Each product has region-specific hidden math callout (diapers: 4000+, formula: breastfeeding comparison, wipes: 25,000+ wipes, bottles: nipple replacement, monitors: subscription trap)

Sensitive Copy Revision

  • Formula: Rewrote “Breastfeeding costs 1,200-$3,500/year” comparison
  • New text: “How you feed your baby is a personal decision with no wrong answer. If formula is part of your plan — fully or partially — this calculator helps you budget for it…”
  • Avoids implying one feeding method is “cheaper” or superior

Nav Improvements

  • Added “REGION” and “LANGUAGE” labels above country/language pickers on all 7 product pages
  • Used wrapper divs with tiny uppercase labels (nav-picker-wrap + nav-picker-label classes)
  • Helps users distinguish which picker controls what

Strollers Page — Major Redesign

  1. Background: Changed from beige (—bg: f9f6f1) to green (—primary: 4A6B4D) to match other products

    • Other product pages were accidentally green because their <nav> tag never closed
    • Strollers + Monitors had properly closed navs, so beige showed
    • Now all pages intentionally use green body background
  2. Nav Structure: Copied exact nav from diapers (was wrapping on strollers due to too many items + brand font size 1.25rem)

    • Reduced brand font to 1.05rem + added white-space: nowrap
    • Now fits properly with hamburger + pickers on one line
  3. Container Colors:

    • Email capture: Dark forest green gradient (#1a3d2a → 2d5a3d) with white border — stands out from main content
    • Main content area: Added main.container { background: white; border-radius: 20px 20px 0 0; } for white card effect
    • Filter picker section (#view-match): Light sage background (#f0f4f1) with subtle green border (#4A6B4D at 12% opacity)

Testing Notes

  • Monitors: All language switches now work (was completely broken)
  • Formula: Breastfeeding section is now neutral (Adam’s feedback on respectfulness)
  • Strollers: Green background, white card content, dark email box, sage filter area = clear visual hierarchy
  • All 7 product pages now consistent: green body → white card → themed subcontainers

Deployments

Known Issues Resolved

  • Backup cron script missing (script exists, was false alarm from 03:00 UTC log)
  • Monitors no translation (was missing JS import)
  • Strollers nav wrapping (font reduced + nav replaced)
  • Green/beige background mismatch (all intentional green now)
  • Formula breastfeeding copy insensitive (rewritten)

Remaining Optional Work

  • Stroller images (11 wrong, 12 iffy per audit) — lower priority
  • Awin Mexico affiliate approval — waiting on their end