Good morning,
I have an instance of ERPNext and I want to do some custom translations for the receipts. For standard print format, everything works great - I can just do {{ _(“my text to translate”,“language code”) }}. However, the POS uses JS print format. I have tried using the double underscore “__(“my text”,“mylang”)”, but that doens’t seem to work. It always returns the input text. I notice here that JS print formats are depreciated.
I checked under POS Profile to see if I could select a different print format, but it seems to only allow me to select “JS” print formats.
Any guidance on how to do translations on POS receipts would be great!
Thanks,
Daniel
P.S. This issue may be related, but I don’t think the fix applies.
P.S. I need to have two languages on a single receipt, so it’s important that I can specify the target string when translating i.e. _(“text”,“es”) instead of _(“text”).