The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 21:00 UTC
feat(mobile): switch the settings language (#33169)
maria committed
Nov 12, 2026 at 00:03 UTC
6eef4accedea3fdc104b62b3050be13cea6fb04e
26 files changed
+755
-76
apps/mobile/gt.config.json
new
+9
@@ -0,0 +1,9 @@
1
+{
2
+ "defaultLocale": "en",
3
+ "locales": ["es", "zh", "pt-BR", "fr", "de", "ja", "ko", "ru"],
4
+ "files": {
5
+ "gt": {
6
+ "output": "src/i18n/translations/[locale].json"
7
+ }
8
+ }
9
+}
apps/mobile/package.json
+7
@@ -9,6 +9,8 @@
9
"dev:client:reset": "APP_VARIANT=development expo start --dev-client --scheme t3code-dev --clear --lan",
10
"dev:client:preview-env": "eas env:exec preview 'EXPO_NO_DOTENV=1 APP_VARIANT=development expo start --dev-client --scheme t3code-dev --lan --port 0'",
11
"dev:client:preview": "eas env:exec preview 'EXPO_NO_DOTENV=1 APP_VARIANT=preview expo start --dev-client --scheme t3code-preview --lan'",
12
+ "i18n:generate": "gt generate",
13
+ "i18n:translate": "gt translate",
14
"start": "expo start",
15
"start:dev": "APP_VARIANT=development expo start",
16
"start:preview": "APP_VARIANT=preview expo start",
@@ -58,6 +60,9 @@
60
"@expo-google-fonts/dm-sans": "^0.4.2",
61
"@expo/metro-runtime": "~58.0.17",
62
"@expo/ui": "58.0.27",
63
+ "@formatjs/intl-displaynames": "6.8.13",
64
+ "@formatjs/intl-getcanonicallocales": "2.5.6",
65
+ "@formatjs/intl-locale": "4.2.13",
66
"@legendapp/list": "catalog:",
67
"@material/material-color-utilities": "0.3.0",
68
"@pierre/diffs": "catalog:",
@@ -116,6 +121,7 @@
121
"expo-video": "58.0.13",
122
"expo-web-browser": "~58.0.7",
123
"expo-widgets": "58.0.27",
124
+ "gt-react-native": "11.4.18",
125
"pele": "catalog:",
126
"react": "catalog:",
127
"react-dom": "catalog:",
@@ -148,6 +154,7 @@
154
"@types/react-dom": "catalog:",
155
"aws4fetch": "1.0.20",
156
"babel-preset-expo": "~58.0.24",
157
+ "gt": "2.27.0",
158
"jsdom": "^30.0.1",
159
"nitrogen": "0.37.2",
160
"tailwindcss": "^4.0.0"
apps/mobile/src/Stack.tsx
+6
@@ -96,6 +96,7 @@ import { SettingsAuthRouteScreen } from "./features/settings/SettingsAuthRouteSc
96
import { SettingsEnvironmentDetailRouteScreen } from "./features/settings/SettingsEnvironmentDetailRouteScreen";
97
import { SettingsEnvironmentsRouteScreen } from "./features/settings/SettingsEnvironmentsRouteScreen";
98
import { SettingsFollowUpRouteScreen } from "./features/settings/SettingsFollowUpRouteScreen";
99
+import { SettingsLanguageRouteScreen } from "./features/settings/SettingsLanguageRouteScreen";
100
import {
101
SettingsEnvironmentMaintenanceRouteScreen,
102
SettingsThreadsRouteScreen,
@@ -257,6 +258,11 @@ const SETTINGS_SCREENS = {
258
linking: "settings/organization",
259
options: settingsPage("General"),
260
}),
261
+ SettingsLanguage: createNativeStackScreen({
262
+ screen: SettingsLanguageRouteScreen,
263
+ linking: "settings/language",
264
+ options: settingsPage("Language"),
265
+ }),
266
SettingsProjectOverview: createNativeStackScreen({
267
screen: SettingsProjectOverviewRouteScreen,
268
linking: "settings/project",
apps/mobile/src/features/settings/SettingsLanguageRouteScreen.tsx
new
+58
@@ -0,0 +1,58 @@
1
+import { ScreenScrollView as ScrollView } from "../../components/ui/ScreenScrollView";
2
+import { useAtomSet, useAtomValue } from "@effect/atom-react";
3
+import { AsyncResult } from "effect/reactivity";
4
+import { useSafeAreaInsets } from "react-native-safe-area-context";
5
+
6
+import { I18nProvider, useGT, useLanguagePreference } from "../../i18n/I18nProvider";
7
+import { SYSTEM_LANGUAGE, nativeLanguageName } from "@t3tools/client-runtime/locales";
8
+import { SUPPORTED_LOCALES } from "../../i18n/locales";
9
+import { mobilePreferencesAtom, updateMobilePreferencesAtom } from "../../state/preferences";
10
+import { ListChoiceRow as SettingsChoiceRow } from "../../components/ui/ListChoiceRow";
11
+import { SettingsSection } from "./components/SettingsSection";
12
+import { SettingsScreen } from "./components/SettingsScreen";
13
+
14
+export function SettingsLanguageRouteScreen() {
15
+ return (
16
+ <I18nProvider>
17
+ <LanguageSettings />
18
+ </I18nProvider>
19
+ );
20
+}
21
+
22
+function LanguageSettings() {
23
+ const gt = useGT();
24
+ const insets = useSafeAreaInsets();
25
+ const preferencesResult = useAtomValue(mobilePreferencesAtom);
26
+ const savePreferences = useAtomSet(updateMobilePreferencesAtom);
27
+ const preferencesReady = AsyncResult.isSuccess(preferencesResult) && !preferencesResult.waiting;
28
+ const language = useLanguagePreference();
29
+ const options = [
30
+ { language: SYSTEM_LANGUAGE, label: gt("System default") },
31
+ ...SUPPORTED_LOCALES.map((locale) => ({ language: locale, label: nativeLanguageName(locale) })),
32
+ ];
33
+
34
+ return (
35
+ <SettingsScreen title={gt("Language")}>
36
+ <ScrollView
37
+ contentInsetAdjustmentBehavior="automatic"
38
+ showsVerticalScrollIndicator={false}
39
+ className="flex-1"
40
+ contentContainerClassName="gap-3 px-5 pt-4"
41
+ contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
42
+ >
43
+ <SettingsSection>
44
+ {options.map((option, index) => (
45
+ <SettingsChoiceRow
46
+ key={option.language}
47
+ label={option.label}
48
+ selected={preferencesReady && language === option.language}
49
+ separated={index > 0}
50
+ disabled={!preferencesReady}
51
+ onPress={() => savePreferences({ language: option.language })}
52
+ />
53
+ ))}
54
+ </SettingsSection>
55
+ </ScrollView>
56
+ </SettingsScreen>
57
+ );
58
+}
apps/mobile/src/features/settings/SettingsRouteScreen.tsx
+73
-34
@@ -33,6 +33,9 @@ import { useSettingsEnvironmentMenu } from "./components/SettingsEnvironmentFilt
33
import { useSettingsEnvironmentFilter } from "./settings-environment-filter";
34
import { filterSettingsSections } from "./settings-search";
35
import { usePaneRole } from "../../components/ui/Pane";
36
+import { I18nProvider, useGT, useLanguagePreference } from "../../i18n/I18nProvider";
37
+import { nativeLanguageName } from "@t3tools/client-runtime/locales";
38
+import { SUPPORTED_LOCALES } from "../../i18n/locales";
39
40
export function SettingsRouteScreen() {
41
const list = useSettingsListPlacement();
@@ -45,7 +48,9 @@ export function WorkspaceSettingsList() {
48
return (
49
<SettingsSidebarContext value={list.sidebar ? { selected: list.selected } : null}>
50
<View className="flex-1 bg-screen">
48
- <SettingsListContent />
51
+ <I18nProvider>
52
+ <SettingsListContent />
53
+ </I18nProvider>
54
</View>
55
</SettingsSidebarContext>
56
);
@@ -73,13 +78,25 @@ export function SettingsListScreen(props: {
78
readonly sidebar: boolean;
79
readonly selected: string | null;
80
}) {
81
+ return (
82
+ <I18nProvider>
83
+ <TranslatedSettingsListScreen {...props} />
84
+ </I18nProvider>
85
+ );
86
+}
87
+
88
+function TranslatedSettingsListScreen(props: {
89
+ readonly sidebar: boolean;
90
+ readonly selected: string | null;
91
+}) {
92
+ const gt = useGT();
93
const workspace = useWorkspaceTabs();
94
const environmentMenu = useSettingsEnvironmentMenu();
95
return (
96
<SettingsSidebarContext value={props.sidebar ? { selected: props.selected } : null}>
97
<View className="flex-1 bg-screen">
98
<SettingsScreen
82
- title="Settings"
99
+ title={gt("Settings")}
100
workspaceRoot={props.sidebar}
101
menus={[environmentMenu]}
102
search={
@@ -88,7 +105,7 @@ export function SettingsListScreen(props: {
105
value: workspace.state.tabs.settings.query,
106
onChangeText: (query) =>
107
workspace.dispatch({ type: "query", tab: "settings", query }),
91
- placeholder: "Search settings",
108
+ placeholder: gt("Search settings"),
109
}
110
: undefined
111
}
@@ -108,15 +125,16 @@ interface SettingsListSection {
125
}
126
127
function ConfiguredSettingsRouteScreen() {
128
+ const gt = useGT();
129
const navigation = useNavigation();
130
const { isLoaded, isSignedIn } = useAuth({ treatPendingAsSignedOut: false });
131
const { user } = useUser();
132
const { savedConnectionsById } = useSavedRemoteConnections();
133
const accountLabel = !isLoaded
116
- ? "Checking"
134
+ ? gt("Checking")
135
: !isSignedIn
118
- ? "Sign in"
119
- : (user?.primaryEmailAddress?.emailAddress ?? "Signed in");
136
+ ? gt("Sign in")
137
+ : (user?.primaryEmailAddress?.emailAddress ?? gt("Signed in"));
138
139
return (
140
<SettingsList
@@ -124,16 +142,16 @@ function ConfiguredSettingsRouteScreen() {
142
{
143
id: "account",
144
icon: "person.crop.circle",
127
- label: "T3 Account",
145
+ label: gt("T3 Account"),
146
value: accountLabel,
147
disabled: !isLoaded,
148
onPress: () => navigation.navigate("SettingsAuth"),
149
},
132
- environmentsRow(Object.keys(savedConnectionsById).length),
150
+ environmentsRow(gt("Environments"), Object.keys(savedConnectionsById).length),
151
{
152
id: "SettingsNotifications",
153
icon: "bell.badge",
136
- label: "Notifications",
154
+ label: gt("Notifications"),
155
target: "SettingsNotifications",
156
},
157
]}
@@ -142,15 +160,20 @@ function ConfiguredSettingsRouteScreen() {
160
}
161
162
function LocalSettingsRouteScreen() {
163
+ const gt = useGT();
164
const { savedConnectionsById } = useSavedRemoteConnections();
146
- return <SettingsList connections={[environmentsRow(Object.keys(savedConnectionsById).length)]} />;
165
+ return (
166
+ <SettingsList
167
+ connections={[environmentsRow(gt("Environments"), Object.keys(savedConnectionsById).length)]}
168
+ />
169
+ );
170
}
171
149
-function environmentsRow(count: number): SettingsListRow {
172
+function environmentsRow(label: string, count: number): SettingsListRow {
173
return {
174
id: "SettingsEnvironments",
175
icon: "desktopcomputer",
153
- label: "Environments",
176
+ label,
177
value: `${count}`,
178
valuePosition: "trailing",
179
target: "SettingsEnvironments",
@@ -158,6 +181,7 @@ function environmentsRow(count: number): SettingsListRow {
181
}
182
183
function SettingsList(props: { readonly connections: readonly SettingsListRow[] }) {
184
+ const gt = useGT();
185
// UIKit's scroll-edge material takes the scroll view's own color; like the chat list, match
186
// the sidebar's surface so the bar doesn't darken over content at rest.
187
// Grouped cards only lift off the screen surface; the drawer is as dark as they are.
@@ -170,7 +194,11 @@ function SettingsList(props: { readonly connections: readonly SettingsListRow[]
194
const overflowRows = useOverflowRows();
195
const indexSections = useSettingsIndexSections();
196
const sections = filterSettingsSections(
173
- [{ rows: overflowRows }, { title: "Connections", rows: props.connections }, ...indexSections],
197
+ [
198
+ { rows: overflowRows },
199
+ { title: gt("Connections"), rows: props.connections },
200
+ ...indexSections,
201
+ ],
202
query,
203
);
204
@@ -202,8 +230,8 @@ function SettingsList(props: { readonly connections: readonly SettingsListRow[]
230
) : (
231
<EmptyState
232
variant="plain"
205
- title="No results"
206
- detail={`No settings match “${query.trim()}”.`}
233
+ title={gt("No results")}
234
+ detail={gt("No settings match “{query}”.", { query: query.trim() })}
235
/>
236
)}
237
</ScrollView>
@@ -212,6 +240,8 @@ function SettingsList(props: { readonly connections: readonly SettingsListRow[]
240
}
241
242
function useSettingsIndexSections(): SettingsListSection[] {
243
+ const gt = useGT();
244
+ const language = useLanguagePreference();
245
const { selectedTargets, projectGroups, selectedProjectKey } = useSettingsEnvironmentFilter();
246
const noServerTargets = selectedTargets.length === 0;
247
const selectedProject = projectGroups.find((group) => group.key === selectedProjectKey);
@@ -227,7 +257,7 @@ function useSettingsIndexSections(): SettingsListSection[] {
257
representative: scopedProjectMembers[0]!,
258
members: scopedProjectMembers,
259
})
230
- : (selectedProject?.label ?? "Unavailable project");
260
+ : (selectedProject?.label ?? gt("Unavailable project"));
261
const page = (
262
target: SettingsPageTarget,
263
icon: SettingsListRow["icon"],
@@ -240,43 +270,52 @@ function useSettingsIndexSections(): SettingsListSection[] {
270
return [
271
{
272
rows: [
243
- page("SettingsOrganization", "gearshape", "General"),
244
- page("SettingsAppearance", "paintbrush", "Appearance"),
245
- page("SettingsFollowUp", "bubble.left.and.bubble.right", "Chat"),
273
+ page("SettingsOrganization", "gearshape", gt("General")),
274
+ page("SettingsAppearance", "paintbrush", gt("Appearance")),
275
+ page("SettingsLanguage", "globe", gt("Language"), {
276
+ value: SUPPORTED_LOCALES.includes(language)
277
+ ? nativeLanguageName(language)
278
+ : gt("System default"),
279
+ }),
280
+ page("SettingsFollowUp", "bubble.left.and.bubble.right", gt("Chat")),
281
...(navigationCustomizationAvailable()
247
- ? [page("SettingsNavigation", "line.3.horizontal", "Navigation tabs")]
282
+ ? [page("SettingsNavigation", "line.3.horizontal", gt("Navigation tabs"))]
283
: []),
249
- page("SettingsKeyboard", "keyboard", "Keyboard"),
250
- page("SettingsVoice", "mic", "Voice"),
284
+ page("SettingsKeyboard", "keyboard", gt("Keyboard")),
285
+ page("SettingsVoice", "mic", gt("Voice")),
286
],
287
},
288
{
254
- title: "Agents",
289
+ title: gt("Agents"),
290
rows: [
256
- serverPage("SettingsProviderAccounts", "person.crop.circle", "Providers"),
257
- serverPage("SettingsThreads", "text.bubble", "Threads"),
258
- page("SettingsScheduledTasks", "clock", "Scheduled tasks"),
291
+ serverPage("SettingsProviderAccounts", "person.crop.circle", gt("Providers")),
292
+ serverPage("SettingsThreads", "text.bubble", gt("Threads")),
293
+ page("SettingsScheduledTasks", "clock", gt("Scheduled tasks")),
294
],
295
},
296
{
262
- title: "Code",
297
+ title: gt("Code"),
298
rows: [
299
page(
300
"SettingsProjectOverview",
301
"folder",
267
- "Projects",
302
+ gt("Projects"),
303
selectedProjectKey !== null ? { value: projectLabel } : undefined,
304
),
270
- serverPage("SettingsEnvironmentSourceControl", "arrow.triangle.branch", "Source control"),
271
- serverPage("SettingsWorktrees", "square.on.square", "Worktrees"),
305
+ serverPage(
306
+ "SettingsEnvironmentSourceControl",
307
+ "arrow.triangle.branch",
308
+ gt("Source control"),
309
+ ),
310
+ serverPage("SettingsWorktrees", "square.on.square", gt("Worktrees")),
311
],
312
},
313
{
314
rows: [
276
- serverPage("SettingsEnvironmentMaintenance", "arrow.clockwise", "Maintenance"),
277
- page("SettingsLabs", "flask", "Labs"),
278
- page("SettingsAbout", "info.circle", "About"),
279
- page("SettingsArchive", "archivebox", "Archive"),
315
+ serverPage("SettingsEnvironmentMaintenance", "arrow.clockwise", gt("Maintenance")),
316
+ page("SettingsLabs", "flask", gt("Labs")),
317
+ page("SettingsAbout", "info.circle", gt("About")),
318
+ page("SettingsArchive", "archivebox", gt("Archive")),
319
],
320
},
321
];
apps/mobile/src/features/settings/components/settings-page-targets.ts
+1
@@ -6,6 +6,7 @@ export const SETTINGS_PAGE_TARGETS = [
6
"SettingsAbout",
7
"SettingsArchive",
8
"SettingsAppearance",
9
+ "SettingsLanguage",
10
"SettingsNavigation",
11
"SettingsOrganization",
12
"SettingsProjectOverview",
apps/mobile/src/features/settings/settings-search.ts
+1
@@ -33,6 +33,7 @@ const SETTINGS_SEARCH_TERMS = {
33
"zen",
34
"final answers only",
35
],
36
+ SettingsLanguage: ["language", "locale", "translation", "english"],
37
SettingsNavigation: ["tabs", "tab order", "reorder", "hide tabs"],
38
SettingsKeyboard: ["return key", "send message", "new line", "hardware keyboard"],
39
SettingsVoice: [
apps/mobile/src/i18n/I18nProvider.tsx
new
+76
@@ -0,0 +1,76 @@
1
+import "./intl-polyfills";
2
+import { resolveLocale } from "@t3tools/client-runtime/locales";
3
+import { useAtomValue } from "@effect/atom-react";
4
+import { AsyncResult } from "effect/reactivity";
5
+import { GTProvider, initializeGT } from "gt-react-native";
6
+import { useDeferredValue, type ReactNode } from "react";
7
+import { Platform, TurboModuleRegistry, View, type TurboModule } from "react-native";
8
+
9
+import { mobilePreferencesAtom } from "../state/preferences";
10
+import { DEFAULT_LOCALE, SUPPORTED_LOCALES } from "./locales";
11
+import de from "./translations/de.json";
12
+import es from "./translations/es.json";
13
+import fr from "./translations/fr.json";
14
+import ja from "./translations/ja.json";
15
+import ko from "./translations/ko.json";
16
+import ptBR from "./translations/pt-BR.json";
17
+import ru from "./translations/ru.json";
18
+import zh from "./translations/zh.json";
19
+
20
+// Screens import GT from here so the polyfills above always load first.
21
+export { useGT } from "gt-react-native";
22
+
23
+// Committed catalogs, so forks and offline installs never reach GT's CDN. English is the source.
24
+const TRANSLATIONS: Readonly<Record<string, Record<string, string>>> = {
25
+ es,
26
+ zh,
27
+ "pt-BR": ptBR,
28
+ fr,
29
+ de,
30
+ ja,
31
+ ko,
32
+ ru,
33
+};
34
+
35
+initializeGT({
36
+ defaultLocale: DEFAULT_LOCALE,
37
+ locales: [...SUPPORTED_LOCALES],
38
+ loadTranslations: async (locale: string) => TRANSLATIONS[locale] ?? {},
39
+});
40
+
41
+// Read the device languages from gt-react-native's own native module: GT's getLocale() prefers
42
+// the last locale passed to GTProvider, which it persists, so it can't express "system".
43
+function readSystemLocales(): ReadonlyArray<string> {
44
+ try {
45
+ const locales =
46
+ TurboModuleRegistry.get<{ getNativeLocales(): string[] } & TurboModule>(
47
+ "GtReactNative",
48
+ )?.getNativeLocales() ?? [];
49
+ // On iOS the first entry is NSLocale.currentLocale, whose language is the app's bundle
50
+ // localization (English only), not the user's; preferredLanguages follow it.
51
+ return Platform.OS === "ios" ? locales.slice(1) : locales;
52
+ } catch {
53
+ return [];
54
+ }
55
+}
56
+
57
+export function useLanguagePreference(): string {
58
+ const preferences = useAtomValue(mobilePreferencesAtom);
59
+ return AsyncResult.isSuccess(preferences)
60
+ ? (preferences.value.language ?? DEFAULT_LOCALE)
61
+ : DEFAULT_LOCALE;
62
+}
63
+
64
+/** Translates the screens inside it into the saved language; "system" follows the device. */
65
+export function I18nProvider(props: { readonly children: ReactNode }) {
66
+ // GT suspends while a locale's catalog loads. Deferring the switch keeps the current language
67
+ // on screen until then, instead of GT's full-screen spinner.
68
+ const locale = useDeferredValue(
69
+ resolveLocale(useLanguagePreference(), readSystemLocales(), SUPPORTED_LOCALES, DEFAULT_LOCALE),
70
+ );
71
+ return (
72
+ <GTProvider locale={locale} fallback={<View className="flex-1 bg-screen" />}>
73
+ {props.children}
74
+ </GTProvider>
75
+ );
76
+}
apps/mobile/src/i18n/intl-polyfills.ts
new
+6
@@ -0,0 +1,6 @@
1
+// GT validates every locale with Intl.Locale and English Intl.DisplayNames, which Hermes lacks.
2
+// gt-react-native's Babel plugin would inject these; plain imports keep the Metro and Babel config unchanged.
3
+import "@formatjs/intl-getcanonicallocales/polyfill";
4
+import "@formatjs/intl-locale/polyfill";
5
+import "@formatjs/intl-displaynames/polyfill";
6
+import "@formatjs/intl-displaynames/locale-data/en";
apps/mobile/src/i18n/locales.ts
new
+4
@@ -0,0 +1,4 @@
1
+import gtConfig from "../../gt.config.json";
2
+
3
+export const DEFAULT_LOCALE = gtConfig.defaultLocale;
4
+export const SUPPORTED_LOCALES: ReadonlyArray<string> = [DEFAULT_LOCALE, ...gtConfig.locales];
apps/mobile/src/i18n/translations/de.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "Systemstandard",
3
+ "2c1c93a646bbea6e": "Sprache",
4
+ "0a75e464d833bca8": "Einstellungen",
5
+ "858561b97fdd72f2": "Einstellungen durchsuchen",
6
+ "79e4d73c1bc8cf45": "Wird geprüft",
7
+ "4681c4c9541539a4": "Anmelden",
8
+ "9e8db85a88bbfa4a": "Angemeldet",
9
+ "bd7ace2d408d814b": "T3-Konto",
10
+ "b5adbf54cbefee38": "Umgebungen",
11
+ "e1483914168d6b8e": "Benachrichtigungen",
12
+ "1a07e4d043f5df4e": "Verbindungen",
13
+ "3d1e7ff5894d00dd": "Keine Ergebnisse",
14
+ "1be65659f947b808": "Keine Einstellungen für „{query}“ gefunden.",
15
+ "1cf216566c1ee064": "Projekt nicht verfügbar",
16
+ "81d0d1e78b196630": "Allgemein",
17
+ "fa19046edd6cfbd4": "Darstellung",
18
+ "afda415d2d75a5d3": "Chat",
19
+ "560997ace98edc9f": "Tableiste",
20
+ "0bcc63fce8f612b5": "Tastatur",
21
+ "af4b7734da1d5ce7": "Spracheingabe",
22
+ "2632f324dc2d9c48": "Agenten",
23
+ "2f77cc3105ddd7f8": "Anbieter",
24
+ "6d9bf91f0d4b7ba3": "Threads",
25
+ "2ab325baee3ec9a3": "Geplante Aufgaben",
26
+ "58058320796d28f6": "Code",
27
+ "cc84bfe0ee5d0174": "Projekte",
28
+ "a4380762611c94e4": "Versionskontrolle",
29
+ "4889f7885396c26b": "Worktrees",
30
+ "79b768229c9ef672": "Wartung",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "Info",
33
+ "2a546119bf3879ee": "Archiv"
34
+}
apps/mobile/src/i18n/translations/en.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "System default",
3
+ "2c1c93a646bbea6e": "Language",
4
+ "0a75e464d833bca8": "Settings",
5
+ "858561b97fdd72f2": "Search settings",
6
+ "79e4d73c1bc8cf45": "Checking",
7
+ "4681c4c9541539a4": "Sign in",
8
+ "9e8db85a88bbfa4a": "Signed in",
9
+ "bd7ace2d408d814b": "T3 Account",
10
+ "b5adbf54cbefee38": "Environments",
11
+ "e1483914168d6b8e": "Notifications",
12
+ "1a07e4d043f5df4e": "Connections",
13
+ "3d1e7ff5894d00dd": "No results",
14
+ "1be65659f947b808": "No settings match “{query}”.",
15
+ "1cf216566c1ee064": "Unavailable project",
16
+ "81d0d1e78b196630": "General",
17
+ "fa19046edd6cfbd4": "Appearance",
18
+ "afda415d2d75a5d3": "Chat",
19
+ "560997ace98edc9f": "Navigation tabs",
20
+ "0bcc63fce8f612b5": "Keyboard",
21
+ "af4b7734da1d5ce7": "Voice",
22
+ "2632f324dc2d9c48": "Agents",
23
+ "2f77cc3105ddd7f8": "Providers",
24
+ "6d9bf91f0d4b7ba3": "Threads",
25
+ "2ab325baee3ec9a3": "Scheduled tasks",
26
+ "58058320796d28f6": "Code",
27
+ "cc84bfe0ee5d0174": "Projects",
28
+ "a4380762611c94e4": "Source control",
29
+ "4889f7885396c26b": "Worktrees",
30
+ "79b768229c9ef672": "Maintenance",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "About",
33
+ "2a546119bf3879ee": "Archive"
34
+}
apps/mobile/src/i18n/translations/es.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "Del sistema",
3
+ "2c1c93a646bbea6e": "Idioma",
4
+ "0a75e464d833bca8": "Ajustes",
5
+ "858561b97fdd72f2": "Buscar ajustes",
6
+ "79e4d73c1bc8cf45": "Comprobando",
7
+ "4681c4c9541539a4": "Iniciar sesión",
8
+ "9e8db85a88bbfa4a": "Sesión iniciada",
9
+ "bd7ace2d408d814b": "Cuenta de T3",
10
+ "b5adbf54cbefee38": "Entornos",
11
+ "e1483914168d6b8e": "Notificaciones",
12
+ "1a07e4d043f5df4e": "Conexiones",
13
+ "3d1e7ff5894d00dd": "Sin resultados",
14
+ "1be65659f947b808": "Ningún ajuste coincide con «{query}».",
15
+ "1cf216566c1ee064": "Proyecto no disponible",
16
+ "81d0d1e78b196630": "General",
17
+ "fa19046edd6cfbd4": "Apariencia",
18
+ "afda415d2d75a5d3": "Chat",
19
+ "560997ace98edc9f": "Pestañas de navegación",
20
+ "0bcc63fce8f612b5": "Teclado",
21
+ "af4b7734da1d5ce7": "Voz",
22
+ "2632f324dc2d9c48": "Agentes",
23
+ "2f77cc3105ddd7f8": "Proveedores",
24
+ "6d9bf91f0d4b7ba3": "Hilos",
25
+ "2ab325baee3ec9a3": "Tareas programadas",
26
+ "58058320796d28f6": "Código",
27
+ "cc84bfe0ee5d0174": "Proyectos",
28
+ "a4380762611c94e4": "Control de versiones",
29
+ "4889f7885396c26b": "Worktrees",
30
+ "79b768229c9ef672": "Mantenimiento",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "Acerca de",
33
+ "2a546119bf3879ee": "Archivados"
34
+}
apps/mobile/src/i18n/translations/fr.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "Langue du système",
3
+ "2c1c93a646bbea6e": "Langue",
4
+ "0a75e464d833bca8": "Réglages",
5
+ "858561b97fdd72f2": "Rechercher dans les réglages",
6
+ "79e4d73c1bc8cf45": "Vérification…",
7
+ "4681c4c9541539a4": "Se connecter",
8
+ "9e8db85a88bbfa4a": "Connecté",
9
+ "bd7ace2d408d814b": "Compte T3",
10
+ "b5adbf54cbefee38": "Environnements",
11
+ "e1483914168d6b8e": "Notifications",
12
+ "1a07e4d043f5df4e": "Connexions",
13
+ "3d1e7ff5894d00dd": "Aucun résultat",
14
+ "1be65659f947b808": "Aucun réglage ne correspond à « {query} ».",
15
+ "1cf216566c1ee064": "Projet indisponible",
16
+ "81d0d1e78b196630": "Général",
17
+ "fa19046edd6cfbd4": "Apparence",
18
+ "afda415d2d75a5d3": "Discussion",
19
+ "560997ace98edc9f": "Onglets de navigation",
20
+ "0bcc63fce8f612b5": "Clavier",
21
+ "af4b7734da1d5ce7": "Voix",
22
+ "2632f324dc2d9c48": "Agents",
23
+ "2f77cc3105ddd7f8": "Fournisseurs",
24
+ "6d9bf91f0d4b7ba3": "Conversations",
25
+ "2ab325baee3ec9a3": "Tâches planifiées",
26
+ "58058320796d28f6": "Code",
27
+ "cc84bfe0ee5d0174": "Projets",
28
+ "a4380762611c94e4": "Gestion de versions",
29
+ "4889f7885396c26b": "Worktrees",
30
+ "79b768229c9ef672": "Maintenance",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "À propos",
33
+ "2a546119bf3879ee": "Archives"
34
+}
apps/mobile/src/i18n/translations/ja.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "システムのデフォルト",
3
+ "2c1c93a646bbea6e": "言語",
4
+ "0a75e464d833bca8": "設定",
5
+ "858561b97fdd72f2": "設定を検索",
6
+ "79e4d73c1bc8cf45": "確認中",
7
+ "4681c4c9541539a4": "サインイン",
8
+ "9e8db85a88bbfa4a": "サインイン済み",
9
+ "bd7ace2d408d814b": "T3 アカウント",
10
+ "b5adbf54cbefee38": "環境",
11
+ "e1483914168d6b8e": "通知",
12
+ "1a07e4d043f5df4e": "接続",
13
+ "3d1e7ff5894d00dd": "結果なし",
14
+ "1be65659f947b808": "「{query}」に一致する設定はありません。",
15
+ "1cf216566c1ee064": "利用できないプロジェクト",
16
+ "81d0d1e78b196630": "一般",
17
+ "fa19046edd6cfbd4": "外観",
18
+ "afda415d2d75a5d3": "チャット",
19
+ "560997ace98edc9f": "ナビゲーションタブ",
20
+ "0bcc63fce8f612b5": "キーボード",
21
+ "af4b7734da1d5ce7": "音声",
22
+ "2632f324dc2d9c48": "エージェント",
23
+ "2f77cc3105ddd7f8": "プロバイダー",
24
+ "6d9bf91f0d4b7ba3": "スレッド",
25
+ "2ab325baee3ec9a3": "スケジュールタスク",
26
+ "58058320796d28f6": "コード",
27
+ "cc84bfe0ee5d0174": "プロジェクト",
28
+ "a4380762611c94e4": "ソース管理",
29
+ "4889f7885396c26b": "ワークツリー",
30
+ "79b768229c9ef672": "メンテナンス",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "情報",
33
+ "2a546119bf3879ee": "アーカイブ"
34
+}
apps/mobile/src/i18n/translations/ko.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "시스템 기본값",
3
+ "2c1c93a646bbea6e": "언어",
4
+ "0a75e464d833bca8": "설정",
5
+ "858561b97fdd72f2": "설정 검색",
6
+ "79e4d73c1bc8cf45": "확인 중",
7
+ "4681c4c9541539a4": "로그인",
8
+ "9e8db85a88bbfa4a": "로그인됨",
9
+ "bd7ace2d408d814b": "T3 계정",
10
+ "b5adbf54cbefee38": "환경",
11
+ "e1483914168d6b8e": "알림",
12
+ "1a07e4d043f5df4e": "연결",
13
+ "3d1e7ff5894d00dd": "결과 없음",
14
+ "1be65659f947b808": "‘{query}’에 해당하는 설정이 없습니다.",
15
+ "1cf216566c1ee064": "사용할 수 없는 프로젝트",
16
+ "81d0d1e78b196630": "일반",
17
+ "fa19046edd6cfbd4": "모양",
18
+ "afda415d2d75a5d3": "채팅",
19
+ "560997ace98edc9f": "탐색 탭",
20
+ "0bcc63fce8f612b5": "키보드",
21
+ "af4b7734da1d5ce7": "음성",
22
+ "2632f324dc2d9c48": "에이전트",
23
+ "2f77cc3105ddd7f8": "제공자",
24
+ "6d9bf91f0d4b7ba3": "스레드",
25
+ "2ab325baee3ec9a3": "예약된 작업",
26
+ "58058320796d28f6": "코드",
27
+ "cc84bfe0ee5d0174": "프로젝트",
28
+ "a4380762611c94e4": "소스 제어",
29
+ "4889f7885396c26b": "워크트리",
30
+ "79b768229c9ef672": "유지 관리",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "정보",
33
+ "2a546119bf3879ee": "보관함"
34
+}
apps/mobile/src/i18n/translations/pt-BR.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "Padrão do sistema",
3
+ "2c1c93a646bbea6e": "Idioma",
4
+ "0a75e464d833bca8": "Configurações",
5
+ "858561b97fdd72f2": "Buscar configurações",
6
+ "79e4d73c1bc8cf45": "Verificando",
7
+ "4681c4c9541539a4": "Entrar",
8
+ "9e8db85a88bbfa4a": "Conectado",
9
+ "bd7ace2d408d814b": "Conta T3",
10
+ "b5adbf54cbefee38": "Ambientes",
11
+ "e1483914168d6b8e": "Notificações",
12
+ "1a07e4d043f5df4e": "Conexões",
13
+ "3d1e7ff5894d00dd": "Nenhum resultado",
14
+ "1be65659f947b808": "Nenhuma configuração encontrada para “{query}”.",
15
+ "1cf216566c1ee064": "Projeto indisponível",
16
+ "81d0d1e78b196630": "Geral",
17
+ "fa19046edd6cfbd4": "Aparência",
18
+ "afda415d2d75a5d3": "Chat",
19
+ "560997ace98edc9f": "Abas de navegação",
20
+ "0bcc63fce8f612b5": "Teclado",
21
+ "af4b7734da1d5ce7": "Voz",
22
+ "2632f324dc2d9c48": "Agentes",
23
+ "2f77cc3105ddd7f8": "Provedores",
24
+ "6d9bf91f0d4b7ba3": "Threads",
25
+ "2ab325baee3ec9a3": "Tarefas agendadas",
26
+ "58058320796d28f6": "Código",
27
+ "cc84bfe0ee5d0174": "Projetos",
28
+ "a4380762611c94e4": "Controle de versão",
29
+ "4889f7885396c26b": "Worktrees",
30
+ "79b768229c9ef672": "Manutenção",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "Sobre",
33
+ "2a546119bf3879ee": "Arquivados"
34
+}
apps/mobile/src/i18n/translations/ru.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "Как в системе",
3
+ "2c1c93a646bbea6e": "Язык",
4
+ "0a75e464d833bca8": "Настройки",
5
+ "858561b97fdd72f2": "Поиск настроек",
6
+ "79e4d73c1bc8cf45": "Проверка…",
7
+ "4681c4c9541539a4": "Войти",
8
+ "9e8db85a88bbfa4a": "Вход выполнен",
9
+ "bd7ace2d408d814b": "Аккаунт T3",
10
+ "b5adbf54cbefee38": "Окружения",
11
+ "e1483914168d6b8e": "Уведомления",
12
+ "1a07e4d043f5df4e": "Подключения",
13
+ "3d1e7ff5894d00dd": "Ничего не найдено",
14
+ "1be65659f947b808": "Нет настроек по запросу «{query}».",
15
+ "1cf216566c1ee064": "Проект недоступен",
16
+ "81d0d1e78b196630": "Основные",
17
+ "fa19046edd6cfbd4": "Оформление",
18
+ "afda415d2d75a5d3": "Чат",
19
+ "560997ace98edc9f": "Панель вкладок",
20
+ "0bcc63fce8f612b5": "Клавиатура",
21
+ "af4b7734da1d5ce7": "Голос",
22
+ "2632f324dc2d9c48": "Агенты",
23
+ "2f77cc3105ddd7f8": "Провайдеры",
24
+ "6d9bf91f0d4b7ba3": "Треды",
25
+ "2ab325baee3ec9a3": "Запланированные задачи",
26
+ "58058320796d28f6": "Код",
27
+ "cc84bfe0ee5d0174": "Проекты",
28
+ "a4380762611c94e4": "Контроль версий",
29
+ "4889f7885396c26b": "Рабочие деревья",
30
+ "79b768229c9ef672": "Обслуживание",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "О приложении",
33
+ "2a546119bf3879ee": "Архив"
34
+}
apps/mobile/src/i18n/translations/zh.json
new
+34
@@ -0,0 +1,34 @@
1
+{
2
+ "7eed14b9c7fd7661": "系统默认",
3
+ "2c1c93a646bbea6e": "语言",
4
+ "0a75e464d833bca8": "设置",
5
+ "858561b97fdd72f2": "搜索设置",
6
+ "79e4d73c1bc8cf45": "正在检查",
7
+ "4681c4c9541539a4": "登录",
8
+ "9e8db85a88bbfa4a": "已登录",
9
+ "bd7ace2d408d814b": "T3 账户",
10
+ "b5adbf54cbefee38": "环境",
11
+ "e1483914168d6b8e": "通知",
12
+ "1a07e4d043f5df4e": "连接",
13
+ "3d1e7ff5894d00dd": "无结果",
14
+ "1be65659f947b808": "没有与“{query}”匹配的设置。",
15
+ "1cf216566c1ee064": "项目不可用",
16
+ "81d0d1e78b196630": "通用",
17
+ "fa19046edd6cfbd4": "外观",
18
+ "afda415d2d75a5d3": "聊天",
19
+ "560997ace98edc9f": "标签栏",
20
+ "0bcc63fce8f612b5": "键盘",
21
+ "af4b7734da1d5ce7": "语音",
22
+ "2632f324dc2d9c48": "代理",
23
+ "2f77cc3105ddd7f8": "提供方",
24
+ "6d9bf91f0d4b7ba3": "线程",
25
+ "2ab325baee3ec9a3": "定时任务",
26
+ "58058320796d28f6": "代码",
27
+ "cc84bfe0ee5d0174": "项目",
28
+ "a4380762611c94e4": "源代码管理",
29
+ "4889f7885396c26b": "工作树",
30
+ "79b768229c9ef672": "维护",
31
+ "54b188d65247e42f": "Labs",
32
+ "f41ea186c275b56e": "关于",
33
+ "2a546119bf3879ee": "已归档"
34
+}
apps/mobile/src/persistence/mobile-preferences.ts
+4
@@ -113,6 +113,8 @@ export interface Preferences {
113
/** Hardware-keyboard Return behavior in the composer. */
114
readonly composerEnterBehavior?: ComposerEnterBehavior;
115
readonly followUpBehavior?: FollowUpBehavior;
116
+ /** The client `language` setting: a locale code or "system". Unset means English. */
117
+ readonly language?: string;
118
readonly microphones?: ReadonlyArray<MicrophoneEntry>;
119
readonly projectGroupingEnabled?: boolean;
120
readonly projectGroupingMode?: SidebarProjectGroupingMode;
@@ -197,6 +199,7 @@ function sanitizePreferences(parsed: Preferences): Preferences {
199
dismissedDatabaseStorageNotices?: readonly string[];
200
composerEnterBehavior?: ComposerEnterBehavior;
201
followUpBehavior?: FollowUpBehavior;
202
+ language?: string;
203
microphones?: ReadonlyArray<MicrophoneEntry>;
204
projectGroupingEnabled?: boolean;
205
projectGroupingMode?: SidebarProjectGroupingMode;
@@ -305,6 +308,7 @@ function sanitizePreferences(parsed: Preferences): Preferences {
308
if (parsed.followUpBehavior === "queue" || parsed.followUpBehavior === "steer") {
309
preferences.followUpBehavior = parsed.followUpBehavior;
310
}
311
+ if (typeof parsed.language === "string") preferences.language = parsed.language;
312
if (Array.isArray(parsed.microphones)) {
313
preferences.microphones = parsed.microphones.flatMap((entry): MicrophoneEntry[] => {
314
if (typeof entry !== "object" || entry === null || !isMicrophoneKind(entry.kind)) return [];
apps/web/src/components/settings/SettingsPanels.tsx
+2
-1
@@ -105,7 +105,8 @@ import {
105
SettingsSection,
106
} from "./settingsLayout";
107
import { searchableSetting, type SettingsSearchItemId } from "./settingsSearch";
108
-import { nativeLanguageName, SUPPORTED_LOCALES, SYSTEM_LANGUAGE } from "../../i18n/locales";
108
+import { nativeLanguageName, SYSTEM_LANGUAGE } from "@t3tools/client-runtime/locales";
109
+import { SUPPORTED_LOCALES } from "../../i18n/locales";
110
import { BackgroundActivitySettingsRow } from "./BackgroundActivitySettings";
111
import { AdvancedSettings } from "./AdvancedSettings";
112
import { PullRequestLinksOpenInAppSetting } from "./IntegrationsSettings";
apps/web/src/i18n/locales.ts
-39
@@ -1,43 +1,4 @@
1
import gtConfig from "../../gt.config.json";
2
3
-export const SYSTEM_LANGUAGE = "system";
3
export const DEFAULT_LOCALE = gtConfig.defaultLocale;
4
export const SUPPORTED_LOCALES: ReadonlyArray<string> = [DEFAULT_LOCALE, ...gtConfig.locales];
6
-
7
-// Shown in their own language so a user can find theirs from any UI language.
8
-const NATIVE_LANGUAGE_NAMES: Readonly<Record<string, string>> = {
9
- en: "English",
10
- de: "Deutsch",
11
- es: "Español",
12
- fr: "Français",
13
- ja: "日本語",
14
- ko: "한국어",
15
- "pt-BR": "Português (Brasil)",
16
- ru: "Русский",
17
- zh: "中文(简体)",
18
-};
19
-
20
-export function nativeLanguageName(locale: string): string {
21
- return NATIVE_LANGUAGE_NAMES[locale] ?? locale;
22
-}
23
-
24
-// Our `zh` is Simplified, so Traditional tags only match an exact locale.
25
-const TRADITIONAL_CHINESE = /^zh[-_](hant|tw|hk|mo)\b/;
26
-
27
-function matchSupportedLocale(tag: string): string | undefined {
28
- const normalized = tag.trim().toLowerCase();
29
- const language = normalized.split(/[-_]/)[0];
30
- const exact = SUPPORTED_LOCALES.find((locale) => locale.toLowerCase() === normalized);
31
- if (exact || TRADITIONAL_CHINESE.test(normalized)) return exact;
32
- return SUPPORTED_LOCALES.find((locale) => locale.toLowerCase() === language);
33
-}
34
-
35
-/** Saved setting to active locale; "system" and unknown values follow the host's languages. */
36
-export function resolveLocale(language: string, systemLocales: ReadonlyArray<string>): string {
37
- if (SUPPORTED_LOCALES.includes(language)) return language;
38
- for (const tag of systemLocales) {
39
- const match = matchSupportedLocale(tag);
40
- if (match) return match;
41
- }
42
- return DEFAULT_LOCALE;
43
-}
apps/web/src/i18n/runtime.ts
+8
-2
@@ -1,3 +1,4 @@
1
+import { resolveLocale } from "@t3tools/client-runtime/locales";
2
import { getTranslationsSnapshot } from "gt-react";
3
4
import {
@@ -6,7 +7,7 @@ import {
7
updateClientSettings,
8
} from "../hooks/useSettings";
9
import { initializeI18n } from "./initializeI18n";
9
-import { DEFAULT_LOCALE, resolveLocale } from "./locales";
10
+import { DEFAULT_LOCALE, SUPPORTED_LOCALES } from "./locales";
11
12
type LocaleTranslations = Awaited<ReturnType<typeof getTranslationsSnapshot>>;
13
@@ -51,7 +52,12 @@ function activateLocale(locale: string): void {
52
53
function applyLanguageSetting(): void {
54
// Not desktopBridge.getSystemLocale(): that is the regional/time locale, not the UI language.
54
- requestedLocale = resolveLocale(getClientSettings().language, navigator.languages);
55
+ requestedLocale = resolveLocale(
56
+ getClientSettings().language,
57
+ navigator.languages,
58
+ SUPPORTED_LOCALES,
59
+ DEFAULT_LOCALE,
60
+ );
61
void whenLocaleReady();
62
}
63
packages/client-runtime/package.json
+4
@@ -27,6 +27,10 @@
27
"types": "./src/composerModelMentions.ts",
28
"default": "./src/composerModelMentions.ts"
29
},
30
+ "./locales": {
31
+ "types": "./src/locales.ts",
32
+ "default": "./src/locales.ts"
33
+ },
34
"./model-search": {
35
"types": "./src/modelSearch.ts",
36
"default": "./src/modelSearch.ts"
packages/client-runtime/src/locales.ts
new
+44
@@ -0,0 +1,44 @@
1
+export const SYSTEM_LANGUAGE = "system";
2
+
3
+// Shown in their own language so a user can find theirs from any UI language.
4
+const NATIVE_LANGUAGE_NAMES: Readonly<Record<string, string>> = {
5
+ en: "English",
6
+ de: "Deutsch",
7
+ es: "Español",
8
+ fr: "Français",
9
+ ja: "日本語",
10
+ ko: "한국어",
11
+ "pt-BR": "Português (Brasil)",
12
+ ru: "Русский",
13
+ zh: "中文(简体)",
14
+};
15
+
16
+export function nativeLanguageName(locale: string): string {
17
+ return NATIVE_LANGUAGE_NAMES[locale] ?? locale;
18
+}
19
+
20
+// Our `zh` is Simplified, so Traditional tags only match an exact locale.
21
+const TRADITIONAL_CHINESE = /^zh[-_](hant|tw|hk|mo)\b/;
22
+
23
+function matchSupportedLocale(tag: string, supported: ReadonlyArray<string>): string | undefined {
24
+ const normalized = tag.trim().toLowerCase();
25
+ const language = normalized.split(/[-_]/)[0];
26
+ const exact = supported.find((locale) => locale.toLowerCase() === normalized);
27
+ if (exact || TRADITIONAL_CHINESE.test(normalized)) return exact;
28
+ return supported.find((locale) => locale.toLowerCase() === language);
29
+}
30
+
31
+/** Saved setting to active locale; "system" and unknown values follow the host's languages. */
32
+export function resolveLocale(
33
+ language: string,
34
+ systemLocales: ReadonlyArray<string>,
35
+ supported: ReadonlyArray<string>,
36
+ fallback: string,
37
+): string {
38
+ if (supported.includes(language)) return language;
39
+ for (const tag of systemLocales) {
40
+ const match = matchSupportedLocale(tag, supported);
41
+ if (match) return match;
42
+ }
43
+ return fallback;
44
+}
pnpm-lock.yaml
+146
@@ -546,6 +546,15 @@ importers:
546
'@expo/ui':
547
specifier: 58.0.27
548
version: 58.0.27(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
549
+ '@formatjs/intl-displaynames':
550
+ specifier: 6.8.13
551
+ version: 6.8.13
552
+ '@formatjs/intl-getcanonicallocales':
553
+ specifier: 2.5.6
554
+ version: 2.5.6
555
+ '@formatjs/intl-locale':
556
+ specifier: 4.2.13
557
+ version: 4.2.13
558
'@legendapp/list':
559
specifier: 3.7.2
560
version: 3.7.2(patch_hash=3c68607b8bb7a531873bcbe0b197d163ef1fdb4d4cf52a4ddf9d2b3804671658)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
@@ -720,6 +729,9 @@ importers:
729
expo-widgets:
730
specifier: 58.0.27
731
version: 58.0.27(patch_hash=8bf49067f93742855e15f29559ac75c8b50230b47069060993c9ea01dac11171)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
732
+ gt-react-native:
733
+ specifier: 11.4.18
734
+ version: 11.4.18(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
735
pele:
736
specifier: 'catalog:'
737
version: 1.8.0
@@ -811,6 +823,9 @@ importers:
823
babel-preset-expo:
824
specifier: ~58.0.24
825
version: 58.0.24(@babel/core@7.29.7(supports-color@8.1.1))(@babel/runtime@7.29.7)(expo-widgets@58.0.27)(expo@58.0.23)(react-refresh@0.14.2)(supports-color@8.1.1)
826
+ gt:
827
+ specifier: 2.27.0
828
+ version: 2.27.0(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
829
jsdom:
830
specifier: ^30.0.1
831
version: 30.1.0(@noble/hashes@1.8.0)
@@ -4471,6 +4486,43 @@ packages:
4486
'@fontsource-variable/inter@5.3.0':
4487
resolution: {integrity: sha512-OupL48va4JNofb97w6NYeF9S7W/kHNKM0Er8Dem5nqi4jeOLrVJDoE8tZEpnMJmtkvNbB1EIPPwHcdkF6b1oUA==}
4488
4489
+ '@formatjs/ecma402-abstract@2.3.6':
4490
+ resolution: {integrity: sha512-HJnTFeRM2kVFVr5gr5kH1XP6K0JcJtE7Lzvtr3FS/so5f1kpsqqqxy5JF+FRaO6H2qmcMfAUIox7AJteieRtVw==}
4491
+
4492
+ '@formatjs/fast-memoize@2.2.7':
4493
+ resolution: {integrity: sha512-Yabmi9nSvyOMrlSeGGWDiH7rf3a7sIwplbvo/dlz9WCIjzIQAfy1RMf4S0X3yG724n5Ghu2GmEl5NJIV6O9sZQ==}
4494
+
4495
+ '@formatjs/intl-datetimeformat@6.18.2':
4496
+ resolution: {integrity: sha512-XXGJVOi/vmB+eLtYDs+ggDIvba/+VNmNrDZOtMyol5D0zl+zzuPps6W3TgDflpKfzg4memAEbLnA1wC6/TBSjQ==}
4497
+
4498
+ '@formatjs/intl-displaynames@6.8.13':
4499
+ resolution: {integrity: sha512-VbY7BdYJX5eURVKLk2grndUQtnbCLNbcJId/Sb/PsX7fWXiqWvg7qt/mecVHRzqoSEoGCQToKDxzpJj8RC0s3g==}
4500
+
4501
+ '@formatjs/intl-enumerator@1.8.12':
4502
+ resolution: {integrity: sha512-rT2hnyQ0q6RDG1jISMH+MP6wlHQLUC81C0BeYEzabJb48S4tU2HGCPUxsOqMa3vDAUmpnz9Kw5vYTD5hTkOVgg==}
4503
+ deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
4504
+
4505
+ '@formatjs/intl-getcanonicallocales@2.5.6':
4506
+ resolution: {integrity: sha512-CnBbc4St61RL06gDXlCZG08Gt41uiySgsdZNBExh8/c0FBONJCrAlQ9FsyalUdq9ze0nCeknJtMmO8JnB9xHgQ==}
4507
+
4508
+ '@formatjs/intl-listformat@7.7.13':
4509
+ resolution: {integrity: sha512-e1jk2w1H6VLy4kKoYyfBjvkw6IXE48AczF+7FIzWr5zB7VjdWQyrvs858t2WeQzHD8dRIxvIyX+qmeGql4jvng==}
4510
+
4511
+ '@formatjs/intl-locale@4.2.13':
4512
+ resolution: {integrity: sha512-Qcs0mP9JhEPCinPfpZ5JKzOa+VYDg94TQSFZozYuqG8R+hEGUTKyoyMqB5xi5QZT/hlB0CSgeNc/0fWMGtTFXA==}
4513
+
4514
+ '@formatjs/intl-localematcher@0.6.2':
4515
+ resolution: {integrity: sha512-XOMO2Hupl0wdd172Y06h6kLpBz6Dv+J4okPLl4LPtzbr8f66WbIoy4ev98EBuZ6ZK4h5ydTN6XneT4QVpD7cdA==}
4516
+
4517
+ '@formatjs/intl-numberformat@8.15.6':
4518
+ resolution: {integrity: sha512-htynTNKm5WOnbR521tNSMkWzX3yO6Z77qjOxvRujh5/A/UBKeoNElyuKCJltizdx3X33QNWQZC4aWjLKcccyeQ==}
4519
+
4520
+ '@formatjs/intl-pluralrules@5.4.6':
4521
+ resolution: {integrity: sha512-2HlOq+c7KsSps829SJ3B5987coX5mzKx9NbPcNwQ07eq8FBHgB3HfMoxt5HvLsdk4oQwCjAEnocbtd+wVwZ2Kg==}
4522
+
4523
+ '@formatjs/intl-relativetimeformat@11.4.13':
4524
+ resolution: {integrity: sha512-fNs6cpz9zIUEgTlE3kPSEyRfslxeMG19dT7sLz2C6U7Jxkx8xK/IH1ImZzCeqd6JlqE81O7uNW4oZTb1pz8lUw==}
4525
+
4526
'@generaltranslation/api@0.5.6':
4527
resolution: {integrity: sha512-rPcqH7BomEIRQKX6oyOagfqrfHddi3EcOkgWC/dgs2qSRhkoZYcpn68RWCr3ZFnmCMib7uDtSR9v8BjUI7AZLQ==}
4528
@@ -9706,6 +9758,12 @@ packages:
9758
gt-i18n@1.0.40:
9759
resolution: {integrity: sha512-EbDhYhtyUrZI4iBSWpe1AMRoYrmEn52/hnVG6NAqVhVvY85t15JCJWMdVOkDoB1TRVH9nbSzAttaYwcv0LF3KQ==}
9760
9761
+ gt-react-native@11.4.18:
9762
+ resolution: {integrity: sha512-juASbGUn0R4fFZdr8qR7wovAXliH5RD3djZwkGL5x4ALp8/1J6fR1t8q0uF1Iq0GrsIcuE4oKjVgROCyMiXudA==}
9763
+ peerDependencies:
9764
+ react: '>=19.0.0'
9765
+ react-native: '>=0.78.0'
9766
+
9767
gt-react@11.4.18:
9768
resolution: {integrity: sha512-c6T+oqvXdT2DSW6kXDc3HYj4MA9fR4B1VgSXaIVG8emAWhZ9Dih4npJBjRWBJNr1D3KrG0nU/+1FPxJ1Zzkhnw==}
9769
peerDependencies:
@@ -15123,6 +15181,76 @@ snapshots:
15181
15182
'@fontsource-variable/inter@5.3.0': {}
15183
15184
+ '@formatjs/ecma402-abstract@2.3.6':
15185
+ dependencies:
15186
+ '@formatjs/fast-memoize': 2.2.7
15187
+ '@formatjs/intl-localematcher': 0.6.2
15188
+ decimal.js: 10.6.0
15189
+ tslib: 2.8.1
15190
+
15191
+ '@formatjs/fast-memoize@2.2.7':
15192
+ dependencies:
15193
+ tslib: 2.8.1
15194
+
15195
+ '@formatjs/intl-datetimeformat@6.18.2':
15196
+ dependencies:
15197
+ '@formatjs/ecma402-abstract': 2.3.6
15198
+ '@formatjs/intl-localematcher': 0.6.2
15199
+ decimal.js: 10.6.0
15200
+ tslib: 2.8.1
15201
+
15202
+ '@formatjs/intl-displaynames@6.8.13':
15203
+ dependencies:
15204
+ '@formatjs/ecma402-abstract': 2.3.6
15205
+ '@formatjs/intl-localematcher': 0.6.2
15206
+ tslib: 2.8.1
15207
+
15208
+ '@formatjs/intl-enumerator@1.8.12':
15209
+ dependencies:
15210
+ '@formatjs/ecma402-abstract': 2.3.6
15211
+ tslib: 2.8.1
15212
+
15213
+ '@formatjs/intl-getcanonicallocales@2.5.6':
15214
+ dependencies:
15215
+ tslib: 2.8.1
15216
+
15217
+ '@formatjs/intl-listformat@7.7.13':
15218
+ dependencies:
15219
+ '@formatjs/ecma402-abstract': 2.3.6
15220
+ '@formatjs/intl-localematcher': 0.6.2
15221
+ tslib: 2.8.1
15222
+
15223
+ '@formatjs/intl-locale@4.2.13':
15224
+ dependencies:
15225
+ '@formatjs/ecma402-abstract': 2.3.6
15226
+ '@formatjs/intl-enumerator': 1.8.12
15227
+ '@formatjs/intl-getcanonicallocales': 2.5.6
15228
+ tslib: 2.8.1
15229
+
15230
+ '@formatjs/intl-localematcher@0.6.2':
15231
+ dependencies:
15232
+ tslib: 2.8.1
15233
+
15234
+ '@formatjs/intl-numberformat@8.15.6':
15235
+ dependencies:
15236
+ '@formatjs/ecma402-abstract': 2.3.6
15237
+ '@formatjs/intl-localematcher': 0.6.2
15238
+ decimal.js: 10.6.0
15239
+ tslib: 2.8.1
15240
+
15241
+ '@formatjs/intl-pluralrules@5.4.6':
15242
+ dependencies:
15243
+ '@formatjs/ecma402-abstract': 2.3.6
15244
+ '@formatjs/intl-localematcher': 0.6.2
15245
+ decimal.js: 10.6.0
15246
+ tslib: 2.8.1
15247
+
15248
+ '@formatjs/intl-relativetimeformat@11.4.13':
15249
+ dependencies:
15250
+ '@formatjs/ecma402-abstract': 2.3.6
15251
+ '@formatjs/intl-localematcher': 0.6.2
15252
+ tslib: 2.8.1
15253
+
15254
'@generaltranslation/api@0.5.6': {}
15255
15256
'@generaltranslation/format@0.1.9':
@@ -19863,6 +19991,24 @@ snapshots:
19991
'@generaltranslation/format': 0.1.9
19992
generaltranslation: 9.5.9
19993
19994
+ gt-react-native@11.4.18(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0):
19995
+ dependencies:
19996
+ '@formatjs/intl-datetimeformat': 6.18.2
19997
+ '@formatjs/intl-displaynames': 6.8.13
19998
+ '@formatjs/intl-getcanonicallocales': 2.5.6
19999
+ '@formatjs/intl-listformat': 7.7.13
20000
+ '@formatjs/intl-locale': 4.2.13
20001
+ '@formatjs/intl-numberformat': 8.15.6
20002
+ '@formatjs/intl-pluralrules': 5.4.6
20003
+ '@formatjs/intl-relativetimeformat': 11.4.13
20004
+ '@generaltranslation/format': 0.1.9
20005
+ '@generaltranslation/react-core': 11.4.18(react@19.3.0)
20006
+ '@generaltranslation/supported-locales': 2.1.45
20007
+ generaltranslation: 9.5.9
20008
+ gt-i18n: 1.0.40
20009
+ react: 19.3.0
20010
+ react-native: 0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
20011
+
20012
gt-react@11.4.18(react-dom@19.3.0(react@19.3.0))(react@19.3.0):
20013
dependencies:
20014
'@generaltranslation/react-core': 11.4.18(react@19.3.0)