MCPcopy Create free account

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

Functions770 in github.com/amannn/next-intl

↓ 1 callersFunctioncreateMessagesDeclaration
( messagesPaths: Array<string> )
packages/next-intl/src/plugin/declaration/createMessagesDeclaration.tsx:8
↓ 1 callersFunctioncreateMockRequest
( pathnameWithSearch = '/', acceptLanguageLocale = 'en', host = 'http://localhost:3000', localeCookieV
packages/next-intl/src/middleware/middleware.test.tsx:45
↓ 1 callersFunctioncreateNavigation
( routing?: [AppPathnames] extends [never] ? | RoutingConfigSharedNavigation< AppLoc
packages/next-intl/src/navigation/react-server/createNavigation.tsx:14
↓ 1 callersFunctioncreateNodeModule
(moduleName: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:1795
↓ 1 callersFunctioncreatePage
(browser: Browser, acceptLanguage: string)
examples/example-app-router-playground/tests/domains-locale-prefix.spec.ts:28
↓ 1 callersFunctioncreatePoCatalogUtils
(messagesDir: string)
e2e/extracted-po/tests/catalog-utils.ts:12
↓ 1 callersFunctioncreateResponse
(init: MiddlewareResponseInit)
packages/next-intl/src/middleware/middleware.test.tsx:24
↓ 1 callersFunctioncreateTranslatorImpl
( {messages, namespace, ...rest}: CreateTranslatorImplProps<Messages>, namespacePrefix: string )
packages/use-intl/src/core/createTranslatorImpl.tsx:18
↓ 1 callersFunctiondateTime
( value: Date | number, formatOrOptions?: FormatNames['dateTime'] | DateTimeFormatOptions, overrid
packages/use-intl/src/core/createFormatter.tsx:181
↓ 1 callersMethoddefine_translator
(&mut self, name: Id, namespace: Option<Wtf8Atom>)
packages/swc-plugin-extractor/src/lib.rs:85
↓ 1 callersFunctionencodePathname
(pathname: string)
packages/next-intl/src/navigation/shared/utils.tsx:189
↓ 1 callersMethodexpandDirectoryDeleteEvents
( events: Array<Event>, prevKnownFiles: Array<string> )
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:112
↓ 1 callersFunctionexpectCatalog
( file: string, predicate: (content: string) => boolean, opts?: {timeout?: number} )
e2e/extracted-po/tests/catalog-utils.ts:14
↓ 1 callersFunctionexpectCatalog
( file: string, expected: Record<string, unknown>, opts?: {timeout?: number} )
e2e/extracted-json/tests/catalog-utils.ts:7
↓ 1 callersFunctionexpectCatalogPredicate
( file: string, predicate: (json: Record<string, unknown>) => boolean, opts?: {timeout?: num
e2e/extracted-json/tests/catalog-utils.ts:32
↓ 1 callersFunctionexpectDocumentLang
(lang: string)
examples/example-app-router-playground/tests/locale-prefix-never.spec.ts:7
↓ 1 callersFunctionexpectFormatted
( style: 'time' | 'date', format: 'full' | 'long' | 'medium' | 'short', result: string )
packages/use-intl/src/react/useTranslations.test.tsx:141
↓ 1 callersFunctionexpectIterableReactElement
(v: Iterable<ReactElement>)
packages/use-intl/src/react/useFormatter.test.tsx:692
↓ 1 callersFunctionexpectNoCookie
()
examples/example-app-router-playground/tests/locale-cookie-false.spec.ts:4
↓ 1 callersFunctionexpectString
(v: string)
packages/use-intl/src/react/useFormatter.test.tsx:658
↓ 1 callersFunctionextractWithDelayedFile
(delayedFileName: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:1018
↓ 1 callersMethodextracted_name
The extracted hook name we look for in imports (e.g. `useExtracted`)
packages/swc-plugin-extractor/src/lib.rs:118
↓ 1 callersFunctionfindDomainFromHost
( requestHeaders: Headers, domains: DomainsConfig<AppLocales> )
packages/next-intl/src/middleware/resolveLocale.tsx:15
↓ 1 callersFunctionformatDateTimeValue
( name: string, style: DateTimeStyle | undefined, locale: string, values: FormatValues<RichTextElement
packages/icu-minify/src/format.tsx:330
↓ 1 callersFunctionformatMessage
( /** The precompiled ICU message (CompiledMessage from icu-minify) */ ...[, message, values, options]: Pa
packages/use-intl/src/core/format-message/format-only.tsx:9
↓ 1 callersFunctionformatMessage
( message: CompiledMessage, locale: string, values: FormatValues<T>, options?: Omit<FormatOptions, 'fo
packages/icu-minify/test/roundtrip.test.ts:12
↓ 1 callersFunctionformatNumberValue
( name: string, style: NumberStyle | undefined, locale: string, values: FormatValues<RichTextElement>,
packages/icu-minify/src/format.tsx:312
↓ 1 callersFunctionformatPathname
( pathname: string, prefix: string | undefined, search: string | undefined )
packages/next-intl/src/middleware/utils.tsx:256
↓ 1 callersFunctionformatPlural
( name: string, options: PluralOptions, locale: string, values: FormatValues<RichTextElement>, forma
packages/icu-minify/src/format.tsx:247
↓ 1 callersFunctionformatSelect
( name: string, options: SelectOptions, locale: string, values: FormatValues<RichTextElement>, forma
packages/icu-minify/src/format.tsx:226
↓ 1 callersFunctionformatStars
(amount: number)
docs/src/components/GitHubStarsLinkButton.tsx:25
↓ 1 callersFunctionformatTag
( name: string, children: Array<CompiledNode>, locale: string, values: FormatValues<RichTextElement>,
packages/icu-minify/src/format.tsx:393
↓ 1 callersMethodformatToParts
* A version of the format method which it returns an array of objects * which represent "parts" of the object, * separating the formatted
packages/next-intl/types/index.d.ts:174
↓ 1 callersFunctiongenerateMetadata
()
examples/example-app-router-playground/src/app/[locale]/nested/page.tsx:6
↓ 1 callersFunctiongenerateRSS
(blogPosts)
docs/scripts/generate-rss.mjs:97
↓ 1 callersFunctiongetAlternateEntry
(url: URL, locale: AppLocales[number])
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.tsx:64
↓ 1 callersFunctiongetAlternateLinks
(response: Response)
examples/example-app-router-playground/tests/domains-locale-prefix.spec.ts:9
↓ 1 callersFunctiongetBlogPosts
* Dynamically discover and parse blog posts from MDX files
docs/scripts/generate-rss.mjs:61
↓ 1 callersFunctiongetBundleConfig
({ env, external = [], input, output = undefined, plugins = [], ...rest })
tools/src/getBuildConfig.js:35
↓ 1 callersFunctiongetCachedRequestLocale
()
packages/next-intl/src/server/react-server/RequestLocaleCache.tsx:12
↓ 1 callersFunctiongetCalls
(namespace: string)
packages/next-intl/src/react-server/useTranslations.test.tsx:212
↓ 1 callersFunctiongetCanonicalPathname
()
examples/example-app-router-playground/tests/main.spec.ts:704
↓ 1 callersFunctiongetCanonicalPathname
()
examples/example-app-router-playground/tests/base-path.spec.ts:32
↓ 1 callersFunctiongetCatalogLoaderConfig
()
packages/next-intl/src/plugin/getNextConfig.tsx:112
↓ 1 callersFunctiongetCodec
( options: CatalogLoaderConfig, projectRoot: string )
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:38
↓ 1 callersMethodgetCodec
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:122
↓ 1 callersFunctiongetDateTimeFormatOptions
( style: DateTimeStyle | undefined, type: 'date' | 'time', formatOptions: FormatOptions )
packages/icu-minify/src/format.tsx:375
↓ 1 callersFunctiongetDirectoryContents
(obj: any, dirPath: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2214
↓ 1 callersFunctiongetExtractMessagesLoaderConfig
(config: ExtractorConfig)
packages/next-intl/src/plugin/getNextConfig.tsx:105
↓ 1 callersFunctiongetGlobalNow
()
packages/use-intl/src/core/createFormatter.tsx:256
↓ 1 callersFunctiongetHash
()
docs/src/hooks/useLocationHash.tsx:3
↓ 1 callersFunctiongetInvokeRouter
(useRouter: () => Router)
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:97
↓ 1 callersFunctiongetLinks
(request: NextRequest)
packages/next-intl/src/middleware/middleware.test.tsx:890
↓ 1 callersFunctiongetLinks
(pathname: string)
examples/example-app-router-playground/tests/main.spec.ts:540
↓ 1 callersFunctiongetLinks
(pathname: string)
examples/example-app-router-playground/tests/trailing-slash.spec.ts:50
↓ 1 callersFunctiongetLocaleAsPrefix
( locale: AppLocales[number] )
packages/next-intl/src/middleware/utils.tsx:317
↓ 1 callersFunctiongetLocalizedPathname
(pathname: string, locale: AppLocales[number])
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.tsx:75
↓ 1 callersFunctiongetMessageCache
(catalogId: string)
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:29
↓ 1 callersFunctiongetMessagesOrError
( locale: Locale, messages?: Messages, namespace?: string )
packages/use-intl/src/core/createBaseTranslator.tsx:81
↓ 1 callersFunctiongetMockRequest
( href: string, init?: ConstructorParameters<typeof NextRequest>[1] )
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.test.tsx:12
↓ 1 callersFunctiongetNestedValue
(obj: any, pathname: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2125
↓ 1 callersFunctiongetNextConfig
( pluginConfig: PluginConfig, nextConfig?: NextConfig, extractorConfig?: ExtractorConfig )
packages/next-intl/src/plugin/getNextConfig.tsx:83
↓ 1 callersFunctiongetNow
()
packages/use-intl/src/react/useNow.tsx:8
↓ 1 callersFunctiongetNumberFormatOptions
( style: NumberStyle | undefined, formatOptions: FormatOptions )
packages/icu-minify/src/format.tsx:356
↓ 1 callersFunctiongetPageLoadTracker
( context: BrowserContext, pathnameWithSearch: string )
examples/example-app-router-playground/tests/main.spec.ts:6
↓ 1 callersFunctiongetPlainMessage
( candidate: string, values?: RichTranslationValues )
packages/use-intl/src/core/format-message/compile-format.tsx:33
↓ 1 callersFunctiongetPoEntry
(poContent: string, msgid: string)
e2e/extracted-po/tests/catalog-utils.ts:5
↓ 1 callersFunctiongetRedirectFn
( fn: typeof nextRedirect | typeof nextPermanentRedirect )
packages/next-intl/src/navigation/shared/createSharedNavigationFns.tsx:170
↓ 1 callersFunctiongetRenderPathname
(usePathname: () => Return)
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:88
↓ 1 callersFunctiongetRequestLocale
()
packages/next-intl/src/server/react-server/RequestLocale.tsx:41
↓ 1 callersFunctiongetResult
(pathname: string)
packages/next-intl/src/middleware/utils.test.tsx:52
↓ 1 callersFunctiongetRoute
( locale: AppLocales[number], pathname: string, pathnames: Pathnames<AppLocales> )
packages/next-intl/src/navigation/shared/utils.tsx:213
↓ 1 callersFunctiongetTranslator
( message: string, opts: Omit< Parameters<typeof createTranslator>[0], 'locale' | 'messages' | 'na
packages/use-intl/src/core/createTranslator.format-only.test.tsx:16
↓ 1 callersFunctiongetTree
(renderNum: number)
packages/use-intl/src/react/useTranslations.test.tsx:362
↓ 1 callersFunctiongetTurboRules
()
packages/next-intl/src/plugin/getNextConfig.tsx:127
↓ 1 callersMethodgroupSourceMessagesById
( messages: Array<SourceMessage> )
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:380
↓ 1 callersFunctionhandleVideoEnd
()
docs/src/components/Video.tsx:18
↓ 1 callersFunctionhandleVideoPause
()
docs/src/components/Video.tsx:26
↓ 1 callersFunctionhandleVideoPlay
()
docs/src/components/Video.tsx:22
↓ 1 callersFunctionhasStableTurboConfig
()
packages/next-intl/src/plugin/nextFlags.tsx:29
↓ 1 callersFunctionhasTrailingSlash
()
packages/next-intl/src/shared/utils.tsx:53
↓ 1 callersMethodhaveMessagesChangedForFile
( beforeMessages: Map<string, Array<SourceMessage>> | undefined, afterMessages: Map<string, Array<Sour
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:449
↓ 1 callersFunctionignoreSideEffectImports
()
tools/src/getBuildConfig.js:20
↓ 1 callersFunctioninitExtractionCompiler
( extractorConfig?: ExtractorConfig )
packages/next-intl/src/plugin/extractor/initExtractionCompiler.tsx:12
↓ 1 callersFunctioninitPlugin
( pluginConfig: PluginConfig, nextConfig?: NextConfig )
packages/next-intl/src/plugin/createNextIntlPlugin.tsx:10
↓ 1 callersMethodinstallExitHandlers
()
packages/next-intl/src/extractor/ExtractionCompiler.tsx:39
↓ 1 callersFunctionisCatchAllSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:144
↓ 1 callersFunctionisDynamicSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:148
↓ 1 callersMethodisIgnoredDirectoryExplicitlyIncluded
( ignoredDirPath: string, srcPaths: Array<string> )
packages/next-intl/src/extractor/source/SourceFileFilter.tsx:33
↓ 1 callersFunctionisLocalHref
(href: Href)
packages/next-intl/src/shared/utils.tsx:16
↓ 1 callersFunctionisNextJs16OrHigher
()
packages/next-intl/src/plugin/nextFlags.tsx:33
↓ 1 callersFunctionisNextTelemetryDetachedFlushProcess
* Next runs `telemetry/detached-flush.js` in a detached process to flush telemetry * (often when `next dev` exits). That loads dev `next.config` with
packages/next-intl/src/plugin/createNextIntlPlugin.tsx:68
↓ 1 callersFunctionisOptionalCatchAllSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:140
↓ 1 callersFunctionisRelativeHref
(href: Href)
packages/next-intl/src/shared/utils.tsx:11
↓ 1 callersMethodloadMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:172
↓ 1 callersMethodloadSourceMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:206
↓ 1 callersFunctionloadStars
()
docs/src/components/GitHubStarsLinkButton.tsx:35
↓ 1 callersMethodloadTargetMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:229
↓ 1 callersFunctionmakePrimaryColor
(luminance)
docs/tailwind.config.js:1
↓ 1 callersFunctionmapToProvidedLocale
( locales: AppLocales, locale: string )
packages/next-intl/src/middleware/resolveLocale.tsx:33
← previousnext →201–300 of 770, ranked by callers