Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Improved multi language support #455

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

4B3l0
Copy link
Contributor

@4B3l0 4B3l0 commented May 17, 2018

We wanted something a bit more advanced for our language management, so we decided to improve Serpico multi language support.

A finding can now have multiple language
We added a new class in the model : TemplateFindingsTranslation
Thanks to this class, a vulnerability can now have multiple language, wich is more practicale than having the same vulnerability multiple time in different language.
It's easier if you want to modify a field (like finding type or the CVSS parameters), you only have to modify it in one findings instead of in every language version of this findings you made.

menu

When edditing the template database, for each finding you can acces a language panel which allow you to do three things :
Define the language of a finding
define_language
If no language was defined for this findings, you can do it from this menu

Add new language to a finding
add_language
If the finding doesn't have a translation for one of the language defined in the config file, you can add it from this menu

Select wich language to show
show_language
If there is multiple translation for the template, you can show wich one you want to show

Compatible with current multi-language support
Findings translated with the curent version of Serpico will be updated to match the model of the pull request at the first Serpico launch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant