From ec93db58fe3a9bcfebfbc62f2b6000e8c03d1ee3 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Date: Tue, 9 Sep 2025 10:26:06 +0530 Subject: [PATCH] fix(i18n,client): add note for deployment issues (#62093) --- client/src/pages/learn.tsx | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/client/src/pages/learn.tsx b/client/src/pages/learn.tsx index fdc1af4ad97..de07a4ed630 100644 --- a/client/src/pages/learn.tsx +++ b/client/src/pages/learn.tsx @@ -4,7 +4,7 @@ import Helmet from 'react-helmet'; import { useTranslation } from 'react-i18next'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; -import { Container, Col, Row, Spacer } from '@freecodecamp/ui'; +import { Container, Col, Row, Spacer, Callout } from '@freecodecamp/ui'; import Intro from '../components/Intro'; import Map from '../components/Map'; @@ -16,6 +16,8 @@ import { } from '../redux/selectors'; import callGA from '../analytics/call-ga'; +import { clientLocale } from '../../config/env.json'; +import createLanguageRedirect from '../components/create-language-redirect'; interface FetchState { pending: boolean; @@ -99,6 +101,33 @@ function LearnPage({ onLearnDonationAlertClick={onLearnDonationAlertClick} isDonating={isDonating} /> + {clientLocale === 'english' ? null : ( + <> + + +

+ + Warning: The localized content in this language is not + being updated. + +

+

+ Your previous progress is being saved, but you should{' '} + + visit the English version + {' '} + for up to date content. We recognize this is not ideal and + are working to fix it. +

+

We appreciate your patience.

+
+ + )}