diff --git a/.syncignore b/.syncignore new file mode 100644 index 0000000000..6119a0f90a --- /dev/null +++ b/.syncignore @@ -0,0 +1,21 @@ +# Frontend +**/node_modules +**/.next +**/.eslintrc.json +**/.jest.config.js +**/jest.config.jest +**/.prettierignore +**/.prettierrc.json +**/__tests__ +**/npm-debug.log +**/*__mocks__ + +# Ignore Python-Specific Files +**/.mypy_cache/ +**/.nox/ +**/.pytest_cache/ +**/__pycache__/ +**/.coverage +**/*.pyc +**/*.pyo +**/*.pyd diff --git a/CHANGELOG.md b/CHANGELOG.md index da860c0a62..840530157c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,12 +17,16 @@ The types of changes are: ## [Unreleased](https://github.com/ethyca/fides/compare/2.41.0...main) +### Added +- Add AWS Tags in the meta field for Fides system when using `fides generate` [#4998](https://github.com/ethyca/fides/pull/4998) + ### Changed - Moving Privacy Center endpoint logging behind debug flag [#5103](https://github.com/ethyca/fides/pull/5103) -## [2.41.0](https://github.com/ethyca/fides/compare/2.40.0...2.41.0) +### Developer Experience +- Add `.syncignore` to reduce file sync size with new volumes [#5104](https://github.com/ethyca/fides/pull/5104) -- Add AWS Tags in the meta field for Fides system when using `fides generate` [#4998](https://github.com/ethyca/fides/pull/4998). +## [2.41.0](https://github.com/ethyca/fides/compare/2.40.0...2.41.0) ### Added - Added erasure support for Alchemer integration [#4925](https://github.com/ethyca/fides/pull/4925) diff --git a/clients/fides-js/src/lib/initOverlay.ts b/clients/fides-js/src/lib/initOverlay.ts index 4f1f9b479c..881f1ccf78 100644 --- a/clients/fides-js/src/lib/initOverlay.ts +++ b/clients/fides-js/src/lib/initOverlay.ts @@ -51,12 +51,14 @@ export const initOverlay = async ({ ) { // if translations API fails or is empty, use the GVL object directly // as a fallback, since it already contains the english version of strings - gvlTranslations = { en: experience.gvl }; + gvlTranslations = {}; + gvlTranslations[DEFAULT_LOCALE] = experience.gvl; // eslint-disable-next-line no-param-reassign - experience.available_locales = ["en"]; + experience.available_locales = [DEFAULT_LOCALE]; i18n.setAvailableLanguages( - LOCALE_LANGUAGE_MAP.filter((lang) => lang.locale === "en") + LOCALE_LANGUAGE_MAP.filter((lang) => lang.locale === DEFAULT_LOCALE) ); + i18n.activate(DEFAULT_LOCALE); } loadMessagesFromGVLTranslations( i18n,