Ticket Q394260
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Localization - Make it possible to copy the default language value into the translated value

Localization Tool - IsTranslated with equal values

created 13 years ago

Hi,
what is the purposed workflow with values that have the same value in default language and the translation language? "Navigation" for example - if I want to translate "Navigation" (caption of shownavigationitem action) - its called "Navigation" in german too. I'm typing any letter in the "Translated Value" column and leave the row. Than I have to returing to this value and delete the just entered letter. But this row will not marked as "IsTranslated". What should I do in such cases? Maybe "IsTranslated" should also consider if the value is modified in the translation layer?
Best regards,
Kim.

Comments (3)
Anatol (DevExpress) 13 years ago

    Hello Kim,
    Thank you for your feedback. We already have a similar suggestion: Localization - Make it possible to copy the default language value into the translated value. Please track our announcements to know when it is implemented.
    Thanks,
    Anatol

      Hi Anatol,
      do you know any workaround for now? We have a unittest to check if everything is translated (not really everything, but everything we want). It uses the LocalizationItems Collection and looks something like this:

      C#
      var litems = new LocalizationItems(appModel, translatedLanguage); var listOfNotTranslatedObjects = new List<ILocalizationItem>(); foreach (var litem in litems) { if (!String.IsNullOrEmpty(litem.DefaultLanguageValue) && !litem.IsCalculated && !litem.IsTranslated) {} }

      It would be very helpful if we could decide, if a value is translated the same as the defaultlanguage value - in code.
      Thanks!

      Anatol (DevExpress) 13 years ago

        Hello Kim,
        Until the Localization - Make it possible to copy the default language value into the translated value functionality is implemented, the only way to write such a unit test is to create a list of items that should not be translated and check whether or not the item belongs to it.

        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.