Thursday, March 22, 2012

Error in translated error string

I didn't find a good thread to put this, but since I noticed it in the SQL Server Express version I put it here:

Here is an error I get in Swedish:
"Konvertering av nvarchar v?rdet av typen Ny! till datatypen int misslyckades."

The error string is however not correct. In English it reads:
Syntax error converting the nvarchar value 'Ny!' to a column of data type int.

And in Swedish it should be:
"Konvertering av nvarchar-v?rdet 'Ny!' till datatypen int misslyckades."
or even
"Konvertering av nvarchar-v?rdet 'Ny!' till ett f?lt av datatypen int misslyckades."

Is there an address to send this kind of errors to?

Kind regards,
Andreas Jansson
No, this is truly an implemtation error. You are trying to pass a value to SQL Server which is not numeric although SQL Server expected that type. It would ne nice for us to know where you get the error and what you are doing to receive this error.

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

I'm fully aware of the implementation errror (which has been corrected). What I'm concerned about is the erroneous translation of that exact error message into Swedish.

Translated back into English the message would read:
Converting the nvarchar value of type Ny! to data type int failed.

So in the Swedish error we read that (the nvarchar value) Ny! is a type, which it of course is not.


Also, there should be a hyphen between "nvarchar" and "v?rdet": "nvarchar-v?rdet".

|||If its just a translation error in your opinion, should should file this as a bug on connect.microsoft.com to correct this in the next versions of SQL Server. You can have a look at the sysmessages in SQL Server (sysmessages table in the master database) to see which string is parametrized here.

Jens K. Suessmeyer.

http://www.sqlserver2005.de

No comments:

Post a Comment