Legacy Knowledge Base
Published Sep. 10, 2025

Hardcoded Text in Commerce Order Importer Not Translatable

Written By

Balázs Létai

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Allow hiding the non-required options from CSV template message.
  • We have this csv_template.csv file and sometimes we need to edit its content to remove non-used fields, like requestedDeliveryDate that is optional.
  • The issue is that we cannot hide the field from the message, as it is a hard-coded argument for the translation.
  • The requirement is to be able to hide the optional fields from that message.

Environment

  • Liferay DXP 2025.Q1+
  • Commerce

Resolution

  • You can set up the Language Override to ignore the initial text.
  • The hardcoded argument is represented by {0} in the language key, so as long as you change the original language value and do not include a {0} in the modified value, the hardcoded text ((sku, quantity, requestedDeliveryDate)) will not appear.

Additional information:

Did this article resolve your issue ?

Legacy Knowledge Base