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/Key | English Reference |
---|---|
MEASURING_COUNTDOWN | Measurement starting in... |
MEASURING_MSG_DEFAULT | Please centre your face within the outline |
MEASURING_PERFECT | Perfect! Please hold still |
MEASURING_STARTED | Measurement Started Please hold still |
WARNING_CONSTRAINT_BACKLIGHT | The backlight is too strong Please try changing position so more light falls directly on the face |
WARNING_CONSTRAINT_BRIGHTNESS | Your face is too bright Please try to dim the lights |
WARNING_CONSTRAINT_DARKNESS | Your face is not well lit Please try better lighting |
WARNING_CONSTRAINT_DISTANCE | The face is too far Please try to move closer to the camera |
WARNING_CONSTRAINT_EXPOSURE | Please hold still while the camera is calibrating... |
WARNING_CONSTRAINT_FPS | The camera is not maintaining the required frame rate Please try closing all background applications |
WARNING_CONSTRAINT_GAZE | Please look directly into the camera |
WARNING_CONSTRAINT_MOVEMENT | Too much movement Please hold still |
WARNING_CONSTRAINT_POSITION | Try to keep your face within the outline |
WARNING_CONSTRAINT_TOO_CLOSE | Please move a little further away |
WARNING_CONSTRAINT_TOO_FAR | Please move a little closer |
WARNING_LOW_POWER_MODE | For better accuracy, please disable Low Power Mode |
MEASUREMENT_CANCELED | Measurement cancelled |
ERR_CONSTRAINT_BRIGHTNESS | Your face was too bright Please try to dim the lights |
ERR_CONSTRAINT_DARKNESS | Your face was not well lit Please try better lighting |
ERR_CONSTRAINT_DISTANCE | Please move closer to the camera and try again |
ERR_CONSTRAINT_FPS | The camera is not maintaining the required frame rate Please try closing all background applications |
ERR_CONSTRAINT_GAZE | Please directly face the camera throughout the measurement |
ERR_CONSTRAINT_MOVEMENT | Please hold still throughout the measurement |
ERR_CONSTRAINT_NO_NETWORK | Please make sure you're connected to WiFi or a mobile network |
ERR_CONSTRAINT_POSITION | Please keep your face centred within the outline throughout the measurement |
ERR_CONSTRAINT_TOO_FAR | Please stay close to the camera throughout the measurement |
ERR_MSG_SNR | The blood flow measurement was not reliable Please try to allow the light to fall evenly across your face while holding still |
ERR_MSG_SNR_SHORT | Blood flow measurement was not reliable. Please try again |