Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9fa0481
Add support for Hungarian
sundeepnarang Aug 12, 2025
ae06e85
Hungarian po and js files
sundeepnarang Aug 12, 2025
73477be
Hungarian BE json file
sundeepnarang Aug 12, 2025
6742966
More updates and add hu to language switcher
sundeepnarang Aug 24, 2025
055d902
Fix: Adjust event stats after order cancellation (#729)
daveearley Aug 28, 2025
b6bdb65
Fix custom branding logos (#745)
creativeindustriesgroup Aug 31, 2025
14e1562
Add order level questions and answers to Attendee Export. (#719)
sundeepnarang Aug 31, 2025
759ae6c
Feature: Customer event emails (#748)
daveearley Aug 31, 2025
ea53081
Logout doesnt wait for api call, refirects to login and fails to logo…
sundeepnarang Aug 31, 2025
b5c2a8f
Require Stripe account to enable messaging (#749)
daveearley Aug 31, 2025
a2a6d14
Support multiple stripe platforms (#750)
daveearley Sep 2, 2025
90e0b48
Add support for 2D barcode scanners in check-in app (#751)
daveearley Sep 2, 2025
16dc0ed
Require Stripe account to enable messaging (#752)
daveearley Sep 2, 2025
24e8a2f
Fix height of collapses products on event page (#756)
daveearley Sep 4, 2025
aa9a107
Fix attendee name validation (#755)
daveearley Sep 4, 2025
5bc7034
Ignore taxes and fees for free orders (#754)
daveearley Sep 4, 2025
b0bcb86
Feature: Ticket Designer (Ticket branding, logo and disclaimer suppor…
daveearley Oct 1, 2025
5a70de0
Feature: Stripe migration (#805)
daveearley Oct 9, 2025
a47db64
Translation: Add Turkish locales (#679)
Ardakilic Oct 9, 2025
f29db91
Fix: Organizer homepage UI tweaks (#806)
daveearley Oct 10, 2025
1060882
Fix: Organizer contact form for logged out users (#807)
daveearley Oct 10, 2025
c3056c5
Fix: Events for other organizers not showing (#808)
daveearley Oct 10, 2025
e600711
Email template updates (#824)
daveearley Oct 15, 2025
57d7f17
Feature: Improve Docker image tagging (#825)
daveearley Oct 15, 2025
3c28546
Fix: Unable to re-assign orders on sold out events (#826)
daveearley Oct 15, 2025
4bc73c1
Merge branch 'develop' into v1.2.0-alpha.1
daveearley Oct 15, 2025
b01d918
Fix duplicating ticket logo (#827)
daveearley Oct 15, 2025
ab6074b
Fix duplicating ticket logo (#829)
daveearley Oct 15, 2025
d0f09ec
UTM updates (#830)
daveearley Oct 16, 2025
3db09dd
Merge branch 'v1.2.0-alpha.1' into addHuSupport
daveearley Oct 23, 2025
98b1fcb
Merge branch 'develop' into addHuSupport
daveearley Oct 23, 2025
88869c2
Lang updates
daveearley Oct 23, 2025
a54ff2e
Merge branch 'develop' into addHuSupport
daveearley Oct 23, 2025
c6c4bac
Unrelated changes
daveearley Oct 23, 2025
191d82f
Update locales.ts
daveearley Oct 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/app/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ enum Locale: string
case FR = 'fr';
case IT = 'it';
case NL = 'nl';
case HU = 'hu';
case ES = 'es';
case PT = 'pt';
case PT_BR = 'pt-br';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ private function updateAccountVerificationStatus(AccountStripePlatformDomainObje
);
}
}
}
}
423 changes: 423 additions & 0 deletions backend/lang/hu.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/lingui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const config: LinguiConfig = {
"es", // Spanish
"fr", // French
"nl", // Dutch
"hu", // Hungarian
"pt-br", // Portuguese (Brazil)
"ru", // Russian
"de", // German
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/common/LanguageSwitcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export const LanguageSwitcher = () => {
// Ideally these would be in the locales.ts file, but when they're there they don't translate
const getLocaleName = (locale: SupportedLocales): string => {
switch (locale) {
case "hu":
return t`Hungarian`;
case "de":
return t`German`;
case "en":
Expand Down
24 changes: 22 additions & 2 deletions frontend/src/locales.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
import {i18n} from "@lingui/core";
import {t} from "@lingui/macro";

export type SupportedLocales = "en" | "de" | "fr" | "it" | "nl" | "pt" | "es" | "zh-cn" | "pt-br" | "vi" |"zh-hk" | "tr";
export type SupportedLocales =
"en"
| "de"
| "fr"
| "it"
| "nl"
| "pt"
| "es"
| "zh-cn"
| "pt-br"
| "vi"
| "zh-hk"
| "tr"
| "hu";

export const availableLocales = ["en", "de", "fr", "it", "nl", "pt", "es", "zh-cn", "zh-hk", "pt-br", "vi", "tr"];
export const availableLocales = ["en", "de", "fr", "it", "nl", "pt", "es", "zh-cn", "zh-hk", "pt-br", "vi", "tr", "hu"];

export const localeToFlagEmojiMap: Record<SupportedLocales, string> = {
en: '🇬🇧',
Expand All @@ -18,6 +31,7 @@ export const localeToFlagEmojiMap: Record<SupportedLocales, string> = {
"pt-br": '🇧🇷',
vi: '🇻🇳',
tr: '🇹🇷',
hu: '🇭🇺',
};

export const localeToNameMap: Record<SupportedLocales, string> = {
Expand All @@ -33,6 +47,7 @@ export const localeToNameMap: Record<SupportedLocales, string> = {
"pt-br": `Portuguese (Brazil)`,
vi: `Vietnamese`,
tr: `Turkish`,
hu: `Hungarian`,
};

export const getLocaleName = (locale: SupportedLocales) => {
Expand All @@ -58,10 +73,15 @@ export const getClientLocale = () => {
};

export async function dynamicActivateLocale(locale: string) {
try {
locale = availableLocales.includes(locale) ? locale : "en";
const module = (await import(`./locales/${locale}.po`));
i18n.load(locale, module.messages);
i18n.activate(locale);
} catch (error) {
console.error("Error loading locale:", error);
// i18n.activate("en");
}
}

export const getSupportedLocale = (userLocale: string) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/locales/de.js

Large diffs are not rendered by default.

Loading
Loading