March 9, 2009

Localizing play-bar tool tips

,,

Consider a scenario where you want to create content in some different language, say German or Hindi. You created the content properly, but then you discover that the play-bar shows its tool-tips in English. Did you know that you can localize the play-bar tooltips to match your content? This post shows you how…

Img 1. English tool-tips

Img 2. Italian tool-tips

For Localizing play-bar you will need to have Adobe Flash.

Adobe captivate 4 comes with fla files for the play-bars. Typically installation folder for captivate 4 is “C:\Program Files\Adobe\Adobe Captivate 4”.

 

Locating tool-tip strings in AS2

Fla files for AS2 are located at “installation folder\Templates\PlaybackFLA\AS2”.

Open the play-bar fla file which for which you want to change the tool-tips and open the actions window for the main time line.

 

Locating tool-tip strings in AS3

Fla files for AS3 are located at “installation folder\Templates\PlaybackFLA\AS3”.

Notice a movie clip with name as “Localization” in the library window. Double click on the Localization movie clip in library to open it and open the actions window.

 

Changing play-bar tool-tips

You will notice few array definitions on the time line of the fla file. Name of those arrays are pbcBtnTips_ENU (English), pbcBtnTips_CHT (Chinese Traditional), pbcBtnTips_FRA (French), pbcBtnTips_DEU (German), pbcBtnTips_ITA (Italian), pbcBtnTips_JPN (Japanese), pbcBtnTips_ESP (Spanish) and pbcBtnTips_KOR (Korean). And then you will find the last line as

var pbcBtnTips:Array = pbcBtnTips_ENU;

 

If you want to have German tool-tips, you will just have to change the last line to

var pbcBtnTips:Array = pbcBtnTips_DEU;

 

But if you want to have tool-tip for a different language say Hindi, you’ll have to create a new array say pbcBtnTips_HIN before the last line as

 

var pbcBtnTips_HIN:Array = new

Array(“Rewind “, //rewind button Tool-tip

       “Back “, //back button tool-tip

       “Play “, //play button Tool-tip

       “Pause “, //pause button Tool-tip

       “Forward “, //forward button Tool-tip

       “Closed Captioning “, //CC button Tool-tip

       “Audio On “, //Audio on button Tool-tip

       “Audio Off “, //audio off button Tool-tip

       “Exit “, //exit button Tool-tip

       “Information “, //info button Tool-tip

       “dummy for scratch bar “, //this is a dummy entry

       “Table of Contents “, //TOC button Tool-tip

       “2x Fast Forward Speed “, //2xFF button Tool-tip

       “4x Fast Forward Speed “, //4xFF button Tool-tip

       “Normal Speed “, //1x button Tool-tip

       “Print”); //print button Tool-tip

 

And change the last line to

var pbcBtnTips:Array = pbcBtnTips_HIN;

Here you will have to make sure that the order of the elements in the array remains the same.

 

Save these changes and publish the swf file to “installation Folder\gallery\playbackControls\swfBars\as2” folder for as2 play-bar and to “installation Folder\gallery\playbackControls\swfBars\as3” for As3 playbar.

After doing this, start the captivate

Go to skin dialog, you should see name of the swf file, which was published, in the play-bar dropdown box. When this entry is selected, the tool-tip text s/he entered in the array will be shown.

Posted by Sunil Muthiyan4:54 PM
  • http://www.atrivision.com/ Chris @ Atrivision

    Hi Sunil,You mention:For Localizing play-bar you will need to have Adobe Flash.Do you mean the software to create a flash video or just the flash player?I don’t have an Adobe Flash creator… :(Cheers,Chris

  • Sunil Muthiyan

    @Chris,Adobe Flash is a product from Adobe.the latest version is Adobe Flash CS4please follow this link to know more about it.http://www.adobe.com/products/flash/?promoid=BPDEE

  • harry

    hi sunil..my exit button on the playbar nevers seems to work. any suggestions

  • Sunil Muthiyan

    @HarryAs far as i know, exit button works.I would like to know more about the issue. It will be great if you can send a demo file to me, so that I can analyse it and give you some pointers.you can send me it on my mail ID, muthiyan@adobe.com

  • Rod

    How can you change the order of the icons along the playbar?

  • Sunil Muthiyan

    @Rod,No, you can not change the order of the icons along the playbar.

  • http://www.thelearnspanish.com Learn to Speak Spanish

    Thanks for the nice post, I enjoyed reading it. Keep it up.

  • Denise

    Hello,
    I don’t have a file by the name of play-bar fla. The files I do have is; cpPlaybar.fla and I cannot open the Captivate 4 file. However, I can open the cpPlaybar.fla in Captivate 3 (not much help to me though since I am using version4.

    When I try to open cpPlaybar.fla in version 4, I receive an message, Unexpected file format. I have Flash Pro 8. Please advise. Thank you

  • Laurel

    I was able to change the tooltips, but how do I change the text around the TOC in Captivate 4? ..ie, Slide Title, Duration, Find…

  • Jacques

    I get the same error message as Denise, when I try to open the .fla file I get an “Unexpected file format”.

    Any advise?

  • Petra von Thienen

    How does that work in Capitvate 6? There is no folder GalleryPlaybackControlsSwfBars

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • Radovan: Great news, but what about all already published content. Will be there any patch?
    • Chinmay Baid: We haven’t seen any issues so far on OSX. Can you please experiment and let us know if you face...
    • Lynne: I’m looking for hairdresser avatars for Captivate 8… do they exist?
    • C.R. Mudgeon: Are these playback issues found in OSX 10.7 as well? I am in the process determining viability of team...
    • mahw: sdf
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV

Recently Approved