OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce custom product unit incorrect label: Oro.product_unit.carton.label.full

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 7 months, 3 weeks ago.

  • Creator
  • #38972



    I used the API to create a new product unit called Carton. however whenever that unit is displayed in the frontend or backend, oro writes ‘Oro.product_unit.carton.label.full’ instead of Carton or similar.

    I’m guessing I need to create a label for it somewhere. How do I do that or how do I fix this error?


Viewing 1 replies (of 1 total)
  • Author
  • #38973
    Andrey Yatsenko
    Andrey Yatsenko

    Hi Jason,

    It is required to define the translation in messages.en.yml and jsmessages.en.yml at Resource/translations folder in any bundle.
    Then warm up the translation cache to apply the changes by running

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No