Translation – GBG IDscan Documentation

Translation

Disclaimer: Owing to variances in tone and interpretation of wording, GBG does not supply the translated copy for languages other than English. Translations of Customer facing strings in the WebSDK are the responsibility of the customer.

In this section, we will walk through overriding the Translation keys.

dictionary: translationDictionary,

To override the translation keys, we recommend you create a separate constant file that you can then pass into the JourneyContainer dictionary parameter. Ensure the constant is declared above the JourneyContainer

const translationDictionary = {
             'PROVIDER_TITLE_GATEWAY': 'Provide some identification',
             'PROVIDER_TITLE_LIVENESS': 'Match the identification to your face',
             'CANCEL_JOURNEY': 'Cancel',
             'PROVIDER_TITLE_RESULTS': 'Results',
             'PROVIDER_TITLE_LOGIN': 'Log in',
             'RESULTS_NEW_JOURNEY': 'Upload another ID document',
             'RESULTS_FINISH': 'Finish',
             'PROVIDER_TITLE_SMART_CAPTURE': 'Scan your identification',
             'LOGIN_SUBMIT': 'Log in'
         }

See Annexure A for all available translation keys

Was this page helpful?