Function i18next

  • Parameters

    • options: RemixI18NextOption | RemixI18Next

    Returns MiddlewareHandler<Env, string, {}>

Methods

  • Parameters

    • c: Context<Env, any, {}>

    Returns RemixI18Next

  • Type Parameters

    • Ns extends string = "translation"

    Parameters

    • c: Context<Env, any, {}>
    • __namedParameters: { namespace?: Ns } = {}

    Returns Promise<TFunction<FallbackNs<Ns>, undefined>>

  • Parameters

    • c: Context<Env, any, {}>

    Returns string