Skip to content

[Translation Migration] Fix split or incomplete translations in additionalDetailsStep #129

Description

@roryabraham

Problem

This batch contains incomplete translations that need to be migrated to use translation parameters instead of split keys or trailing spaces.

Translation Keys to Fix

  • additionalDetailsStep.failedKYCTextBefore
    • Current value: "We weren't able to verify your identity. Please try again later or reach out to "

Example PRs

See these PRs for examples of how to perform this migration:

Migration Steps

  1. Identify where these translation keys are used in the codebase
  2. Combine split translations (keys containing "part") into single translation strings with parameters
  3. Remove trailing spaces from translation values and combine them properly with whatever rich text content is displayed after them in the app
  4. Update the code to pass the appropriate parameters to the translation function, usually wrapping rich text with react-native-render-html as seen in the example PRs
  5. Test the changes to ensure the translations render correctly

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions