The "Item name" translation is not working in invoice printing

I’m having an issue with the “Item Name” translation while printing invoices. However, ERPNext core functions are displaying the custom translations correctly, and the problem is only with invoice printing.

I’m running ERPNext on Frappe Cloud. I tried this on v13 and v14, still the error exists on both versions.

I tried the following steps to achieve multi-lingual item names. Please help me to figure out the error. For your connivance, I have attached the screenshots below. :smile:

  1. Enabled Translatable field on DocType Customisation for “Item Name” DocType.

  1. Added the translation inside the “Item” form, (Item > Item name > :globe_with_meridians: icon > translation)

  1. Confirmed the translation file on "Translation List"

  2. Printed the POS Invoice using the POS UI

As you can see, the translation for the item “water” doesn’t appear as a translated text.

Hi @pasan,

I think Please add one more step.

Please go to the POS Invoice Item Customize Form and set a translatable field of Item Name.

Hope to resolve your issue.

Thank You!

1 Like

Thanks @NCP

I tried this step just now. Still no luck. :frowning_face:

Hmm :thinking:,

The problem is with the inbuild format,

Because does not properly define like the below code.

{{ _(item.item_name) }}

If you create a new print format for POS Invoice then added like above code.

Then reload and check it.

Thank You!

1 Like

Thank you so much. Let me try this and get back to you ASAP.

Honestly mate, you are a lifesaver! :pray:t4: :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

Thank you very much. It works like a charm! :pray:t4: :smile: