sysreptor icon indicating copy to clipboard operation
sysreptor copied to clipboard

Feature Request: Multi Language Designs

Open firefart opened this issue 7 months ago • 2 comments

It would be nice to have multi language templates, for example german and english. Currently you need to copy the template and maintain 2 templates if you want to report in 2 languages.

My proposal would be to have some kind of i18n implemented, so texts can be referenced by variables and then be translated to every language needed. The fields with their labels could also be handled by variables.

Ideally there are also some warnings if you referenced variables, that are not yet translated to every language.

firefart avatar May 27 '25 06:05 firefart

Multi-language designs are possible to implement by adding translations in Vue/HTML code. Essentially you can do the translation via JavaScript helper functions. The project language is available in HTML. You still need to select a single language for the design but can override it in projects by setting a different language for the project.

We have an example for a translation helper function at https://docs.sysreptor.com/designer/formatting-utils/. Warnings are supported. I hope this suites your needs.

MWedl avatar May 27 '25 07:05 MWedl

Thanks I will try that! But might still be useful to have this functionality hidden in a pretty gui :)

firefart avatar May 27 '25 19:05 firefart