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



Go to last post Go to first unread
#1 Posted : Wednesday, March 2, 2011 3:22:31 AM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
  1. Translate strings in the /includes/templates/template_default/templates/tpl_product_photo_info_display.php file (button names, etc).
  2. Create new image /includes/modules/pages/product_photo_info/dropfileshere.png with the caption in your language.
  3. If your language is not included in the Image Uploader 6 installation package, then take default English language file iuembed.Localization_en.js (see attachments), rename it to iuembed.Localization_YOUR_LANG_CODE.js and manually translate the content of the file. Do not forget to change "en_resources" to "YOUR_LANG_CODE_resources". Otherwise, just take the language file for your language.
  4. Put that localization file into /includes/modules/pages/product_photo_info/ directory.
  5. At the top of the /includes/templates/template_default/templates/tpl_product_photo_info_display.php file add this link:
    <script type="text/javascript" src="<?php print DIR_WS_CATALOG . 'includes/modules/pages/product_photo_info/iuembed.Localization_YOUR_LANG_CODE.js'; ?>"></script>
  6. Add the code:
    into the /includes/templates/template_default/templates/tpl_product_photo_info_display.php after this:
    var iu = new ImageUploaderWriter("ImageUploader1", "<?php echo $uploader_config['uploader']['width']; ?>", "<?php echo $uploader_config['uploader']['height']; ?>");

Edited by moderator Sunday, September 4, 2011 10:03:34 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.