Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amannn/next-intl
/ functions
Functions
770 in github.com/amannn/next-intl
⨍
Functions
770
◇
Types & classes
60
↓ 1 callers
Function
createMessagesDeclaration
( messagesPaths: Array<string> )
packages/next-intl/src/plugin/declaration/createMessagesDeclaration.tsx:8
↓ 1 callers
Function
createMockRequest
( pathnameWithSearch = '/', acceptLanguageLocale = 'en', host = 'http://localhost:3000', localeCookieV
packages/next-intl/src/middleware/middleware.test.tsx:45
↓ 1 callers
Function
createNavigation
( routing?: [AppPathnames] extends [never] ? | RoutingConfigSharedNavigation< AppLoc
packages/next-intl/src/navigation/react-server/createNavigation.tsx:14
↓ 1 callers
Function
createNodeModule
(moduleName: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:1795
↓ 1 callers
Function
createPage
(browser: Browser, acceptLanguage: string)
examples/example-app-router-playground/tests/domains-locale-prefix.spec.ts:28
↓ 1 callers
Function
createPoCatalogUtils
(messagesDir: string)
e2e/extracted-po/tests/catalog-utils.ts:12
↓ 1 callers
Function
createResponse
(init: MiddlewareResponseInit)
packages/next-intl/src/middleware/middleware.test.tsx:24
↓ 1 callers
Function
createTranslatorImpl
( {messages, namespace, ...rest}: CreateTranslatorImplProps<Messages>, namespacePrefix: string )
packages/use-intl/src/core/createTranslatorImpl.tsx:18
↓ 1 callers
Function
dateTime
( value: Date | number, formatOrOptions?: FormatNames['dateTime'] | DateTimeFormatOptions, overrid
packages/use-intl/src/core/createFormatter.tsx:181
↓ 1 callers
Method
define_translator
(&mut self, name: Id, namespace: Option<Wtf8Atom>)
packages/swc-plugin-extractor/src/lib.rs:85
↓ 1 callers
Function
encodePathname
(pathname: string)
packages/next-intl/src/navigation/shared/utils.tsx:189
↓ 1 callers
Method
expandDirectoryDeleteEvents
( events: Array<Event>, prevKnownFiles: Array<string> )
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:112
↓ 1 callers
Function
expectCatalog
( file: string, predicate: (content: string) => boolean, opts?: {timeout?: number} )
e2e/extracted-po/tests/catalog-utils.ts:14
↓ 1 callers
Function
expectCatalog
( file: string, expected: Record<string, unknown>, opts?: {timeout?: number} )
e2e/extracted-json/tests/catalog-utils.ts:7
↓ 1 callers
Function
expectCatalogPredicate
( file: string, predicate: (json: Record<string, unknown>) => boolean, opts?: {timeout?: num
e2e/extracted-json/tests/catalog-utils.ts:32
↓ 1 callers
Function
expectDocumentLang
(lang: string)
examples/example-app-router-playground/tests/locale-prefix-never.spec.ts:7
↓ 1 callers
Function
expectFormatted
( style: 'time' | 'date', format: 'full' | 'long' | 'medium' | 'short', result: string )
packages/use-intl/src/react/useTranslations.test.tsx:141
↓ 1 callers
Function
expectIterableReactElement
(v: Iterable<ReactElement>)
packages/use-intl/src/react/useFormatter.test.tsx:692
↓ 1 callers
Function
expectNoCookie
()
examples/example-app-router-playground/tests/locale-cookie-false.spec.ts:4
↓ 1 callers
Function
expectString
(v: string)
packages/use-intl/src/react/useFormatter.test.tsx:658
↓ 1 callers
Function
extractWithDelayedFile
(delayedFileName: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:1018
↓ 1 callers
Method
extracted_name
The extracted hook name we look for in imports (e.g. `useExtracted`)
packages/swc-plugin-extractor/src/lib.rs:118
↓ 1 callers
Function
findDomainFromHost
( requestHeaders: Headers, domains: DomainsConfig<AppLocales> )
packages/next-intl/src/middleware/resolveLocale.tsx:15
↓ 1 callers
Function
formatDateTimeValue
( name: string, style: DateTimeStyle | undefined, locale: string, values: FormatValues<RichTextElement
packages/icu-minify/src/format.tsx:330
↓ 1 callers
Function
formatMessage
( /** The precompiled ICU message (CompiledMessage from icu-minify) */ ...[, message, values, options]: Pa
packages/use-intl/src/core/format-message/format-only.tsx:9
↓ 1 callers
Function
formatMessage
( message: CompiledMessage, locale: string, values: FormatValues<T>, options?: Omit<FormatOptions, 'fo
packages/icu-minify/test/roundtrip.test.ts:12
↓ 1 callers
Function
formatNumberValue
( name: string, style: NumberStyle | undefined, locale: string, values: FormatValues<RichTextElement>,
packages/icu-minify/src/format.tsx:312
↓ 1 callers
Function
formatPathname
( pathname: string, prefix: string | undefined, search: string | undefined )
packages/next-intl/src/middleware/utils.tsx:256
↓ 1 callers
Function
formatPlural
( name: string, options: PluralOptions, locale: string, values: FormatValues<RichTextElement>, forma
packages/icu-minify/src/format.tsx:247
↓ 1 callers
Function
formatSelect
( name: string, options: SelectOptions, locale: string, values: FormatValues<RichTextElement>, forma
packages/icu-minify/src/format.tsx:226
↓ 1 callers
Function
formatStars
(amount: number)
docs/src/components/GitHubStarsLinkButton.tsx:25
↓ 1 callers
Function
formatTag
( name: string, children: Array<CompiledNode>, locale: string, values: FormatValues<RichTextElement>,
packages/icu-minify/src/format.tsx:393
↓ 1 callers
Method
formatToParts
* 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 callers
Function
generateMetadata
()
examples/example-app-router-playground/src/app/[locale]/nested/page.tsx:6
↓ 1 callers
Function
generateRSS
(blogPosts)
docs/scripts/generate-rss.mjs:97
↓ 1 callers
Function
getAlternateEntry
(url: URL, locale: AppLocales[number])
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.tsx:64
↓ 1 callers
Function
getAlternateLinks
(response: Response)
examples/example-app-router-playground/tests/domains-locale-prefix.spec.ts:9
↓ 1 callers
Function
getBlogPosts
* Dynamically discover and parse blog posts from MDX files
docs/scripts/generate-rss.mjs:61
↓ 1 callers
Function
getBundleConfig
({ env, external = [], input, output = undefined, plugins = [], ...rest })
tools/src/getBuildConfig.js:35
↓ 1 callers
Function
getCachedRequestLocale
()
packages/next-intl/src/server/react-server/RequestLocaleCache.tsx:12
↓ 1 callers
Function
getCalls
(namespace: string)
packages/next-intl/src/react-server/useTranslations.test.tsx:212
↓ 1 callers
Function
getCanonicalPathname
()
examples/example-app-router-playground/tests/main.spec.ts:704
↓ 1 callers
Function
getCanonicalPathname
()
examples/example-app-router-playground/tests/base-path.spec.ts:32
↓ 1 callers
Function
getCatalogLoaderConfig
()
packages/next-intl/src/plugin/getNextConfig.tsx:112
↓ 1 callers
Function
getCodec
( options: CatalogLoaderConfig, projectRoot: string )
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:38
↓ 1 callers
Method
getCodec
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:122
↓ 1 callers
Function
getDateTimeFormatOptions
( style: DateTimeStyle | undefined, type: 'date' | 'time', formatOptions: FormatOptions )
packages/icu-minify/src/format.tsx:375
↓ 1 callers
Function
getDirectoryContents
(obj: any, dirPath: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2214
↓ 1 callers
Function
getExtractMessagesLoaderConfig
(config: ExtractorConfig)
packages/next-intl/src/plugin/getNextConfig.tsx:105
↓ 1 callers
Function
getGlobalNow
()
packages/use-intl/src/core/createFormatter.tsx:256
↓ 1 callers
Function
getHash
()
docs/src/hooks/useLocationHash.tsx:3
↓ 1 callers
Function
getInvokeRouter
(useRouter: () => Router)
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:97
↓ 1 callers
Function
getLinks
(request: NextRequest)
packages/next-intl/src/middleware/middleware.test.tsx:890
↓ 1 callers
Function
getLinks
(pathname: string)
examples/example-app-router-playground/tests/main.spec.ts:540
↓ 1 callers
Function
getLinks
(pathname: string)
examples/example-app-router-playground/tests/trailing-slash.spec.ts:50
↓ 1 callers
Function
getLocaleAsPrefix
( locale: AppLocales[number] )
packages/next-intl/src/middleware/utils.tsx:317
↓ 1 callers
Function
getLocalizedPathname
(pathname: string, locale: AppLocales[number])
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.tsx:75
↓ 1 callers
Function
getMessageCache
(catalogId: string)
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:29
↓ 1 callers
Function
getMessagesOrError
( locale: Locale, messages?: Messages, namespace?: string )
packages/use-intl/src/core/createBaseTranslator.tsx:81
↓ 1 callers
Function
getMockRequest
( href: string, init?: ConstructorParameters<typeof NextRequest>[1] )
packages/next-intl/src/middleware/getAlternateLinksHeaderValue.test.tsx:12
↓ 1 callers
Function
getNestedValue
(obj: any, pathname: string)
packages/next-intl/src/extractor/ExtractionCompiler.test.tsx:2125
↓ 1 callers
Function
getNextConfig
( pluginConfig: PluginConfig, nextConfig?: NextConfig, extractorConfig?: ExtractorConfig )
packages/next-intl/src/plugin/getNextConfig.tsx:83
↓ 1 callers
Function
getNow
()
packages/use-intl/src/react/useNow.tsx:8
↓ 1 callers
Function
getNumberFormatOptions
( style: NumberStyle | undefined, formatOptions: FormatOptions )
packages/icu-minify/src/format.tsx:356
↓ 1 callers
Function
getPageLoadTracker
( context: BrowserContext, pathnameWithSearch: string )
examples/example-app-router-playground/tests/main.spec.ts:6
↓ 1 callers
Function
getPlainMessage
( candidate: string, values?: RichTranslationValues )
packages/use-intl/src/core/format-message/compile-format.tsx:33
↓ 1 callers
Function
getPoEntry
(poContent: string, msgid: string)
e2e/extracted-po/tests/catalog-utils.ts:5
↓ 1 callers
Function
getRedirectFn
( fn: typeof nextRedirect | typeof nextPermanentRedirect )
packages/next-intl/src/navigation/shared/createSharedNavigationFns.tsx:170
↓ 1 callers
Function
getRenderPathname
(usePathname: () => Return)
packages/next-intl/src/navigation/react-client/createNavigation.test.tsx:88
↓ 1 callers
Function
getRequestLocale
()
packages/next-intl/src/server/react-server/RequestLocale.tsx:41
↓ 1 callers
Function
getResult
(pathname: string)
packages/next-intl/src/middleware/utils.test.tsx:52
↓ 1 callers
Function
getRoute
( locale: AppLocales[number], pathname: string, pathnames: Pathnames<AppLocales> )
packages/next-intl/src/navigation/shared/utils.tsx:213
↓ 1 callers
Function
getTranslator
( message: string, opts: Omit< Parameters<typeof createTranslator>[0], 'locale' | 'messages' | 'na
packages/use-intl/src/core/createTranslator.format-only.test.tsx:16
↓ 1 callers
Function
getTree
(renderNum: number)
packages/use-intl/src/react/useTranslations.test.tsx:362
↓ 1 callers
Function
getTurboRules
()
packages/next-intl/src/plugin/getNextConfig.tsx:127
↓ 1 callers
Method
groupSourceMessagesById
( messages: Array<SourceMessage> )
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:380
↓ 1 callers
Function
handleVideoEnd
()
docs/src/components/Video.tsx:18
↓ 1 callers
Function
handleVideoPause
()
docs/src/components/Video.tsx:26
↓ 1 callers
Function
handleVideoPlay
()
docs/src/components/Video.tsx:22
↓ 1 callers
Function
hasStableTurboConfig
()
packages/next-intl/src/plugin/nextFlags.tsx:29
↓ 1 callers
Function
hasTrailingSlash
()
packages/next-intl/src/shared/utils.tsx:53
↓ 1 callers
Method
haveMessagesChangedForFile
( beforeMessages: Map<string, Array<SourceMessage>> | undefined, afterMessages: Map<string, Array<Sour
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:449
↓ 1 callers
Function
ignoreSideEffectImports
()
tools/src/getBuildConfig.js:20
↓ 1 callers
Function
initExtractionCompiler
( extractorConfig?: ExtractorConfig )
packages/next-intl/src/plugin/extractor/initExtractionCompiler.tsx:12
↓ 1 callers
Function
initPlugin
( pluginConfig: PluginConfig, nextConfig?: NextConfig )
packages/next-intl/src/plugin/createNextIntlPlugin.tsx:10
↓ 1 callers
Method
installExitHandlers
()
packages/next-intl/src/extractor/ExtractionCompiler.tsx:39
↓ 1 callers
Function
isCatchAllSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:144
↓ 1 callers
Function
isDynamicSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:148
↓ 1 callers
Method
isIgnoredDirectoryExplicitlyIncluded
( ignoredDirPath: string, srcPaths: Array<string> )
packages/next-intl/src/extractor/source/SourceFileFilter.tsx:33
↓ 1 callers
Function
isLocalHref
(href: Href)
packages/next-intl/src/shared/utils.tsx:16
↓ 1 callers
Function
isNextJs16OrHigher
()
packages/next-intl/src/plugin/nextFlags.tsx:33
↓ 1 callers
Function
isNextTelemetryDetachedFlushProcess
* 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 callers
Function
isOptionalCatchAllSegment
(pathname: string)
packages/next-intl/src/shared/utils.tsx:140
↓ 1 callers
Function
isRelativeHref
(href: Href)
packages/next-intl/src/shared/utils.tsx:11
↓ 1 callers
Method
loadMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:172
↓ 1 callers
Method
loadSourceMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:206
↓ 1 callers
Function
loadStars
()
docs/src/components/GitHubStarsLinkButton.tsx:35
↓ 1 callers
Method
loadTargetMessages
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:229
↓ 1 callers
Function
makePrimaryColor
(luminance)
docs/tailwind.config.js:1
↓ 1 callers
Function
mapToProvidedLocale
( locales: AppLocales, locale: string )
packages/next-intl/src/middleware/resolveLocale.tsx:33
← previous
next →
201–300 of 770, ranked by callers