ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroPlatform Translating Logging Entity Modifications (AuditField)

This topic contains 2 replies, has 2 voices, and was last updated by  farzam.sayeh 1 year, 5 months ago.

  • Creator
    Topic
  • #63342

    farzam.sayeh
    Participant

    Hi everyone,

    I want to translate the field names in Logging Modifications that is shown to the user. For example in an entity there is a field named as owner. If it changes in a record, the log will show old owner and new owner with label ‘owner’ (exactly the field name).
    I changed “collKey” to “collKey|trans” in “new.html.twig” and “old.html.twig” in Oro/Bundle/DataAuditBundle/Resources/view/Datagrid/Property.

    So the problem is how should I create translation keys according to bundle name and Entity name for fields? (For example the “owner” field in “AddressBundle/Address”)

    Any suggestion?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

ssossossosso