Repository navigation
Add Italian (it) as a bundled locale (unreviewed AI drafts) #1200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cdfcb7b
1c7da00
9bee3aa
088d2b3
d42bfa2
791d454
a134f47
e3b8c0d
05b36fc
088e203
345302e
599d94e
cb65faa
f39e7a5
bd57dc5
55c2c2a
158ef72
60e924e
63a65a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ import { type BundledLocale, type LocaleCatalog, registerBundledCatalog } from ' | |
| import { messages as en } from './locales/en/messages' | ||
| import { messages as es } from './locales/es/messages' | ||
| import { messages as fr } from './locales/fr/messages' | ||
| import { messages as it } from './locales/it/messages' | ||
| import { messages as ja } from './locales/ja/messages' | ||
| import { messages as zhCN } from './locales/zh-CN/messages' | ||
|
|
||
|
|
@@ -13,6 +14,7 @@ export const bundledLocalePacks: Record<BundledLocale, LocaleCatalog> = { | |
| fr: { locale: 'fr', messages: fr }, | ||
| es: { locale: 'es', messages: es }, | ||
| ja: { locale: 'ja', messages: ja }, | ||
| it: { locale: 'it', messages: it }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Italian locale never loads at runtimeHigh Severity Italian is registered only on the synchronous Additional Locations (1)Reviewed by Cursor Bugbot for commit f39e7a5. Configure here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed at |
||
| } | ||
|
|
||
| export function registerBundledLocales(): void { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import { registerBundledCatalog } from '../../lazy-locales' | ||
| import { messages } from './messages' | ||
|
|
||
| export const locale = 'it' as const | ||
| export { messages } | ||
|
|
||
| export function registerLocale(): void { | ||
| registerBundledCatalog({ locale, messages }) | ||
| } |


Uh oh!
There was an error while loading. Please reload this page.