Bug Report B32424
Visible to All Users

Localization - It's impossible to localize AuditDataItem properties without modifying the source code

created 17 years ago
Comments (1)
DevExpress Support Team 17 years ago

    Please refer to this question with ID Q182523 (localize "parameters" text) for greater details.
    As a workaround, you can modify the AuditDataItemPersistent.cs file located in the …\DevExpress.Persistent\DevExpress.Persistent.BaseImpl\ folder
    In this case, in the AuditDataItemPersistent class it is necessary to add code, which will check the current operation type value and return the value you need:

    C#
    public string OperationType { get { if (operationType == "InitialValueAssigned") return "SomeValue"; } set { operationType = value; } }

    Answers

    created 17 years ago

    Hi
    We improved our AuditTrail module. Now, you can localize the AuditOperationType enumeration using the Model Editor. This improvement is available in the 8.2.3 update.
    Thanks
    Mike V.

      Comments (2)
      FZ FZ
      Florian Zrenner 1 7 years ago

        Hi,

        how to get this enum AuditOperationType  shown in the Model Editor? I am using the AuditTrailModule but this enum is not visible within Locilization-Enums.

        C#
        We improved our AuditTrail module. Now, you can localize the AuditOperationType enumeration using the Model Editor. This improvement is available in the 8.2.3 update.

        regards

        Florian

        Dennis Garavsky (DevExpress) 7 years ago

          @Florian: I've created a separate ticket on your behalf (T619722: Audit record's OperationType localization). It has been placed in our processing queue and will be answered shortly.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.