Translations (Customer, Product etc)

Language driven inheritance

Introduction

In this article, we will show you how to save and view attribute information in the customer's language. While this generic feature can be configured with any attributes in any transaction, we'll illustrate it here using the commercial item attribute as an example.

Add languages to Paragon

Before we begin, make sure that the attribute called language contains the options you would like to use. This attribute can be found in attribute setup in the settings menu.

Configure the language attribute on your transaction screens. For our example, we will use sales orders.

Verify and create attributes for translation

Now confirm that the attribute you want to associate by language has been created.

Configure the attribute on your item(s) and your transaction(s)

Once your attribute is created, it needs to be configured on your reference screen and your transaction screen so that inheritance can be set up as well.

In our example, we will use the commercial item attribute on products and then inherit that attribute to our sales orders.

Product screen

Sales Order:

Fill the attribute on your product

Be sure to add a value to the commercial item attribute in your product.

Set associations for language inheritance

Now that you have configured your attribute in items and transactions, use associations to link your attribute (commercial item) to a language.

Open the product in edit mode, go to the associated tab, and add a new entry.

Check the translation option and select a language. The reference type and reference ID will be filled automatically.

Click next to continue.

Language will already be selected in the next modal. 

You can now click the add button to configure whichever attribute you would like to have translated based on customer language. In this example, we have used commercial item and translated it to Italian. Click accept and then the save button to save your changes.

Set attribute inheritance from your item to your transaction

Now that your item has been correctly set up, use attribute inheritance to instruct Paragon to pull and transfer the translated attribute (commercial item) onto your orders when that specific product is added to it.

Go to attribute inheritance setup from the settings menu.

In the reference tab, select order lines as the module, select commercial item as the attribute, product as the reference, and be sure to check the translate box - hit add.

Create your order

Configuration is complete, you can now create your transaction to see the translated attribute in action. Create an order and make sure to fill the language attribute in the more tab (if it is not already inherited from the customer file).

Add your product as an order line and see that the commercial item attribute has been added in the correct language.

What's next?

Check out some of our other articles surrounding associations: