ConsoleTVs/Invoices

Support for translating terms

khalyomede opened this issue · 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.