security/acme-client: crash on setting menu with french locale
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [x] The title contains the plugin to which this issue belongs
Describe the bug A clear and concise description of what the bug is, including last known working version (if any).
On french ui, when clicking on menu Acme Client -> Paramètres généraux (settings), this crash occurs :
[03-Feb-2026 11:42:47 Europe/Paris] ValueError: Unknown format specifier "p" in /var/lib/php/cache/_usr_local_opnsense_mvc_app_views_opnsense_acmeclient_settings.volt.php:236 Stack trace: #0 /var/lib/php/cache/_usr_local_opnsense_mvc_app_views_opnsense_acmeclient_settings.volt.php(236): sprintf('%sActiver%s le ...', '', '', '<a href="/ui/ac...', '') #1 [internal function]: Phalcon\Mvc\View\Engine\Volt->render('/usr/local/opns...', Array, true) #2 [internal function]: Phalcon\Mvc\View->engineRender(Array, 'OPNsense/AcmeCl...', true) #3 /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php(149): Phalcon\Mvc\View->processRender('', '') #4 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Dispatcher.php(168): OPNsense\Base\ControllerBase->afterExecuteRoute(NULL) #5 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(156): OPNsense\Mvc\Dispatcher->dispatch(Object(OPNsense\Mvc\Request), Object(OPNsense\Mvc\Response), Object(OPNsense\Mvc\Session)) #6 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(139): OPNsense\Mvc\Router->performRequest(Object(OPNsense\Mvc\Dispatcher)) #7 /usr/local/opnsense/www/index.php(66): OPNsense\Mvc\Router->routeRequest('/ui/acmeclient', Array)
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce Steps to reproduce the behavior:
1 .Set language to French 2. Go to Services -> Acme Client -> Paramètres généraux
Expected behavior Should not crash
Environment Software version used and hardware type if relevant. e.g.:
OPNsense 26.1_4 (amd64).
I'am the culprit, I'm the one who translated the string to French :
%sEnable%s the plugin: When enabling this plugin on the %ssettings%s page, a lightweight service is started and a cron job is added to run periodic tasks.
to
Activer%s le plugin : Lorsque vous activez ce plugin sur la page %sparamètres%s, un service léger est démarré et une tâche cron est ajoutée pour exécuter des tâches périodiques.
instead of
%sActiver%s le plugin : Lorsque vous activez ce plugin sur la page %sparamètres%s, un service léger est démarré et une tâche cron est ajoutée pour exécuter des tâches périodiques.
This has been fixed in PoEditor, so syncing the french translation should fix it
I'd assume that the updated translation will soon be syned to https://github.com/opnsense/lang.
https://github.com/opnsense/lang/commit/22f8f1dc39 and going into 26.1.1 -- thanks!