Localization
LocalizationPack Interface
interface LocalizationPack {
data: LocalizationPackData;
language: string;
}
interface LocalizationPackData {
[key: string]: string | LocalizationPackData;
}{
auth: {
step: {
bootstrap: {
headline: 'Authentication Process',
text: 'Take a selfie to authenticate through Keyless on the platform.'
},
'camera-instructions': {
headline: 'Authentication Process',
text: 'Take a selfie to authenticate through Keyless on the platform.',
button: "All set. I'm ready"
},
'camera-permission': {
prompt: {
headline: 'Allow Camera Access',
text: 'We need access to your camera to authenticate you. Please allow the browser to access your camera.',
button: 'Continue'
},
granted: {
headline: 'Allow Camera Access',
text: 'We need access to your camera to authenticate you. Please allow the browser to access your camera.',
button: 'Continue'
},
denied: {
headline: 'Camera Access Denied',
text: 'Looks like you denied camera access on this website, we need access to your camera to authenticate you.\n\nPlease allow the browser to access your camera.',
button: 'Retry'
}
},
'camera-stream-boot': {
tip: 'Preparing your camera'
},
done: {
headline: 'Authentication Successful',
text: 'You can now proceed to the platform.'
},
error: {
headline: 'Something went wrong',
text: 'We were unable to authenticate you. {message} <code style="font-size: 12px">[{code}]</code>',
button: 'Retry'
},
'microphone-permission': {
prompt: {
headline: 'Allow Microphone Access',
text: 'We need access to your microphone to authenticate you. Please allow the browser to access your microphone.',
button: 'Continue'
},
granted: {
headline: 'Allow Microphone Access',
text: 'We need access to your microphone to authenticate you. Please allow the browser to access your microphone.',
button: 'Continue'
},
denied: {
headline: 'Microphone Access Denied',
text: 'Looks like you denied microphone access on this website, we need access to your microphone to authenticate you.\n\nPlease allow the browser to access your microphone.',
button: 'Retry'
}
},
'server-computation': {
headline: 'Authenticating...',
text: 'Your selfie was captured correctly, we are processing your photo'
},
'stm-choice': {
headline: 'Authentication Process',
text: 'Take a selfie to authenticate through Keyless on the platform.',
button: 'Continue on Phone',
secondary_button: 'Authenticate on Desktop'
},
'stm-qrcode': {
headline: 'Scan the QR Code',
text: 'Scan the QR code with your phone to continue the authentication process.',
button: {
false: 'Copy Link',
true: 'Copied to Clipboard'
}
}
}
},
biometric_filter: {
face_has_mask: 'Remove any face masks',
face_is_occluded: 'Remove any obstructions from your face',
face_missing: 'Show your face in the frame',
face_multiple: 'Show only one face in the frame',
face_partial: 'Show your full face in the frame',
face_too_small: 'Move your face closer to the device',
image_black_and_white: 'Move in a well-lit area',
none: 'Keep your face still'
},
camera_instructions: {
alignment: 'Center your face in the frame',
look: 'Look directly at the screen',
lighting: 'Ensure you are in a well-lit area',
accessories: 'Remove any eyewear or hats'
},
camera_select: {
headline: 'Select a Camera',
text: 'We detected more than one webcam connected to your device. Choose one for the process.'
},
enroll: {
step: {
bootstrap: {
headline: 'Enrollment Process',
text: 'Take a selfie to create an account on Keyless and easily register on the platform.'
},
'camera-instructions': {
headline: 'Enrollment Process',
text: 'Take a selfie to create an account on Keyless and easily register on the platform.',
button: 'Continue'
},
'camera-permission': {
prompt: {
headline: 'Allow Camera Access',
text: 'We need access to your camera to create your account. Please allow the browser to access your camera.',
button: 'Continue'
},
granted: {
headline: 'Allow Camera Access',
text: 'We need access to your camera to create your account. Please allow the browser to access your camera.',
button: 'Continue'
},
denied: {
headline: 'Camera Access Denied',
text: 'Looks like you denied camera access on this website, we need access to your camera to create your account.\n\nPlease allow the browser to access your camera.',
button: 'Retry'
}
},
'camera-stream-boot': {
tip: 'Preparing your camera'
},
done: {
headline: 'Account created',
text: 'You can now access and authenticate simply by using your face.'
},
error: {
headline: 'Something went wrong',
text: 'We were unable to create your account. {message} <code style="font-size: 12px">[{code}]</code>',
button: 'Retry'
},
'microphone-permission': {
prompt: {
headline: 'Allow Microphone Access',
text: 'We need access to your microphone to create your account. Please allow the browser to access your microphone.',
button: 'Continue'
},
granted: {
headline: 'Allow Microphone Access',
text: 'We need access to your microphone to create your account. Please allow the browser to access your microphone.',
button: 'Continue'
},
denied: {
headline: 'Microphone Access Denied',
text: 'Looks like you denied microphone access on this website, we need access to your microphone to create your account.\n\nPlease allow the browser to access your microphone.',
button: 'Retry'
}
},
'server-computation': {
headline: 'Crafting your private key',
text: 'Hold on, it will just take a moment'
},
'stm-choice': {
headline: 'Enrollment Process',
text: 'Take a selfie to create an account on Keyless and easily register on the platform.',
button: 'Continue on Phone',
secondary_button: 'Enroll on Desktop'
},
'stm-qrcode': {
headline: 'Scan the QR Code',
text: 'Please scan the QR code with your phone to continue the enrollment process.',
button: {
false: 'Copy Link',
true: 'Copied to Clipboard'
}
}
}
},
error: {
/**
* Collector Errors
*/
OPTIONS_UNSET: 'Please contact our support.',
VIDEO_ELEMENT_UNSET: 'Please contact our support.',
VIDEO_ELEMENT_EVENT_LISTENERS_UNSET: 'Please contact our support.',
WEB_SOCKET_MESSAGE_SET_UNSET: 'Please contact our support.',
/**
* Lockout Errors
*/
USER_LOCKED_OUT: 'Too many attempts. You can try again in {lockout_expiration}.',
/**
* Media Device Errors
*/
MEDIA_DEVICES_EMPTY_AUDIO_INPUT_LABEL: 'Please allow the browser to access your microphone and try again.',
MEDIA_DEVICES_EMPTY_VIDEO_INPUT_LABEL: 'Please allow the browser to access your camera and try again.',
MEDIA_DEVICES_NO_VIDEO_INPUTS: 'No camera was found. Please connect a camera and try again.',
/**
* Server Errors
*/
SERVER_CUSTOMER_NOT_FOUND: 'Please contact our support.',
SERVER_FACE_DOES_NOT_MATCH: 'Make sure you are in a well-lit environment, possibly without any eyewear or hats.',
SERVER_FORBIDDEN: 'Please try again or contact our support if the problem persists.',
SERVER_IMAGE_ENCRYPT_FAILED: 'Please contact our support.',
SERVER_INTERNAL_ERROR: 'Please try again or contact our support if the problem persists.',
SERVER_NO_ATTEMPTS_LEFT: 'Please contact our support.',
SERVER_RECOGNITION_FAILED: 'Make sure you are in a well-lit environment, possibly without any eyewear or hats.',
SERVER_TIMEOUT: 'Please try again or contact our support if the problem persists.',
SERVER_UNAVAILABLE_SERVICE: 'Please try again or contact our support if the problem persists.',
SERVER_UNPROCESSABLE_EVENT: 'Please contact our support.',
SERVER_USER_ALREADY_ENROLLED: 'The account {username} already exists.',
SERVER_USER_LOCKED_OUT: 'Too many attempts. You can try again in {lockout_expiration}.',
SERVER_USER_NOT_FOUND: 'The account {username} does not exist.',
SERVER_VALIDATION_FAILED: 'Please contact our support.',
/**
* Session Manager Errors
*/
SESSION_MANAGER_NOT_NULL: 'Please contact our support.',
SESSION_MANAGER_NULL: 'Please contact our support.',
SESSION_MANAGER_VIDEO_STREAM_UNDEFINED: 'Please contact our support.',
/**
* Special Errors
*/
EXCEPTION: 'Please contact our support.',
RUNTIME_VIOLATION: 'Please contact our support.',
/**
* Storage Errors
*/
SESSION_ID_UNSET: 'Please contact our support.',
/**
* Verify Connect Options Errors
*/
CUSTOMER_UNSET: 'Please contact our support.',
KEY_DECODE_FAILED: 'Please contact our support.',
KEY_UNSET: 'Please contact our support.',
KEY_ID_UNSET: 'Please contact our support.',
USERNAME_UNSET: 'Please contact our support.',
WEB_SOCKET_URL_PARSE_FAILED: 'Please contact our support.',
WEB_SOCKET_URL_UNSET: 'Please contact our support.',
/**
* Web Assembly Errors
*/
WEB_ASSEMBLY_ABORTED: 'Please try again or contact our support if the problem persists.',
WEB_ASSEMBLY_FACTORY_FAILED: 'Please contact our support.',
WEB_ASSEMBLY_IMPORT_FAILED: 'Please contact our support.',
WEB_ASSEMBLY_NOT_READY: 'Please contact our support.',
WEB_ASSEMBLY_MODULE_NOT_FOUND: 'Please contact our support.',
/**
* Web Socket Errors
*/
WEB_SOCKET_ERROR: 'Please try again or contact our support if the problem persists.',
WEB_SOCKET_OPEN: 'Please try again or contact our support if the problem persists.',
WEB_SOCKET_TIMEOUT: 'Please try again or contact our support if the problem persists.',
WEB_SOCKET_UNEXPECTED_CLOSE: 'Please try again or contact our support if the problem persists.',
/**
* Flow Errors
*/
QUEUE_UNSET: 'Please contact our support.',
SYMBOL_UNSET: 'Please contact our support.',
/**
* Cancel or Close Errors
*/
NONCANCELABLE: 'Please try again or contact our support if the problem persists.'
}
}Last updated
Was this helpful?