"Number is missing in target segment or is not properly localized"

Hi, I am a free lance translator for Czech language, and my very important question about Studio 2019 is: How can I manage the message: "Number is missing in target segment or is not properly localized". In fact the Studio 2019 (as all previous versions of Trados/Studio) doesn't know the rules to respect using the numbers in the documents in Czech. So, the above mentioned message is very null and void/disturbing/ineffective.

As translator, am I able teach the Studio to manage the numbers as needed?

If not, should it be possibile for the SDL make known to everybody this very fatal failure?

Many thanks in advance for all useful reactions

Miroslava

Parents
  • Hi all,

    In general it's worth knowing how to get the best from Studio when you work with it.  It does have some strong points when working with numbers/dates/units/etc. but it can also be a complete pain in the neck.  For example, Studio uses the language cultures in your operating system to be able to recognise these things.  This means you never have to create paterns for anything you need as long as they are written in one of the ways your operating system would expect them.  This applies to your source and your target.  This is a nice feature and was put there for the right reasons which was making it easier for the user.

    However, the drawback is that if these patterns don't match what your operating system expects then there is no mechanism for adding your own custom recognizers.  Tools like memoQ for example don't have this ability to automatically recognise them but it does come with a built in set of patterns that cover most things, and if you need anything else you can add them.

    So the way to work with Studio, in my opinion, would be this:

    1. Create your project
    2. Check to see whether the source patterns are recognised as expected
    3. If not then use something like the SDLXLIFF toolkit to "correct" these patterns so that the source patterns are recognised by Studio
    4. Check to see whether the target output when autotranslated is what you expected.
    5. If it is then you can now translate the project and the QA checks built in should give you better results
    6. If it isn't then allow Studio to do its thing and translate anyway so you can properly QA the consistency of the values of your patterns.  Then search replace the target when the translation is complete with the patterns formatted as required

    This is obviously not ideal, and I would prefer that we had more ability in the core product to cope with non-recognised patterns of any kind.  But until we do I would always work like this to avoid frustrations from not having control over what's happenning in the project.

    Another thing that sometimes works is to add the patterns you need to your languages in Windows.  Then restart your computer and you may find that Studio now recognises the new pattern you wanted.  The only problem with this approach is that it doesn't transfer with a project for another user, but if you're working on your own it may be the best solution as it avoids the workflow outlined above.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    Here is my situation in a nutshell:

    It doesn't look like I should have to change the Windows 10 default date format. But I have tried to change it before and have tried it again and the change doesn't "stick".

    So, when you say "Another thing that sometimes works is to add the patterns you need to your languages in Windows," what exactly do you mean?

    If I look at the Windows 10 default long date formats for German and Austrian they are both "dddd, d. MMMM yyyy". Studio nevertheless recognises German dates in the format "d. MMMM yyyy" -- but it does not recognise Austrian dates in this format.

    Okay, two languages -- probably handled by two coders, or the code for one was changed somewhere along the line while the other wasn't.

    I really shouldn't need to change the Windows 10 format ...

    ... but, what the heck, I'll just change the Windows 10 long date format for Austrian to "d. MMMM yyyy".

    The problem is that Windows 10 seems to forget the format as soon as I set my region back to English.

    Control Panel -> Region, drop down the "Format" box and select German (Austrian), change long date from "dddd, d. MMMM yyyy" to "d. MMMM yyyy", then click Apply. Then reset the regional format drop down to English and click OK.

    Now go to Control Panel -> Region again and check the regional long date format for Austrian again and, lo and behold, it is back to "dddd, d. MMMM yyyy". I imagine that Windows only expects me to be using one language at a time, and reverts everything back to the defaults for the languages that are not being used. Or?

    Okay, so I shouldn't need to change the Windows 10 date format. But when I try to change it, I can't make it stick. What am I doing wrong?

    I am not a Windows expert and I doubt most translators are, so I may be looking in the wrong place to change Windows 10 date formats.

    I used the Control Panel in the example above, but I have also tried the Windows 10 Settings. This ultimately led me to the same Region dialog box. (Settings -> Time and Language -> Date, time & regional formatting -> Additional date, time & regional settings -> Change date, time or number formats)

    By the way, if I use Alt-F2 to edit the Austrian source segment in Studio, for example changing "1. Jänner 2019" to "Dienstag, 1. Jänner 2019", then Studio recognises the date properly. So Studio is, as you say, using the Windows 10 default long date format for Austrian.

    But Studio is not using the Windows 10 default long date format for German, because it is the same as the long date format for Austrian. Maybe a user made a big fuss about German date recognition in the past and someone went in and hacked the code for German -- but not for Austrian and probably not the other varieties of German.

    I haven't looked at number formats, but I would be curious to know if the same "stickiness" problem applies to numbers in languages other than your current Windows 10 region setting.

    Or am I doing everything wrong?

    Best regards,
    Bruce Campbell
    ASAP Language Services

  • Hi  what you have shown above, i.e. automatic substitution, is determined not by the Windows settings, but by the Studio Auto-substition settings:

    Trados Studio project settings window showing Language Pairs, with a focus on English (United Kingdom) to German (Germany) auto-substitution settings for date formats.

     

     as for recognition (as well for date/time Recognize function and QA date/time check) I think it doesn't matter if any date/time format is set as default in Windows. It is only important that this format is defined for a given language in Windows.
    Windows (I guess AllDateTimePatters from given .NET Culture) may have more formats than those displayed in the regional settings.

    By default (no changes made by the user) for de-GE:
    AllDateTimePatterns: dd.MM.yyyyyy 17.02.2019
    AllDateTimePatterns: dd.MM.yy 17.02.19
    AllDateTimePatterns: yyyy-MM-dd 2019-02-17
    AllDateTimePatterns: dd. MMM. yyyyy 17. Feb. 2019
    AllDateTimePatterns: dddd, d. MMMM yyyy Sonntag, 17. Februar 2019
    AllDateTimePatterns: d. MMMM yyyyyy 17. Februar 2019
    AllDateTimePatterns: d. MMM. yyyyy 17. Feb. 2019

    By default (no changes made by the user) for de-AT:
    AllDateTimePatterns: dd.MM.yyyyyy 17.02.2019
    AllDateTimePatterns: dddd, d. MMMM yyyy Sonntag, 17. Februar 2019
    AllDateTimePatterns: d. MMMM yyyyyy 17. Februar 2019
    AllDateTimePatterns: dddd, d. MMMM yyyyy HH:mm Sonntag, 17. Februar 2019 17:00
    AllDateTimePatterns: d. MMMM yyyyy HH:mm 17. Februar 2019 17:00

    I can confirm that the format "dd. MMM. yyyyy" for de-GE is not recognized in Studio. Additionally, the format "d MMM yyyyy" is not recognized for the Polish language. I thought that maybe there is something wrong with abbreviated month names, but "dd-MMM-yyy" for en-US is recognized correctly.

    I also checked that the format "dd. MMM. yyyyy" for de-GE is correctly substituted by the Auto-substition function. So you can see that the problem is with parsing, because formatting works well.

    Comparison of date and time formats between English (United Kingdom) and German (Germany) in Trados Studio, highlighting the recognition of '17 Feb 2019' but not '17. Feb. 2019' for German.

    DArek



    Generated Image Alt-Text
    [edited by: Trados AI at 3:36 PM (GMT 0) on 28 Feb 2024]
  • Unknown said:
    Hi  what you have shown above, i.e. automatic substitution, is determined not by the Windows settings, but by the Studio Auto-substition settings:

    Hi DArek,

    We're only talking about recognition here, not auto-substitution, so thet target language settings in Studio are irrelevant.  Or am I misinterpreting you?

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • In fact, you are right, I didn't understand Bruce post (face-palm).

    But It seems we have a few non-recognized date formats:

    - dd. MMM. yyyyy for de-GE
    - d. MMMM yyyyyy for de-AT
    - d MMM yyyyy for pl-PL

    and if there are more in other languages, it could be confusing.

    DArek
  • Hi Dariusz,

    Good to know. I did not realize that Studio would check dates against all of the long date formats that Windows 10 has stored for a language.

    So, the fact that Windows 10 reverts the long date format I chose for Austrian when I switched my regional language back to English is irrelevant.

    And what you found for Polish is not the end of it. People identified a similar problem in other languages the last time I brought this up.

    Bruce

  • Hi  

    Unknown said:
    But It seems we have a few non-recognized date formats:

    - dd. MMM. yyyyy for de-GE
    - d. MMMM yyyyyy for de-AT
    - d MMM yyyyy for pl-PL

    I highlighted to de-AT because for me the regional setting as you have written it is not correct.  There is no space between the d. and the MMMM.  So I would not expect it to be recognised the way you have written it.  It is very odd that windows expects this though.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    The space exists between the "d." and "MMMM" in the Austrian long date format in Windows 10 (see below).

    It is strange that your Studio under Windows 8 has no trouble with Austrian dates, even though the space is missing, but my Studio under Windows 10 doesn't recognise the dates even though the space is there ...

    Windows 10 Language preferences showing German (Austria) format options with a space between 'd.' and 'MMMM' in the long date format.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:36 PM (GMT 0) on 28 Feb 2024]
  • Hi again Paul,

    Oh, I just noticed that you left the space out between the day and month when you tested Austrian dates:

    Screenshot of Trados Studio showing a date format error where '17. Februar 2019' is missing a space between '17.' and 'Februar' in the source language column.

    Just like German dates, there should be a space between the "17." and "Februar", i.e. "17. Februar 2019".

    This is not, of course, why my Studio does not recognise dates under Windows 10, since you can see in my previous post that Windows 10 does include the space in the long date format for Austrian.

    This really couldn't get any more confusing, could it :-)

    Best regards,
    Bruce

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:37 PM (GMT 0) on 28 Feb 2024]
  • Hi  

    Unknown said:
    Oh, I just noticed that you left the space out between the day and month when you tested Austrian dates:

    Yes, on purpose because there is no space on the de-AT regional settings on my system.  I reset the defaults in case I'd messed with it but these were my defaults.

    Unknown said:
    Just like German dates, there should be a space between the "17." and "Februar", i.e. "17. Februar 2019".

    I'm sure of this too... it's really odd!

    Unknown said:

    This is not, of course, why my Studio does not recognise dates under Windows 10, since you can see in my previous post that Windows 10 does include the space in the long date format for Austrian.

    This really couldn't get any more confusing, could it :-)

    Indeed!!!

    I did have a quick chat with the Studio product manager this morning on this very issue... for now I have no useful update, but if there is one I'll let you know.  For now I think the best solution is what you already know... search and replace the source to make sure Studio recognises it correctly and then you can rely on the QA and the target localization.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi again Paul,

    Stranger and stranger ...

    I really didn't think this would work, but I was curious.

    And I actually got Studio to recognise a long date in Austrian. Guess how ...

    I deleted the space between the day and month in the Austrian date, just like you did. See below:

     Screenshot of Trados Studio interface showing a highlighted date '17.Februar 2019' in the source text and '17 February 2019' in the target text segment.

    Okay, as you saw in my previous post, the Windows 10 long date format for Austrian does not have a space here. It is "d. MMMM yyyy".

    It is starting to look like Studio does not actually check what formats Windows is using.

    Did SDL "harvest" the Windows date formats a decade ago from a previous version of Windows and hard-code them into Studio ?

    Very confusing ...

    - Bruce

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:37 PM (GMT 0) on 28 Feb 2024]
Reply
  • Hi again Paul,

    Stranger and stranger ...

    I really didn't think this would work, but I was curious.

    And I actually got Studio to recognise a long date in Austrian. Guess how ...

    I deleted the space between the day and month in the Austrian date, just like you did. See below:

     Screenshot of Trados Studio interface showing a highlighted date '17.Februar 2019' in the source text and '17 February 2019' in the target text segment.

    Okay, as you saw in my previous post, the Windows 10 long date format for Austrian does not have a space here. It is "d. MMMM yyyy".

    It is starting to look like Studio does not actually check what formats Windows is using.

    Did SDL "harvest" the Windows date formats a decade ago from a previous version of Windows and hard-code them into Studio ?

    Very confusing ...

    - Bruce

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:37 PM (GMT 0) on 28 Feb 2024]
Children