intuitem / ciso-assistant-community

CISO Assistant is a one-stop-shop for GRC, covering Risk, AppSec and Audit Management and supporting +37 frameworks worldwide: NIST CSF, ISO 27001, SOC2, CIS, PCI DSS, NIS2, CMMC, PSPF, GDPR, HIPAA, Essential Eight, NYDFS-500, DORA, NIST AI RMF, 800-53, 800-171, CyFun, CJIS, AirCyber and so much more
https://intuitem.com
GNU Affero General Public License v3.0
400 stars 60 forks source link

Erreur traduction dans l'export html : status et attributs non traduits #351

Open protocolpaladin opened 2 weeks ago

protocolpaladin commented 2 weeks ago

Describe the bug Lors d'un export html d'audit avec l'interface en français et un document en français "Guide d'hygiène ANSSI". J’ai remarqué un bug de traduction quand on est en français les champs de couleur conforme, non conforme,etc sont en anglais au lien d'être en français.

To Reproduce Steps to reproduce the behavior:

  1. être avec l'interface en français
  2. utiliser un audit français ou anglais ou autres
  3. renseigner différent différent statut
  4. Export

Expected behavior Je m'attendais à ce que les champs renseigné dans le rapport exemple statut compliance s'affiche en français avec le mot conforme car mon interface est bien réglé en français et pas en anglais.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

protocolpaladin commented 2 weeks ago

Ce n'est pas lié au guide d'hygiène directement mais j'ai fait le test avec ce dernier

ab-smith commented 1 week ago

We need to pass the user locale to the export endpoint and either use the labels or a different base template per locale