MCPcopy Create free account

hub / github.com/amannn/next-intl / functions

Functions892 in github.com/amannn/next-intl

FunctionNotFound
()
examples/example-app-router-migration/src/app/not-found.tsx:9
FunctionNotFoundPage
()
examples/example-app-router/src/components/NotFoundPage.tsx:4
FunctionOG
(req: Request)
docs/src/pages/api/og-image.tsx:8
FunctionPage
()
packages/swc-plugin-extractor/tests/fixture/get-translations/output.js:2
FunctionPage
()
packages/swc-plugin-extractor/tests/fixture/get-translations/input.js:3
FunctionPage
()
e2e/extracted-monorepo-app/src/app/page.tsx:4
FunctionPage
()
e2e/extracted-po/src/app/page.tsx:5
FunctionPage
()
e2e/extracted-json/src/app/page.tsx:5
FunctionPageLayout
({children, title}: Props)
examples/example-pages-router/src/components/PageLayout.tsx:10
FunctionPageLayout
({children, title}: Props)
examples/example-app-router-playground/src/components/PageLayout.tsx:8
FunctionPageLayout
({children, title}: Props)
examples/example-app-router/src/components/PageLayout.tsx:10
FunctionPageLayout
({children, title}: Props)
examples/example-app-router-migration/src/components/PageLayout.tsx:8
FunctionPageLayout
({children, title})
examples/example-pages-router-legacy/src/components/PageLayout.js:1
FunctionPartnerBanner
({intro}: Props)
docs/src/components/PartnerBanner.tsx:9
FunctionPartnerContentLink
(props: Props)
docs/src/components/PartnerContentLink.tsx:7
FunctionPartnerLink
({ as: Component = 'a', href, name, ...rest }: Props)
docs/src/components/PartnerLink.tsx:10
FunctionPartnerSidebar
({intro = 'Presented by'}: Props)
docs/src/components/PartnerSidebar.tsx:8
FunctionPathnamesPage
()
examples/example-app-router/src/app/[locale]/pathnames/page.tsx:4
FunctionPre
({ children, className, 'data-copy': copy, 'data-filename': filename, ...props }: ComponentProps<'pr
docs/src/components/Pre.tsx:6
FunctionProfileCard
()
e2e/shared-ui/src/ProfileCard.tsx:5
FunctionProvider
({children}: {children: ReactNode})
packages/use-intl/src/react/useTranslations.test.tsx:1041
FunctionRedirect
()
examples/example-app-router-playground/src/app/[locale]/redirect/page.tsx:4
FunctionRegularComponent
()
examples/example-app-router-playground/src/components/UseMessagesTypeTests.tsx:19
FunctionRegularComponent
()
examples/example-app-router-playground/src/components/UseTranslationsTypeTests.tsx:9
FunctionRegularComponent
()
examples/example-app-router-playground/src/components/UseFormatterTypeTests.tsx:4
FunctionRegularComponent
()
examples/example-app-router-playground/src/components/UseLocaleTypeTests.tsx:5
FunctionRichText
({children, ...rest}: Props)
examples/example-app-router-playground/src/components/RichText.tsx:9
FunctionRootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-monorepo-app/src/app/layout.tsx:10
FunctionRootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-po/src/app/layout.tsx:4
FunctionRootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-json/src/app/layout.tsx:4
FunctionScreenshot
({className, ...rest}: Props)
docs/src/components/Screenshot.tsx:7
FunctionSection
({children, description, title}: Props)
docs/src/components/Section.tsx:10
FunctionServerActions
()
examples/example-app-router-playground/src/app/[locale]/actions/page.tsx:8
FunctionSteps
({children}: Props)
docs/src/components/Steps.tsx:8
FunctionTestComponent
()
packages/next-intl/src/react-server/useTranslations.test.tsx:36
FunctionTestComponent
()
packages/next-intl/src/react-server/useFormatter.test.tsx:19
FunctionTweet
({id}: Props)
docs/src/components/Tweet.tsx:35
FunctionTypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithoutNamespace.tsx:13
FunctionTypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithNamespaceAndLocale.tsx:14
FunctionTypeTest
()
examples/example-app-router-playground/src/components/AsyncComponent.tsx:20
FunctionTypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithoutNamespaceAndLocale.tsx:14
FunctionTypeTests
()
packages/next-intl/src/server/react-server/index.test.tsx:77
FunctionUnlocalizedPathname
()
examples/example-app-router-playground/src/app/[locale]/nested/UnlocalizedPathname.tsx:5
FunctionUserCompanies
()
docs/src/components/UserCompanies/UserCompanies.tsx:171
FunctionUserTestimonial
({ bgUrlBright, bgUrlDark, blendModeDark, className, featured, href, linkTitle, portraitUrl,
docs/src/components/UserTestimonial.tsx:18
FunctionVideo
({ className, ...props }: Omit<ComponentProps<'video'>, 'controls'>)
docs/src/components/Video.tsx:6
FunctionWrapper
({children, className}: Props)
docs/src/components/Wrapper.tsx:9
FunctionZodForm
({action, children}: Props)
examples/example-app-router-playground/src/app/[locale]/actions/ZodForm.tsx:11
FunctionZodFormExample
()
examples/example-app-router-playground/src/app/[locale]/actions/ZodFormExample.tsx:54
Method[Symbol.dispose]
()
packages/next-intl/src/plugin/extractor/SaveScheduler.tsx:84
Method[Symbol.dispose]
()
packages/next-intl/src/plugin/extractor/CatalogManager.tsx:552
Method[Symbol.dispose]
()
packages/next-intl/src/plugin/extractor/ExtractionCompiler.test.tsx:18
Method[Symbol.dispose]
()
packages/next-intl/src/plugin/extractor/ExtractionCompiler.tsx:45
Method[Symbol.dispose]
()
packages/next-intl/src/plugin/extractor/SourceFileWatcher.tsx:57
FunctionasyncApis
()
examples/example-app-router-playground/src/components/TypePortabilityTest.ts:44
FunctionbuildEnd
()
tools/src/getBuildConfig.js:85
FunctionbuildOutput
()
docs/src/components/CodeSnippets.tsx:280
FunctioncachedFn
(...args: Array<unknown>)
packages/next-intl/__mocks__/react.tsx:30
FunctioncatalogLoader
( this: TurbopackLoaderContext<CatalogLoaderConfig>, source: string )
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:56
Functioncleanup
()
packages/next-intl/src/plugin/extractor/initExtractionCompiler.tsx:88
FunctioncompareByReference
(a: Message, b: Message)
packages/format-po/src/index.ts:198
FunctioncompareByReference
(a: Message, b: Message)
packages/format-json/src/index.ts:146
FunctioncomparePathnamePairs
(a: string, b: string)
packages/next-intl/src/shared/utils.tsx:152
Functioncomponent
(props: ComponentProps<typeof ThemeSwitch>)
docs/src/theme.config.tsx:60
Methodconstructor
( ...[message, ...rest]: ConstructorParameters<typeof IntlMessageFormat> )
packages/use-intl/src/react/useTranslations.test.tsx:27
Methodconstructor
( ...[message, ...rest]: ConstructorParameters< typeof IntlMessageFormat
packages/use-intl/src/react/useTranslations.test.tsx:1013
Methodconstructor
(code: IntlErrorCode, originalMessage?: string)
packages/use-intl/src/core/IntlError.tsx:7
Methodconstructor
(delayMs = 50)
packages/next-intl/src/plugin/extractor/SaveScheduler.tsx:17
Methodconstructor
( config: ExtractorConfig, opts: { extractor: MessageExtractor; projectRoot: string;
packages/next-intl/src/plugin/extractor/CatalogManager.tsx:99
Methodconstructor
(params: CatalogLocalesParams)
packages/next-intl/src/plugin/extractor/CatalogLocales.tsx:28
Methodconstructor
( ...args: ConstructorParameters<typeof BaseExtractionCompiler> )
packages/next-intl/src/plugin/extractor/ExtractionCompiler.test.tsx:9
Methodconstructor
(maxSize: number)
packages/next-intl/src/plugin/extractor/LRUCache.tsx:10
Methodconstructor
( config: ExtractorConfig, opts: { projectRoot: string; saveDebounceMs?: number; war
packages/next-intl/src/plugin/extractor/ExtractionCompiler.tsx:10
Methodconstructor
(opts: { isDevelopment: boolean; projectRoot: string; sourceMap?: boolean; })
packages/next-intl/src/plugin/extractor/SourceTransformer.tsx:21
Methodconstructor
( roots: Array<string>, onChange: (events: Array<Event>) => Promise<void> )
packages/next-intl/src/plugin/extractor/SourceFileWatcher.tsx:11
Methodconstructor
( message: string, options?: {code?: UserErrorCode; details?: UserErrorDetails; hint?: string} )
packages/messages/src/UserError.ts:13
Methodconstructor
(params: { getFilePath(locale: Locale): string; codec: ExtractorCodec; sourceLocale: Locale; w
packages/messages/src/catalog/CatalogPersister.ts:14
Methodconstructor
(opts: {projectRoot?: string} = {})
packages/extractor/src/extractor/MessageExtractor.ts:13
Functioncreate
()
packages/use-intl/src/core/formatters.tsx:30
FunctiondateTimeRange
( start: Date | number, end: Date | number, formatOrOptions?: FormatNames['dateTime'] | DateTimeFo
packages/use-intl/src/core/createFormatter.tsx:213
FunctiondatesTimesNumbers
()
docs/src/components/CodeSnippets.tsx:67
Functiondecode
(content)
packages/next-intl/src/plugin/extractor/fixtures/JSONCodecStructured.tsx:6
Functiondecode
(content, context)
packages/format-po/src/index.ts:58
Functiondecode
(content, context)
packages/messages/src/format/codecs/BuiltInPoCodec.ts:19
Functiondecode
(content, context)
packages/format-json/src/index.ts:18
FunctiondecodeAll
(content: string)
packages/messages/src/catalog/loadCatalogs.test.ts:230
FunctiondefaultGetMessageFallback
(props: { error: IntlError; key: string; namespace?: string; })
packages/use-intl/src/core/defaults.tsx:9
FunctiondefaultNow
()
packages/next-intl/src/server/react-server/getDefaultNow.tsx:3
FunctiondefaultOnError
(error: IntlError)
packages/use-intl/src/core/defaults.tsx:17
FunctiondisplayName
( value: string, formatOrOptions: FormatNames['displayName'] | Intl.DisplayNamesOptions, overrides
packages/use-intl/src/core/createFormatter.tsx:409
Functionencode
(messages, context)
packages/next-intl/src/plugin/extractor/fixtures/POCodecLegacy.tsx:15
Functionencode
(messages)
packages/next-intl/src/plugin/extractor/fixtures/JSONCodecStructured.tsx:19
Functionencode
(messages, context)
packages/format-po/src/index.ts:111
Functionencode
(messages, context)
packages/format-json/src/index.ts:92
FunctionencodeAll
(messagesByLocale)
packages/messages/src/catalog/loadCatalogs.test.ts:244
FunctionencodeEntry
(message: Message)
packages/format-po/src/index.ts:122
Functionerror
(issue)
examples/example-app-router-playground/src/app/[locale]/actions/ZodFormExample.tsx:35
FunctionextractionLoader
( this: TurbopackLoaderContext<ExtractorConfig>, source: string )
packages/next-intl/src/plugin/extractor/extractionLoader.tsx:11
FunctionfindCaseInsensitiveString
( candidate: string, strings: Array<string> )
packages/next-intl/src/middleware/utils.tsx:134
Methodformat
* Formats a value and a unit according to the locale * and formatting options of the given * [`Intl.RelativeTimeFormat`](https://developer.m
packages/use-intl/types/index.d.ts:144
← previousnext →701–800 of 892, ranked by callers