Forums

Welcome Guest Search | Active Topics | Members

Localizing Error Messages Options
ikue
Posted: Thursday, February 03, 2005 8:38:00 PM
Rank: Member
Groups: Member

Joined: 1/18/2005
Posts: 9
Points: 0
Location: Japan
Hi,

While I'm localizing messages of ImageUploader, I found some messages could not be changed.
For example, when progress window (SilentMode = false) shows a server-side error, it opens an alert box with following message: "Some server-side error occured."
I would like to translate that, but I cannot find the property to set the localized message.
The one "User-specified timeout has expired", which is shown on timeout error, also seems having no property.

Can I localize these messages?
Or I have to create custom progress control? I'm afraid it would be a difficult work because I have to use separate upload mode...

Besides, I would like to know when and why the errors with following messages occur.

- MessageUploadFailedText
- MessageErrorSendingRequestText
- MessageCannotConnectToInternetText
- MessageNoResponseFromServerText
- MessageNoInternetSessionText

I read the online manual, but I couldn't differentiate them clearly. I also tried to occur them, but I couldn't.
It will be very happy if you tell me.

Best regards,
ikue
Fedor
Posted: Wednesday, February 09, 2005 10:07:00 PM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,207
Points: -292
Location: WA, US
I am sorry for delay.

While I'm localizing messages of ImageUploader, I found some messages could not be changed.
For example, when progress window (SilentMode = false) shows a server-side error, it opens an alert box with following message: "Some server-side error occured."
I would like to translate that, but I cannot find the property to set the localized message.


Normally this message should not be displayed. It is intended for developers only during development. You should not go site live until this message will be displayed. So way there is no need to localize this message.

The one "User-specified timeout has expired", which is shown on timeout error, also seems having no property.

This message means that specified Timeout is not enough large, so please try it play with its value. This message also should not be normally. It can not be localized now, but we will fix it in upcoming Image Uploader 3.5.

Can I localize these messages?
Or I have to create custom progress control? I'm afraid it would be a difficult work because I have to use separate upload mode...


As I said before there is no need to localize first message and in most case second.

Besides, I would like to know when and why the errors with following messages occur.
I read the online manual, but I couldn't differentiate them clearly. I also tried to occur them, but I couldn't.
It will be very happy if you tell me.


- MessageUploadFailedText
- MessageErrorSendingRequestText
- MessageCannotConnectToInternetText
- MessageNoResponseFromServerText
- MessageNoInternetSessionText

This errors are translated from URL Moniker Error Codes which are described at MSDN:

http://msdn.microsoft.com/workshop/networking/moniker/reference/constants/errors.asp

Unfortunately Microsoft description of them is not more detailed then our one.

Best regards,
Fedor Skvortsov
ikue
Posted: Wednesday, February 09, 2005 11:22:00 PM
Rank: Member
Groups: Member

Joined: 1/18/2005
Posts: 9
Points: 0
Location: Japan
Fador,

Thank you very much for detailed response.
I understand why those messages are not able to localize.

Anyway, what I intend to do is using built-in progress control of ImageUploader.
If I change setting to Silent Mode, the progress control is not appear while uploading.
I'd like to ask you if I can use the control without messages for development, and if yes, I'd like you to tell me how to.



Best regards,
ikue
Fedor
Posted: Thursday, February 10, 2005 2:45:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,207
Points: -292
Location: WA, US
Anyway, what I intend to do is using built-in progress control of ImageUploader.
If I change setting to Silent Mode, the progress control is not appear while uploading.
I'd like to ask you if I can use the control without messages for development, and if yes, I'd like you to tell me how to.


I think you need to resolve problems which causes showing of these messages. Normally neither server-side error, nor timeout one should arrise.

To resolve problem with server-side error try to debug your scripts.



Best regards,
Fedor Skvortsov
ikue
Posted: Thursday, February 10, 2005 2:59:00 AM
Rank: Member
Groups: Member

Joined: 1/18/2005
Posts: 9
Points: 0
Location: Japan
No, I'm not troubled by those problems now.
I caused those problems intentionally for development and testing.

I can change setting to silent mode right now, but I want to show uploading progress to my users: I hoped if I can use build-in control of ImageUploader.

Is it true I can't use build-in progress pop-up window in silent mode? Then I should create one by myself.


Best regards,
ikue
Fedor
Posted: Thursday, February 10, 2005 3:37:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,207
Points: -292
Location: WA, US
Is it true I can't use build-in progress pop-up window in silent mode? Then I should create one by myself.

Yes, you can not use build-in progress dialog in silent mode. Wihtout silent mode you can turn off only Upload Complete Message.

Best regards,
Fedor Skvortsov
ikue
Posted: Thursday, February 10, 2005 4:23:00 AM
Rank: Member
Groups: Member

Joined: 1/18/2005
Posts: 9
Points: 0
Location: Japan
Fedor,

Thank you very much. I understand well.

Best regards,
ikue
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.