Invoices icon indicating copy to clipboard operation
Invoices copied to clipboard

Support for translating terms

Open khalyomede opened this issue 3 years ago • 0 comments

Description

I would like to generate the PDF in French.

Expected behavior

To be able to translate the base terms of the template in French.

Actual behavior

The terms are not using translation helpers.

Notes

I think you could use @lang("the text here") for any texts, so we can use JSON based translation to translate on our own language (if @lang does not find the text, it just prints the text as it, which is handy).

I found a temporary solution, publishing the vendor files, then adding myself the @lang directives around texts.

khalyomede avatar Aug 21 '20 10:08 khalyomede