Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
steven.grigoleit  
#1 Posted : Tuesday, August 23, 2011 3:15:32 AM(UTC)
steven.grigoleit

Rank: Newbie

Groups: Member
Joined: 8/8/2011(UTC)
Posts: 6

Hi!

I'm using the newest version (7.0.37) of ImageUploader and I want to localize the control.

I'm loading the scripts as follows:
Code:

<script type="text/javascript" src="<%: Url.Content("~/Scripts/aurigma.uploader.js") %>"></script>
<script type="text/javascript" src="<%: Url.Content("~/Scripts/aurigma.uploader.de_localization.js") %>"></script>


and then:

Code:

	<script type="text/javascript">
		$au.debug().level(3);
		$au.debug().mode(['popup', 'console']);

		var u = $au.uploader({
			id: 'Uploader1',
			width: '100%',
			height: '600px',
			uploadButtonText: 'Foo',
		});

		u.set(de_localization);
		u.writeHtml();
	</script>   


Unfortunatly the controls renders in default english.
The 'uploadButtonText' is 'Upload' and not 'Foo' too.

I can see that the correct german version of the translation is loaded by the browser and when I debug the u.set-method I can see that the german values are read and setted.

What might be the problem?
steven.grigoleit  
#2 Posted : Tuesday, August 23, 2011 4:03:32 AM(UTC)
steven.grigoleit

Rank: Newbie

Groups: Member
Joined: 8/8/2011(UTC)
Posts: 6

Just to clarify the situation:
In FF 6.0 localization is working as expected, but not in IE 9.0

In FF I have much more debug information, beginning with

[js_info] Start apply uploader init object.
[js_info] Finish apply uploader init object.
[js_info] Start control re-initialization.
[js_info] Creating methods.
...

In IE 9.0 I have only

[js_info] Start apply uploader init object.
[js_info] Finish apply uploader init object.

and nothing more. And as I see now, also the Upload itself is at the moment only working in FF, not in IE.
p.shirykalova  
#3 Posted : Tuesday, August 23, 2011 11:40:00 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello Steven,

I tested German localization locally and got no problems - everything works fine in IE9.

Here are my actions (I followed this guide):
  1. I found aurigma.uploader.de_localization.js file in the /Scripts folder - german localization already exists.
  2. I added a link to this file to my Image Uploader page
    Code:
    <script type="text/javascript" src="Scripts/aurigma.uploader.de_localization.js">  </script>
  3. I passed de_localization object to the uploader.set(Object) method:
    Code:
    <script type="text/javascript">
    var u = $au.uploader({
        // Image Uploader configuration
    });
    u.set(de_localization);
    u.writeHtml();
    </script>
Now I have my Image Uploader translated into German.

Please try it and let me know about your results. Also please try our online localization demo and let me know whether it works in IE9 for you.

Note that you can modify aurigma.uploader.de_localization.js file to set your custom uploadButtonText.

Edited by user Tuesday, August 23, 2011 11:47:08 PM(UTC)  | Reason: Not specified

Best regards,
Pauline Shirykalova
Aurigma Technical Support
steven.grigoleit  
#4 Posted : Tuesday, August 23, 2011 11:45:17 PM(UTC)
steven.grigoleit

Rank: Newbie

Groups: Member
Joined: 8/8/2011(UTC)
Posts: 6

Thank you for your reply.
But as I said yesterday, localization was not the real problem, beause the firefox renders everything fine. I began developing with IE and here is a much bigger problem for me, because the ImageUploader isnt working at all.

See me second post... At the moment I have no idea why it isnt working in IE (localization and upload isnt working), but in FF is everything fine.
p.shirykalova  
#5 Posted : Tuesday, August 23, 2011 11:51:02 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello Steven,

Please provide me with the direct link to your site (login/password if any) so I can test it myself.
You can submit new support ticket and post this information there.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
p.shirykalova  
#6 Posted : Tuesday, August 23, 2011 11:53:10 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Also please try our online demo site in IE.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
steven.grigoleit  
#7 Posted : Tuesday, August 30, 2011 2:34:23 AM(UTC)
steven.grigoleit

Rank: Newbie

Groups: Member
Joined: 8/8/2011(UTC)
Posts: 6

The online demo site is working fine for me. no problems.
Today I will have a closer look on whats going on and I'm going to tell you about my findings or will give you access to the current version.
p.shirykalova  
#8 Posted : Tuesday, August 30, 2011 2:57:41 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hi Steven,

Ok, I look forward to hearing from you.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
steven.grigoleit  
#9 Posted : Tuesday, August 30, 2011 4:52:37 AM(UTC)
steven.grigoleit

Rank: Newbie

Groups: Member
Joined: 8/8/2011(UTC)
Posts: 6

The problem was:
The ImageUploader.ocx in C:\Windows\Downloaded Program Files was maybe in the wrong version. "Maybe", because I dont know anymore. The first installation of ImageUploader came from a demo of aurigma.com some days ago.

I deinstalled the ActiveX Plugin from IE now, deleted the file mentioned above and started a new installation of version 7.0.37. Now it works fine for me.

Is it a known issue that it might be difficult for customers when developers change the ImageUploader version?
p.shirykalova  
#10 Posted : Tuesday, August 30, 2011 7:07:26 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hi Steven,

No, we have no reports about this issue from other clients.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Users browsing this topic
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.