From 7d9c7a8c22832f6d1c96d2da56b3398a8dd53093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Fri, 21 Jun 2024 05:29:40 -0600 Subject: [PATCH] feat: Add Hungarian support (#14484) * add: Hungarian support * Update next-i18next.config.js * Fix test --------- Co-authored-by: Alex van Andel Co-authored-by: Peer Richelsen Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Co-authored-by: Keith Williams Co-authored-by: Hariom --- apps/web/playwright/locale.e2e.ts | 3 +-- packages/config/next-i18next.config.js | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/playwright/locale.e2e.ts b/apps/web/playwright/locale.e2e.ts index eb05cf26f4..6158db37ed 100644 --- a/apps/web/playwright/locale.e2e.ts +++ b/apps/web/playwright/locale.e2e.ts @@ -496,11 +496,10 @@ test.describe("authorized user sees changed translations (de->pt-BR) [locale1]", await test.step("should change the language and show Brazil-Portuguese translations", async () => { await page.goto("/settings/my-account/general"); - await page.waitForLoadState("domcontentloaded"); await page.locator(".bg-default > div > div:nth-child(2)").first().click(); - await page.locator("#react-select-2-option-14").click(); + await page.locator("text=Português (Brasil)").click(); await page.getByRole("button", { name: "Aktualisieren" }).click(); diff --git a/packages/config/next-i18next.config.js b/packages/config/next-i18next.config.js index ad617bbb82..df31336d5c 100644 --- a/packages/config/next-i18next.config.js +++ b/packages/config/next-i18next.config.js @@ -14,8 +14,10 @@ const config = { "es", "fr", "he", + "hu", "it", "ja", + "km", "ko", "nl", "no", @@ -31,7 +33,6 @@ const config = { "vi", "zh-CN", "zh-TW", - "km", ], }, fallbackLng: {