MySQL Forums
Forum List  »  Docs

possible translation error on rpad french documentation?
Posted by: Alexis MAUGER
Date: April 24, 2014 01:08AM

Hello,

I think the french translation of the rpad documentation doesn't match the English meaning and is confusing regarding the behavior when the string is longer.

English version (http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_rpad) is : "If str is longer than len, the return value is shortened to len characters."
example: RPAD('123456789',6,'*') > '123456'
French version (http://dev.mysql.com/doc/refman/5.0/fr/string-functions.html) is : "Si la chaîne de caractères str est plus longue que len' caractères, elle sera raccourcie de len caractères." Which could be translated into "If str is longer than len, the return value is shortened *of* len characters."
example: RPAD('123456789',6,'*') > '1234'
Correct translation would be "Si la chaîne de caractères str est plus longue que len' caractères, elle sera raccourcie *à* len caractères." or maybe more accurate "Si la chaîne de caractères str est plus longue que len' caractères, elle sera *tronquée à* len caractères."

Best regards.

Alexis Mauger-Brun

Options: ReplyQuote


Subject
Views
Written By
Posted
possible translation error on rpad french documentation?
2673
April 24, 2014 01:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.