Number check is not working for Chinese.

For example, the Chinese number 1万 is "10,000". However, unless I put simply the number "1" here, Trados will say this is an error. Is there any way for Trados to correctly check Chinese numbers? 

Parents Reply
  • Hi Adrian,

    You are right, the word list would get too big to be able to do this.
    My idea, would be to use regular expressions, for example, we know that one digit followed by 万 is 10,000 or above, so you could create the following rule I think:

    Source text: [^\d]*?\d{1}万
    Target text: \b[\d,]{5,6}\b

    The source text regular expression looks for a single digit followed by the 万 character.
    The target text regular expressions looks for a combination of digits and commas (it must be 5 or 6 characters long). So 10,000 or 10000 would match, but 100,000 would not.

    If you then set to "Report if source matches but not the target". An error will occur when the target does not have a number string of 5 or 6 characters long.

    This is just one example, but hopefully it can help you give an idea of what you can do.
    For more help with regular expression I find the following site helpful for testing:
    https://regex101.com/
Children