Skip to content

Missing links in localization #5490

Closed

Description

@antho1404

Preliminary Checks

Reproduction

https://dashboard.consulteo.me/sign-up

Publishable key

pk_test

Description

When using the components on a dedicated page and localizing these components, some translations are not done correctly and some links are missing.

On the signup page, the terms and conditions set in the dashboard are not present which is quite critical legally.

It seems that the non-English translations (at least French) do not include the template variable

'I agree to the {{ termsOfServiceLink || link("Terms of Service") }} and {{ privacyPolicyLink || link("Privacy Policy") }}',

"J'accepte les Conditions d'utilisation et la Politique de confidentialité.",

Environment

System:
    OS: macOS 15.4
    CPU: (10) arm64 Apple M1 Pro
    Memory: 90.28 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.9.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 10.8.3 - /usr/local/bin/npm
    pnpm: 9.5.0 - ~/Library/pnpm/pnpm
    bun: 1.2.1 - ~/.bun/bin/bun
  Browsers:
    Safari: 18.4
  npmPackages:
    @clerk/localizations: ^3.11.1 => 3.11.1 
    @clerk/nextjs: ^6.12.2 => 6.12.2

Activity

  1. antho1404 commented on Mar 30, 2025

    @antho1404
    Author

    For information, here is the workaround:

    <ClerkProvider
              appearance={appearance}
              localization={{
                ...frFR,
                signUp: {
                  ...frFR.signUp,
                  legalConsent: {
                    ...frFR.signUp?.legalConsent,
                    checkbox: {
                      label__termsOfServiceAndPrivacyPolicy: `J'accepte les {{ termsOfServiceLink || link("Conditions d'utilisation") }} et la {{ privacyPolicyLink || link("Politique de confidentialité") }}.`,
                    },
                  },
                },
              }}
            >
    
  2. self-assigned this
    on Apr 2, 2025
  3. alexcarpenter commented on Apr 2, 2025

    @alexcarpenter
    Member

    Thanks for the note @antho1404! We got it added in #5511

  4. antho1404 commented on Apr 3, 2025

    @antho1404
    Author

    Amazing thanks 🙏

  5. removed
    needs-triageA ticket that needs to be triaged by a team member
    on May 27, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions