Localization

Anura Core SDK allows you to customize the text displayed in the measurement view to suit your application's needs. It utilizes the system's localization features to ensure that the correct language is displayed.

Platform-Specific Localization Guides

Android

For Android, Anura Core SDK uses the strings.xml file of your application for localization. The Sample Application includes example strings.xml files for various languages, which you can reference and adapt to your project.

iOS

On iOS, Anura Core SDK utilizes the Localizable.strings file of your application for localization. The Sample Application also includes example Localizable.strings files for various languages that you can use as a starting point.

Available Localization Strings

Below is a list of localized string names/keys used by Anura Core SDK:

String Name/KeyEnglish Reference
MEASURING_COUNTDOWNMeasurement starting in...
MEASURING_MSG_DEFAULTPlease centre your face within the outline
MEASURING_PERFECTPerfect! Please hold still
MEASURING_STARTEDMeasurement Started
Please hold still
WARNING_CONSTRAINT_BACKLIGHTThe backlight is too strong
Please try changing position so more light falls directly on the face
WARNING_CONSTRAINT_BRIGHTNESSYour face is too bright
Please try to dim the lights
WARNING_CONSTRAINT_DARKNESSYour face is not well lit
Please try better lighting
WARNING_CONSTRAINT_DISTANCEThe face is too far
Please try to move closer to the camera
WARNING_CONSTRAINT_EXPOSUREPlease hold still while the camera is calibrating...
WARNING_CONSTRAINT_FPSThe camera is not maintaining the required frame rate
Please try closing all background applications
WARNING_CONSTRAINT_GAZEPlease look directly into the camera
WARNING_CONSTRAINT_MOVEMENTToo much movement
Please hold still
WARNING_CONSTRAINT_POSITIONTry to keep your face within the outline
WARNING_CONSTRAINT_TOO_CLOSEPlease move a little further away
WARNING_CONSTRAINT_TOO_FARPlease move a little closer
WARNING_LOW_POWER_MODEFor better accuracy, please disable Low Power Mode
MEASUREMENT_CANCELEDMeasurement cancelled
ERR_CONSTRAINT_BRIGHTNESSYour face was too bright
Please try to dim the lights
ERR_CONSTRAINT_DARKNESSYour face was not well lit
Please try better lighting
ERR_CONSTRAINT_DISTANCEPlease move closer to the camera and try again
ERR_CONSTRAINT_FPSThe camera is not maintaining the required frame rate
Please try closing all background applications
ERR_CONSTRAINT_GAZEPlease directly face the camera throughout the measurement
ERR_CONSTRAINT_MOVEMENTPlease hold still throughout the measurement
ERR_CONSTRAINT_NO_NETWORKPlease make sure you're connected to WiFi or a mobile network
ERR_CONSTRAINT_POSITIONPlease keep your face centred within the outline throughout the measurement
ERR_CONSTRAINT_TOO_FARPlease stay close to the camera throughout the measurement
ERR_MSG_SNRThe blood flow measurement was not reliable
Please try to allow the light to fall evenly across your face while holding still
ERR_MSG_SNR_SHORTBlood flow measurement was not reliable. Please try again