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
Function
PartnerSidebar
({intro = 'Presented by'}: Props)
docs/src/components/PartnerSidebar.tsx:8
Function
PathnamesPage
({ params }: PageProps<'/[locale]/pathnames'>)
examples/example-app-router/src/app/[locale]/pathnames/page.tsx:6
Function
Pre
({ children, className, 'data-copy': copy, 'data-filename': filename, ...props }: ComponentProps<'pr
docs/src/components/Pre.tsx:6
Function
ProfileCard
()
e2e/shared-ui/src/ProfileCard.tsx:5
Function
Provider
({children}: {children: ReactNode})
packages/use-intl/src/react/useTranslations.test.tsx:1041
Function
Redirect
()
examples/example-app-router-playground/src/app/[locale]/redirect/page.tsx:4
Function
RegularComponent
()
examples/example-app-router-playground/src/components/UseMessagesTypeTests.tsx:19
Function
RegularComponent
()
examples/example-app-router-playground/src/components/UseTranslationsTypeTests.tsx:9
Function
RegularComponent
()
examples/example-app-router-playground/src/components/UseFormatterTypeTests.tsx:4
Function
RegularComponent
()
examples/example-app-router-playground/src/components/UseLocaleTypeTests.tsx:5
Function
RichText
({children, ...rest}: Props)
examples/example-app-router-playground/src/components/RichText.tsx:9
Function
RootLayout
({children}: Props)
examples/example-app-router-playground/src/app/layout.tsx:9
Function
RootLayout
({children}: Props)
examples/example-app-router/src/app/layout.tsx:10
Function
RootLayout
({children}: Props)
examples/example-app-router-migration/src/app/layout.tsx:9
Function
RootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-monorepo-app/src/app/layout.tsx:10
Function
RootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-po/src/app/layout.tsx:4
Function
RootLayout
({children}: LayoutProps<'/'>)
e2e/extracted-json/src/app/layout.tsx:4
Function
RootPage
()
examples/example-app-router/src/app/page.tsx:4
Function
Screenshot
({className, ...rest}: Props)
docs/src/components/Screenshot.tsx:7
Function
Section
({children, description, title}: Props)
docs/src/components/Section.tsx:10
Function
ServerActions
()
examples/example-app-router-playground/src/app/[locale]/actions/page.tsx:9
Function
Steps
({children}: Props)
docs/src/components/Steps.tsx:8
Function
TestComponent
()
packages/next-intl/src/react-server/useTranslations.test.tsx:36
Function
TestComponent
()
packages/next-intl/src/react-server/useFormatter.test.tsx:19
Function
Tweet
({id}: Props)
docs/src/components/Tweet.tsx:35
Function
TypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithoutNamespace.tsx:13
Function
TypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithNamespaceAndLocale.tsx:14
Function
TypeTest
()
examples/example-app-router-playground/src/components/AsyncComponent.tsx:20
Function
TypeTest
()
examples/example-app-router-playground/src/components/AsyncComponentWithoutNamespaceAndLocale.tsx:14
Function
TypeTests
()
packages/next-intl/src/server/react-server/index.test.tsx:77
Function
UnlocalizedPathname
()
examples/example-app-router-playground/src/app/[locale]/nested/UnlocalizedPathname.tsx:5
Function
UserCompanies
()
docs/src/components/UserCompanies/UserCompanies.tsx:131
Function
UserTestimonial
({ bgUrlBright, bgUrlDark, blendModeDark, className, featured, href, linkTitle, portraitUrl,
docs/src/components/UserTestimonial.tsx:18
Function
Video
({ className, ...props }: Omit<ComponentProps<'video'>, 'controls'>)
docs/src/components/Video.tsx:6
Function
Wrapper
({children, className}: Props)
docs/src/components/Wrapper.tsx:9
Function
ZodForm
({action, children}: Props)
examples/example-app-router-playground/src/app/[locale]/actions/ZodForm.tsx:11
Function
ZodFormExample
()
examples/example-app-router-playground/src/app/[locale]/actions/ZodFormExample.tsx:53
Method
[Symbol.dispose]
()
packages/next-intl/src/extractor/ExtractionCompiler.tsx:34
Method
[Symbol.dispose]
()
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:155
Method
[Symbol.dispose]
()
packages/next-intl/src/extractor/catalog/SaveScheduler.tsx:84
Method
[Symbol.dispose]
()
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:609
Function
asyncApis
()
examples/example-app-router-playground/src/components/TypePortabilityTest.ts:44
Function
buildEnd
()
tools/src/getBuildConfig.js:85
Function
buildOutput
()
docs/src/components/CodeSnippets.tsx:280
Function
cachedFn
(...args: Array<unknown>)
packages/next-intl/__mocks__/react.tsx:30
Function
catalogLoader
( this: TurbopackLoaderContext<CatalogLoaderConfig>, source: string )
packages/next-intl/src/plugin/catalog/catalogLoader.tsx:55
Function
cleanup
()
packages/next-intl/src/plugin/extractor/initExtractionCompiler.tsx:49
Function
comparePathnamePairs
(a: string, b: string)
packages/next-intl/src/shared/utils.tsx:152
Function
component
(props: ComponentProps<typeof ThemeSwitch>)
docs/src/theme.config.tsx:60
Method
constructor
( ...[message, ...rest]: ConstructorParameters<typeof IntlMessageFormat> )
packages/use-intl/src/react/useTranslations.test.tsx:27
Method
constructor
( ...[message, ...rest]: ConstructorParameters< typeof IntlMessageFormat
packages/use-intl/src/react/useTranslations.test.tsx:1013
Method
constructor
(code: IntlErrorCode, originalMessage?: string)
packages/use-intl/src/core/IntlError.tsx:7
Method
constructor
( config: ExtractorConfig, opts: { extractor?: MessageExtractor; isDevelopment?: boolean;
packages/next-intl/src/extractor/ExtractionCompiler.tsx:8
Method
constructor
(roots: Array<string>, onChange: OnChange)
packages/next-intl/src/extractor/source/SourceFileWatcher.tsx:16
Method
constructor
(maxSize: number)
packages/next-intl/src/extractor/extractor/LRUCache.tsx:10
Method
constructor
(opts: { isDevelopment?: boolean; projectRoot?: string; sourceMap?: boolean; })
packages/next-intl/src/extractor/extractor/MessageExtractor.tsx:20
Method
constructor
(delayMs = 50)
packages/next-intl/src/extractor/catalog/SaveScheduler.tsx:17
Method
constructor
( config: ExtractorConfig, opts: { extractor: MessageExtractor; isDevelopment?: boolean;
packages/next-intl/src/extractor/catalog/CatalogManager.tsx:93
Method
constructor
(params: CatalogLocalesParams)
packages/next-intl/src/extractor/catalog/CatalogLocales.tsx:27
Method
constructor
(params: { messagesPath: string; codec: ExtractorCodec; extension: string; })
packages/next-intl/src/extractor/catalog/CatalogPersister.tsx:11
Function
create
()
packages/use-intl/src/core/formatters.tsx:30
Function
dateTimeRange
( start: Date | number, end: Date | number, formatOrOptions?: FormatNames['dateTime'] | DateTimeFo
packages/use-intl/src/core/createFormatter.tsx:213
Function
datesTimesNumbers
()
docs/src/components/CodeSnippets.tsx:67
Function
decode
(source)
packages/next-intl/src/extractor/format/codecs/JSONCodec.tsx:14
Function
decode
(content, context)
packages/next-intl/src/extractor/format/codecs/POCodec.tsx:26
Function
decode
(content, context)
packages/next-intl/src/extractor/format/codecs/fixtures/POCodecSourceMessageKey.tsx:15
Function
decode
(content)
packages/next-intl/src/extractor/format/codecs/fixtures/JSONCodecStructured.tsx:6
Function
defaultGetMessageFallback
(props: { error: IntlError; key: string; namespace?: string; })
packages/use-intl/src/core/defaults.tsx:9
Function
defaultNow
()
packages/next-intl/src/server/react-server/getDefaultNow.tsx:3
Function
defaultOnError
(error: IntlError)
packages/use-intl/src/core/defaults.tsx:17
Function
displayName
( value: string, formatOrOptions: FormatNames['displayName'] | Intl.DisplayNamesOptions, overrides
packages/use-intl/src/core/createFormatter.tsx:409
Function
encode
(messages)
packages/next-intl/src/extractor/format/codecs/JSONCodec.tsx:25
Function
encode
(messages, context)
packages/next-intl/src/extractor/format/codecs/POCodec.tsx:46
Function
encode
(messages, context)
packages/next-intl/src/extractor/format/codecs/fixtures/POCodecSourceMessageKey.tsx:49
Function
encode
(messages)
packages/next-intl/src/extractor/format/codecs/fixtures/JSONCodecStructured.tsx:19
Function
error
(issue)
examples/example-app-router-playground/src/app/[locale]/actions/ZodFormExample.tsx:34
Function
extractMessages
(params: ExtractorConfigInput)
packages/next-intl/src/extractor/extractMessages.tsx:8
Function
extractionLoader
( this: TurbopackLoaderContext<ExtractorConfig>, source: string )
packages/next-intl/src/plugin/extractor/extractionLoader.tsx:11
Function
findCaseInsensitiveString
( candidate: string, strings: Array<string> )
packages/next-intl/src/middleware/utils.tsx:134
Method
format
* 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
Function
formatMessage
( /** The raw ICU message string (or precompiled message, though this implementation ignores precompilation)
packages/use-intl/src/core/format-message/compile-format.tsx:54
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/use-intl/types/index.d.ts:174
Method
generate
(message: &Wtf8Atom)
packages/swc-plugin-extractor/src/key_generator.rs:8
Function
generateBundle
(outputOptions, bundle)
tools/src/getBuildConfig.js:25
Function
generateBundle
(options, bundle)
packages/next-intl/rollup.config.js:8
Function
generateMetadata
()
packages/swc-plugin-extractor/tests/fixture/multiple-hooks/output.js:3
Function
generateMetadata
()
packages/swc-plugin-extractor/tests/fixture/multiple-hooks/input.js:4
Function
generateMetadata
()
examples/example-app-router-extracted/src/app/layout.tsx:14
Function
generateMetadata
( props: Omit<LayoutProps<'/[locale]'>, 'children'> )
examples/example-app-router-playground/src/app/[locale]/layout.tsx:16
Function
generateMetadata
({ params }: PageProps<'/[locale]/news/[articleId]'>)
examples/example-app-router-playground/src/app/[locale]/news/[articleId]/page.tsx:6
Function
generateMetadata
()
examples/example-app-router-without-i18n-routing/src/app/layout.tsx:9
Function
generateMetadata
( props: Omit<LayoutProps<'/[locale]'>, 'children'> )
examples/example-app-router/src/app/[locale]/layout.tsx:15
Function
generateStaticParams
()
examples/example-app-router/src/app/[locale]/layout.tsx:11
Function
get
(key)
packages/use-intl/src/core/formatters.tsx:32
Function
get
(name: string)
packages/next-intl/src/server/react-server/index.test.tsx:33
Function
getCacheImpl
()
packages/next-intl/src/server/react-server/RequestLocaleCache.tsx:5
Function
getConfig
(config)
tools/src/getBuildConfig.js:99
Function
getConfigImpl
(localeOverride?: Locale)
packages/next-intl/src/server/react-server/getConfig.tsx:76
Function
getConfigNowImpl
(locale?: Locale)
packages/next-intl/src/server/react-server/getConfigNow.tsx:5
Function
getCookieValue
()
examples/example-app-router/tests/main.spec.ts:62
← previous
next →
601–700 of 770, ranked by callers