Bug Report T303227
Visible to All Users

Comment headers are not correctly localized when RichEditControl is used in an applicaiton built in .NET Framework 4.5 or lower

created 9 years ago

Hi,

please review the sample application I have attached. It contains a dummy form with rich text control that contains RTF with a comment.
In the application I set current culture (in UI thread) to Spanish, so i expect all texts to be localized in Spanish.
Unfortunately, header label of the comment is not properly localized when app is targeting .NET framework less than 4.6.

Please also see attached screenshots I made:
1."richtextcomment_net46.png":
The app compiled with target framework = .NET 4.6. (started on OS running English). Please note 'Commentario' (Spanish, OK)

2."richtextcomment_net45.png":
The app compiled with target framework = .NET 4.5. (started on OS running English). Please note 'Comment' (English, NOT OK)
Same results can be seen when targeting e.g. .NET 4.0

The problem can be fixed by setting CultureInfo.DefaultThreadCurrentUICulture accordingly (in my case to Spanish) but this property is not available in .NET which I am targeting.

greetings
Bartek

Comments (1)
DevExpress Support Team 9 years ago

    Hi,

    We have successfully reproduced the behavior you described and passed this ticket to our developers for further research.
    Please bear with us. We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (2)

        Hi, after updating to 2.4 it's still not translated as it should. I've got a Dutch localization and still seeing "Comment" instead of "Commentaar".

        DevExpress Support Team 9 years ago

          Hello,

          To process your recent post more efficiently, I created a separate ticket on your behalf: T326952: Comment headers are not localized in the Dutch localization. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

          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.