diff --git a/.env b/.env index d884b033..b3da060b 100644 --- a/.env +++ b/.env @@ -10,6 +10,7 @@ DATA_API_BASE_URL='' SEGMENT_KEY='' FEATURE_FLAGS={} ACCESS_TOKEN_COOKIE_NAME='' +LANGUAGE_PREFERENCE_COOKIE_NAME='' NEW_RELIC_APP_ID='' NEW_RELIC_LICENSE_KEY='' SITE_NAME='' diff --git a/.env.development b/.env.development index feaaa0f7..da99835d 100644 --- a/.env.development +++ b/.env.development @@ -12,6 +12,7 @@ FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico CSRF_TOKEN_API_PATH='/csrf/api/v1/token' REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh' ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload' +LANGUAGE_PREFERENCE_COOKIE_NAME='openedx-language-preference' USER_INFO_COOKIE_NAME='edx-user-info' SITE_NAME=localhost DATA_API_BASE_URL='http://localhost:8000' diff --git a/package-lock.json b/package-lock.json index 1be6a0c1..0c3c781f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,8 @@ "@edx/brand": "npm:@edx/brand-openedx@^1.2.0", "@edx/frontend-component-footer": "^12.0.0", "@edx/frontend-component-header": "^4.0.0", - "@edx/frontend-platform": "^4.2.0", - "@edx/paragon": "^20.20.0", + "@edx/frontend-platform": "^4.3.0", + "@edx/paragon": "^20.28.4", "@edx/react-unit-test-utils": "1.5.3", "@edx/reactifex": "^2.1.1", "@fortawesome/fontawesome-svg-core": "^1.2.25", diff --git a/package.json b/package.json index cd1f0819..96b6f5e1 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "@edx/brand": "npm:@edx/brand-openedx@^1.2.0", "@edx/frontend-component-footer": "^12.0.0", "@edx/frontend-component-header": "^4.0.0", - "@edx/frontend-platform": "^4.2.0", - "@edx/paragon": "^20.20.0", + "@edx/frontend-platform": "^4.3.0", + "@edx/paragon": "^20.28.4", "@edx/reactifex": "^2.1.1", "@edx/react-unit-test-utils": "1.5.3", "@fortawesome/fontawesome-svg-core": "^1.2.25", diff --git a/src/i18n/index.js b/src/i18n/index.js index 2d8953ee..d8af36c4 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -1,5 +1,6 @@ import { messages as footerMessages } from '@edx/frontend-component-footer'; import { messages as headerMessages } from '@edx/frontend-component-header'; +import { messages as paragonMessages } from '@edx/paragon'; import arMessages from './messages/ar.json'; import deMessages from './messages/de.json'; @@ -31,6 +32,7 @@ const appMessages = { }; export default [ + paragonMessages, footerMessages, headerMessages, appMessages,