Skip to content

Usage in non-next.js environment #2306

Description

@dbondarchuk

Is your feature request related to a problem? Please describe.

My application consists of NextJs web apps and a few Node.js workers and I need to translate some values in a worker (for example, sending email with few values translated). These values already exist in i18n files, and my incoming values are i18n keys, that i need to get translation for

Describe the solution you'd like

Add a new override for getTranslations to accept config

Describe alternatives you've considered

Manually loading translation files - not great DX

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions