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

Notification

Icon
Error

Options
Go to last post Go to first unread
StefanBerger  
#1 Posted : Wednesday, July 26, 2006 10:57:10 PM(UTC)
StefanBerger

Rank: Member

Groups: Member
Joined: 7/25/2006(UTC)
Posts: 5

Hi,

in the online help i read, that the application contains translations to german. How can i activate it? Or still i have to change the text by using addparam ... ?

Thanks again :)
Stefan
Fedor  
#2 Posted : Thursday, July 27, 2006 1:22:32 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,548

Thanks: 5 times
Was thanked: 59 time(s) in 58 post(s)
Hello Stefan,

Quote:
Or still i have to change the text by using addparam ... ?


In Localization sample for the platform you use there is Resources subfolder with all language resources. For German localization you need de.js JavaScript file.

You can see the example how to apply the localization either in the index file (default.aspx, index.php, index.pl and so on), or just use the following code:

Code:
<script src="iuembed.js" type="text/javascript"></script>

<script src="de.js" type="text/javascript"></script>

<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 650, 500);

//Localization
de_resources.addParams(iu);

//Any other params or event handlers

iu.writeHtml();
//]]>
</script>

Edited by user Monday, February 18, 2008 6:49:35 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
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.