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

Notification

Icon
Error

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

Rank: Advanced Member

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

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Instructions:
  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:
    Code:
    <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:
    Code:
    YOUR_LANG_CODE_resources.addParams(iu);
    into the /includes/templates/template_default/templates/tpl_product_photo_info_display.php after this:
    Code:
    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.