Hello friends. Custom print format to get a different language

I have a custom print format for the sales invoice, my system is set up in Spanish, but I need the custom print format to get a different language with this functionality. Thanks

I’m not sure what you want to achieve.

Do you want to force the language with selected print format? You can set the default language for the print format.

Do you want your print format to be translated after changing the language in drop down list? You can use translatable strings, like _(“Some label”), or __(“Some label”) - it depends on print format type (jinja or js). And add the stings in custom translations.


Jinja. Thanks a lot for answering me.

So you can use {{ _(“some label”) }} instead of plain text. And custom translations.

1 Like