Project: shop siyadatech.studio
2026-03-01 13:44:16
Issue description When the user manually switches the website language to English, the interface temporarily updates correctly. However, after refreshing the page or navigating to another route (e.g., going to “My Account” and returning to the public site), the language automatically switches back to Arabic. This indicates that the selected language preference is not being persistently stored or correctly restored during navigation and page reloads. Expected behavior When a user selects English, that choice should persist: After page refresh. After navigating between public pages. After navigating to authenticated pages (e.g., account dashboard) and returning. The language preference should remain consistent across the entire session and between sessions (unless the user changes it again). Acceptance criteria After selecting English, refreshing the page keeps the UI in English. Navigating to “My Account” and returning to the public site does not revert to Arabic. The selected language persists across route changes in SPA navigation. If a storage mechanism is used (e.g., localStorage, cookie, or user profile preference), the language is correctly read and applied on initial app load before UI rendering. No flicker occurs where Arabic loads briefly before switching to English.
index-CSP9K0az.js:12 🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙