Placeables and dates

Hello. I have a problem with the dates, because by default, when translating, the placeable includes the day. For example, in English is written, January, 9th, the placeable is: miércoles (the day in Spanish) 9 de enero. Besides, the day is automatically included in the target segment. I tried to fix that, but I was not able!! Thanks for your answer.

Parents Reply Children
  • Hello,

    I will join this topic because my question is tightly related.

    I followed Nora's and Ana's suggestions above. However, I would like to get rid of leading zeros in the date. When I press Ctrl+, under pleacables I have a suggestion of this form of date: 01. januar 2020 

    I would like the date to be shown in this form 1. januar 2020

    is there a way to do this with general settings? (Unfortunately I am not allowed to use any plugins).

    thank you!

  • Hello  ,

    *Edited

    If the document has just a couple of dates that need checking, you could use the simple Search and Replace function.

    A far better option however, would be to use Regex (Regular Expressions) which is ideal for situations like this, allowing you to 'replace all' 

    Still using Search and Replace - you can use the following Regex pattern

    0*(\d+\.\s(?:Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)\s\d{4})

    This will now search in the document for the incorrect format (01. Jan) format and replace with the required format (1. Jan)

    Trados Studio Search and Replace dialog box with Regex pattern entered in 'Find what' field and '$1' in 'Replace with' field, 'Regular expressions' option selected.

    In the 'Replace with' field - enter $1 - which ensures the changes are applied

    Now when you choose 'Replace All' the dates are now in the desired format...

    Highlighted text in Trados Studio document showing dates in '01. Jan' format before using 'Replace All' function with Regex.

    Lydia Simplicio | 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

    emoji


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