There is no french translation of authenticator plugin and the default langage is spanish.
Please, is it possible to :
Make english as default langage if there is no translation for a plugin
Translate it in french
I can translate it in french but I'm just sysadmin and I don't well understand how it work.
I see a folder by language in this folder "inc/Plugins/Authenticator/locales/" and 2 files :
If I understand, I need to create the same folder for french (fr_FR) and modify the "authenticator.po" file but what about "authenticator.mo"
Have you a documentation please ?
Hmmm, I've just tested it on demo site and worked fine. Be aware that the demo user could be being used by many people, so it's recommended to create a new user and set language preferences.
Regarding your environment behaviour, that could be caused because the gettext translations are cached by Apache so there would be some annoying behaviour that would be solved after restarting it.
And lastly, right there's a recovery feature that will be available after activating the 2fa auth. This will allow to display 10 recovery codes to use them when logging in. The recovery code will be sent by email if you request it from the 2fa login screen
I've made my test with the last syspass release and I've just copy the language plugin folder ...
I've fully reinstalled syspass with the last release and full last commit of the plugin.
It seem ok :
But how does it work ? If I check the lost code option and click on connexion button it tell me that the code is invalid.
There is the configuration tab :
An other bug (maybe I should open an issue on the plugin repo) : I can't unactive the 2FA. When I switch it of, type a code and click to save button, a message tell me that is unactivated but if I quit and go to the tab, the 2FA is switched on. In fact, if I close my session and try to authenticate again, I've a 2FA code demand.
Thank you, now I can disable the plugin.
I understand how recuperation work : full fill the code field, check the lost code and click to continue for sending a mail with recovery code. Maybe an help about this will welcome on the page.
So I've tested it with success.
Should I see anything in the "code de récupération" field in the plugin tab ? (see my last screenshot)
I just see a popup with "Ver codigos" message, like in the screenshot.