MCPcopy Create free account

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

Functions770 in github.com/amannn/next-intl

↓ 1 callersFunctionmemoConstructor
( ConstructorFn: Fn, cache: Record<string, InstanceType<Fn> | undefined> )
packages/use-intl/src/core/formatters.tsx:53
↓ 1 callersMethodmergeDescriptions
( messages: Array<SourceMessage> )
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:431
↓ 1 callersMethodmergeSourceDiskMetadata
( diskMessages: Map<string, ExtractorMessage> )
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:280
↓ 1 callersFunctionmiddleware
(request: NextRequest)
examples/example-app-router-playground/src/proxy.ts:5
↓ 1 callersFunctionmockCurrentLocale
(locale: Locale)
packages/next-intl/src/navigation/createNavigation.test.tsx:27
↓ 1 callersFunctionmockCurrentLocale
(locale: Locale)
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:17
↓ 1 callersFunctionmockLocation
(location: Partial<typeof window.location>)
packages/next-intl/src/navigation/createNavigation.test.tsx:39
↓ 1 callersFunctionmockLocation
( location: Partial<typeof window.location>, basePath?: string )
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:21
↓ 1 callersFunctionmockPathname
(pathname: string)
packages/next-intl/src/navigation/react-client/useBasePathname.test.tsx:14
↓ 1 callersFunctionnext
(url: string)
packages/next-intl/src/middleware/middleware.tsx:79
↓ 1 callersMethodnormalizeEvents
(events: Array<Event>)
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:50
↓ 1 callersFunctionnormalizeNameOrNameWithParams
( href: | HrefOrHrefWithParams<Pathname> | { locale: Locale; href: HrefOrHrefWithPar
packages/next-intl/src/navigation/shared/utils.tsx:51
↓ 1 callersFunctionnormalizePathToPosix
(filePath: string)
packages/next-intl/src/extractor/utils.tsx:9
↓ 1 callersFunctionnormalizeTurbopackAliasPath
(pathname: string)
packages/next-intl/src/plugin/getNextConfig.tsx:30
↓ 1 callersFunctionnormalizeTweet
(tweet: TweetData)
docs/src/components/Tweet.tsx:20
↓ 1 callersFunctionnotSupported
(hookName: string)
packages/next-intl/src/navigation/react-server/createNavigation.tsx:38
↓ 1 callersFunctiononClick
()
docs/src/components/PartnerLink.tsx:16
↓ 1 callersFunctionorderLocales
(locales: AppLocales)
packages/next-intl/src/middleware/resolveLocale.tsx:28
↓ 1 callersFunctionparseBlogPostLinks
(mdx)
docs/scripts/generate-rss.mjs:22
↓ 1 callersFunctionpathExists
(pathname: string)
packages/next-intl/src/plugin/getNextConfig.tsx:44
↓ 1 callersFunctionprecompileMessages
* Recursively precompiles all ICU message strings in a messages object * using icu-minify/compile for smaller runtime bundles.
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:89
↓ 1 callersFunctionprepareTranslationValues
(values: RichTranslationValues)
packages/use-intl/src/core/createBaseTranslator.tsx:19
↓ 1 callersFunctionprocess
( code: string, opts?: Partial<ConstructorParameters<typeof MessageExtractor>[0]> )
packages/next-intl/src/extractor/extractor/MessageExtractor.test.tsx:4
↓ 1 callersMethodprocessFile
(absoluteFilePath: string)
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:299
↓ 1 callersFunctionreadStream
(stream: ReactDOMServerReadableStream)
packages/next-intl/src/react-server/testUtils.tsx:5
↓ 1 callersMethodrebuildMessageById
(id: string)
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:395
↓ 1 callersFunctionreceiveLocaleCookie
( localeCookie?: boolean | CookieAttributes )
packages/next-intl/src/routing/config.tsx:154
↓ 1 callersFunctionreceiveLocalePrefixConfig
(localePrefix?: LocalePrefix<AppLocales, AppLocalePrefixMode>)
packages/next-intl/src/routing/config.tsx:177
↓ 1 callersFunctionrenderDate
( message: string, globalFormats?: Formats, overrideFormats?: Formats )
packages/use-intl/src/react/useTranslations.test.tsx:932
↓ 1 callersFunctionrenderDateTime
( value: Date | number, options?: DateTimeFormatOptions )
packages/use-intl/src/react/useFormatter.test.tsx:32
↓ 1 callersFunctionrenderDisplayName
(value: string, options: Intl.DisplayNamesOptions)
packages/use-intl/src/react/useFormatter.test.tsx:775
↓ 1 callersFunctionrenderList
( value: Iterable<string>, options?: Intl.ListFormatOptions )
packages/use-intl/src/react/useFormatter.test.tsx:635
↓ 1 callersFunctionrenderNumber
(value: number | bigint, options?: NumberFormatOptions)
packages/use-intl/src/react/useFormatter.test.tsx:296
↓ 1 callersFunctionrenderPathname
()
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:489
↓ 1 callersFunctionrenderRawMessage
( message: any, callback: (rendered: string) => ReactNode )
packages/use-intl/src/react/useTranslations.test.tsx:507
↓ 1 callersFunctionrenderRelativeTime
( date: Date | number, nowOrOptions: Date | number | RelativeTimeFormatOptions )
packages/use-intl/src/react/useFormatter.test.tsx:434
↓ 1 callersFunctionrenderRichTextMessage
( message: string, values?: RichTranslationValues, formats?: Formats )
packages/use-intl/src/react/useTranslations.test.tsx:415
↓ 1 callersFunctionresolveFormatOrOptions
( typeFormats: Record<string, Options> | undefined, formatOrOptions?: string | Options, overrides?
packages/use-intl/src/core/createFormatter.tsx:115
↓ 1 callersFunctionresolveI18nPath
(providedPath?: string, cwd?: string)
packages/next-intl/src/plugin/getNextConfig.tsx:36
↓ 1 callersFunctionresolveLocale
( routing: Omit< ResolvedRoutingConfig< AppLocales, AppLocalePrefixMode, AppPathnames,
packages/next-intl/src/middleware/resolveLocale.tsx:228
↓ 1 callersFunctionresolveLocaleFromDomain
( routing: Omit< ResolvedRoutingConfig< AppLocales, AppLocalePrefixMode, AppPathnames,
packages/next-intl/src/middleware/resolveLocale.tsx:142
↓ 1 callersFunctionresolvePath
(pathname: string)
packages/next-intl/src/plugin/getNextConfig.tsx:37
↓ 1 callersFunctionresolveRelativeTimeUnit
(seconds: number)
packages/use-intl/src/core/createFormatter.tsx:46
↓ 1 callersMethodresolvedOptions
* Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object. * * @returns A new obje
packages/next-intl/types/index.d.ts:190
↓ 1 callersFunctionrewriteBundle
(regex, replaceFn)
packages/next-intl/rollup.config.js:5
↓ 1 callersFunctionrfc822Date
(d)
docs/scripts/generate-rss.mjs:87
↓ 1 callersFunctionrunInRender
(cb: () => void)
packages/next-intl/src/navigation/createNavigation.test.tsx:86
↓ 1 callersMethodsaveImpl
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:512
↓ 1 callersMethodschedule
(saveTask: SaveTask<Value>)
packages/next-intl/src/extractor/catalog/SaveScheduler.tsx:21
↓ 1 callersFunctionserializeValue
(value: SearchParamValue)
packages/next-intl/src/navigation/shared/utils.tsx:73
↓ 1 callersFunctionsetLocaleAction
(locale: string)
e2e/extracted-monorepo-app/src/app/layout.tsx:13
↓ 1 callersMethodshouldEnterDirectory
( dirPath: string, srcPaths: Array<string> )
packages/next-intl/src/extractor/source/SourceFileFilter.tsx:19
↓ 1 callersFunctionsimulateFileEvent
( dirPath: string, event: 'rename', filename: string )
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2260
↓ 1 callersFunctionsimulateManualFileEdit
(filePath: string, content: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2119
↓ 1 callersFunctionsimulateSourceFileCreate
( filePath: string, content: string )
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2304
↓ 1 callersFunctionsimulateSourceFileDelete
(filePath: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2364
↓ 1 callersFunctionsimulateSourceFileUpdate
( filePath: string, content: string )
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2334
↓ 1 callersMethodstart
()
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:21
↓ 1 callersMethodstartWatcher
()
packages/next-intl/src/extractor/catalog/CatalogLocales.tsx:76
↓ 1 callersFunctionstartWatching
(messagesPath: string)
packages/next-intl/src/plugin/declaration/createMessagesDeclaration.tsx:60
↓ 1 callersMethodstopWatcher
()
packages/next-intl/src/extractor/catalog/CatalogLocales.tsx:99
↓ 1 callersMethodsubscribeLocalesChange
(callback: LocaleChangeCallback)
packages/next-intl/src/extractor/catalog/CatalogLocales.tsx:61
↓ 1 callersFunctionsyncCookie
( request: NextRequest, response: NextResponse, locale: Locale, routing: Pick< ResolvedRoutingConf
packages/next-intl/src/middleware/syncCookie.tsx:16
↓ 1 callersMethodtarget_name
The real hook name we import from next-intl (e.g. `useTranslations`)
packages/swc-plugin-extractor/src/lib.rs:126
↓ 1 callersMethodtoJSONString
* Turns the content of a file into a JSON string that represents extracted * messages. The returned value will be passed to `JSON.parse`. * *
packages/next-intl/src/extractor/format/ExtractorCodec.tsx:40
↓ 1 callersFunctiontr
(visitor_rc: Rc<RefCell<TransformVisitor>>)
packages/swc-plugin-extractor/tests/fixture.rs:29
↓ 1 callersFunctiontranslateMessage
(msg: T)
packages/use-intl/src/core/createTranslator.test.tsx:232
↓ 1 callersFunctiontraverseMessages
( obj: StoredFormat, callback: (value: string, path: string) => void, path = '' )
packages/next-intl/src/extractor/format/codecs/JSONCodec.tsx:38
↓ 1 callersMethoduninstallExitHandlers
()
packages/next-intl/src/extractor/ExtractionCompiler.tsx:46
↓ 1 callersMethodunsubscribeLocalesChange
(callback: LocaleChangeCallback)
packages/next-intl/src/extractor/catalog/CatalogLocales.tsx:69
↓ 1 callersFunctionupdateHash
()
docs/src/hooks/useLocationHash.tsx:11
↓ 1 callersFunctionuseExtracted
(namespace?: string)
packages/use-intl/src/react/useExtracted.tsx:69
↓ 1 callersFunctionuseHook
(hookName: string, promise: Promise<Value>)
packages/next-intl/src/react-server/useConfig.tsx:4
↓ 1 callersFunctionuseIsMobile
()
docs/src/hooks/useIsMobile.tsx:3
↓ 1 callersFunctionuseMessages
()
packages/use-intl/src/react/useMessages.tsx:4
↓ 1 callersFunctionuseTimeZone
()
packages/use-intl/src/react/useTimeZone.tsx:3
↓ 1 callersFunctionuseTranslationsImpl
( allMessagesPrefixed: Messages, namespacePrefixed: NestedKey, namespacePrefix: string )
packages/use-intl/src/react/useTranslationsImpl.tsx:12
↓ 1 callersFunctionvalidateMessages
( messages: AbstractIntlMessages, onError: (error: IntlError) => void )
packages/use-intl/src/core/validateMessages.tsx:29
↓ 1 callersFunctionvalidateMessagesSegment
( messages: AbstractIntlMessages, invalidKeyLabels: Array<string>, parentPath?: string )
packages/use-intl/src/core/validateMessages.tsx:6
↓ 1 callersFunctionvalidateReceivedConfig
( config: Partial< Pick< ResolvedRoutingConfig< AppLocales, AppLocalePrefixMode,
packages/next-intl/src/navigation/shared/utils.tsx:315
↓ 1 callersFunctionvalidateUniqueLocalesPerDomain
(domains: AppDomains)
packages/next-intl/src/routing/defineRouting.tsx:28
↓ 1 callersMethodwalkSourceFiles
( dir: string, srcPaths: Array<string>, acc: Array<string> = [] )
packages/next-intl/src/extractor/source/SourceFileScanner.tsx:6
↓ 1 callersFunctionwarnAboutMissingReference
( id: string, warnedMissingReferenceIds: Set<string> )
packages/next-intl/src/extractor/utils.tsx:91
↓ 1 callersFunctionwarn_dynamic_expression
(expr: &Expr)
packages/swc-plugin-extractor/src/lib.rs:488
↓ 1 callersFunctionwatchFile
(filepath: string, callback: () => void)
packages/next-intl/src/plugin/watchFile.tsx:8
↓ 1 callersFunctionwithBasePath
(request: NextRequest, basePath = '/base')
packages/next-intl/src/middleware/middleware.test.tsx:70
↓ 1 callersFunctionwithExtensions
(localPath: string)
packages/next-intl/src/plugin/getNextConfig.tsx:21
↓ 1 callersFunctionwithTempEditApp
(filePath: string, content: string)
e2e/extracted-po/tests/main.spec.ts:14
↓ 1 callersFunctionwithTempEditApp
(filePath: string, content: string)
e2e/extracted-json/tests/main.spec.ts:15
↓ 1 callersFunctionwithTempFileApp
(filePath: string, content: string)
e2e/extracted-po/tests/main.spec.ts:12
↓ 1 callersFunctionwithTempFileApp
(filePath: string, content: string)
e2e/extracted-json/tests/main.spec.ts:17
↓ 1 callersFunctionwithTempRemoveApp
(filePath: string)
e2e/extracted-po/tests/main.spec.ts:16
↓ 1 callersFunctionwithTempRemoveApp
(filePath: string)
e2e/extracted-json/tests/main.spec.ts:19
↓ 1 callersMethodwrite
( messages: Array<ExtractorMessage>, context: { locale: Locale; sourceMessagesById: Map<st
packages/next-intl/src/extractor/catalog/CatalogPersister.tsx:58
↓ 1 callersFunctionxmlEscape
(s = '')
docs/scripts/generate-rss.mjs:79
FunctionA
({quit}: {quit?: boolean})
packages/next-intl/src/react-server/useTranslations.test.tsx:69
FunctionAbout
()
examples/example-app-router-migration/src/pages/[locale]/about.tsx:6
FunctionAboutPage
({ params }: PageProps<'/[locale]/about'>)
examples/example-app-router-playground/src/app/[locale]/about/page.tsx:1
FunctionAboutV2
()
examples/example-app-router-playground/src/app/[locale]/about/v2/page.tsx:1
FunctionAlgoliaSearch
()
docs/src/components/AlgoliaSearch.tsx:8
← previousnext →301–400 of 770, ranked by callers