Add Custom Language
By default, only English and Russian languages are available in the web interface. Other languages are provided by request (support@ntechlab.com) and added to the system via the /etc/findface-security/config.py
configuration file.
To add a custom language to the system, do the following:
Download the localization file provided by our experts into the
/usr/share/ffsecurity-ui/ui-static/
directory on the FindFace Multi principal server.Open the
/etc/findface-security/config.py
configuration file.sudo vi /etc/findface-security/config.py
Into the
FFSECURITY_UI_CONFIG
section, insert thelanguages
section and fill it by analogy with the example below.FFSECURITY_UI_CONFIG = { ... "languages": { "items": [ { "name": "es", "label": "Español", "url": "/ui-static/es_i18n_ffsec.po" }, ] },
Restart the
findface-security
service.sudo systemctl restart findface-security.service
The new language will be automatically applied to the system and from now on be available on the
tab. You can at any time switch between it and other available languages.See also