Camtasia (Mac): Add Multiple Caption Languages to a Camtasia production

Create, Edit and Caption your video with Camtasia 2018

For more information on adding captions in Camtasia see this support article.

Step 1: Share Your Project to a Local File on Your Computer

  1. In Camtasia click Share > Local File > Export as Webpage.
  2. From the Caption Style dropdown, select Closed Captions.
    image-5.png

Step 2: Open up Production Caption Data

  1. Open the production folder in Finder.
  2. Locate the xmpFile.xml file in the media folder.
  3. Open the file in a TextEdit or another text editor that can edit XML.
  4. The XML produced by Camtasia is not formatted in a readable way by default. To make the XML more readable do the following:
    1. Copy all the text in the file.
    2. Open this link to an online XML formatter in a browser.
    3. Paste content in text area and click FORMAT XML.
    4. Copy formatted XML text and replace text in the opened file in the text editor.
    5. Save file.

Step 3: Adding New Captions

  1. Locate the caption section of the XML document.
    image-1.png
  2. To Add a new caption, duplicate an existing <rdf:li> tag that contains caption text.
  3. Modify language code and caption text.
    image-3.png
  4. At the bottom of this article is a list of supported language codes. Do not modify the markup (\rtf1) surrounding the caption text. It is used for formatting the text.
  5. Save file.

Step 4: Modify Player HTML File

  1. Open the production folder in Finder.
  2. Locate the index_player.html file in the media folder.
  3. Open the file in a TextEdit or another text editor that can edit HTML.
  4. Locate and delete the following line: <script src="scripts/config_xml.js"></script>
  5. Save file.

    You will not be able to preview the production from your desktop with this change. But it will work when you upload the production to your hosting server.

Step 5: Upload the Production Folder to Your Hosting Server

  1. The TechSmith Smart Player will auto-detect the languages you have supplied in the XML.
  2. Users will be given an option to switch between language tracks at anytime during playbackimage-4.png

Supported Language Codes

Language Language Code
Afrikaans "af"
Afrikaans "af-za"
Albanian "sq"
Albanian "sq-al"
Arabic "ar"
Arabic "ar-dz"
Arabic "ar-bh"
Arabic "ar-eg"
Arabic "ar-iq"
Arabic "ar-jo"
Arabic "ar-kw"
Arabic "ar-lb"
Arabic "ar-ly"
Arabic "ar-ma"
Arabic "ar-om"
Arabic "ar-qa"
Arabic "ar-sa"
Arabic "ar-sy"
Arabic "ar-tn"
Arabic "ar-ae"
Arabic "ar-ye"
Armenian "hy"
Armenian "hy-am"
Azeri (Cyrillic) "cy-az"
Azeri (Cyrillic) "cy-az-az"
Azeri (Latin) "lt-az"
Azeri (Latin) "lt-az-az"
Basque "eu"
Basque "eu-es"
Belarusian "be"
Belarusian "be-by"
Bulgarian "bg"
Bulgarian "bg-bg"
Catalan "ca"
Catalan "ca-es"
Chinese "zh"
Chinese "zh-cn"
Chinese "zh-hk"
Chinese "zh-mo"
Chinese "zh-sg"
Chinese "zh-tw"
Chinese "zh-chs"
Chinese "zh-cht"
Croatian "hr"
Croatian "hr-hr"
Czech "cs"
Czech "cs-cz"
Danish "da"
Danish "da-dk"
Dhivehi "div"
Dhivehi "div-mv"
Dutch "nl"
Dutch "nl-be"
Dutch "nl-nl"
English "en"
English "en-au"
English "en-bz"
English "en-ca"
English "en-cb"
English "en-ie"
English "en-jm"
English "en-nz"
English "en-ph"
English "en-za"
English "en-tt"
English "en-gb"
English "en-us"
English "en-zw"
Estonian "et"
Estonian "et-ee"
Faroese "fo"
Faroese "fo-fo"
Farsi "fa"
Farsi "fa-ir"
Finnish "fi"
Finnish "fi-fi"
French "fr"
French "fr-be"
French "fr-ca"
French "fr-fr"
French "fr-lu"
French "fr-mc"
French "fr-ch"
Galician "gl"
Galician "gl-es"
Georgian "ka"
Georgian "ka-ge"
German "de"
German "de-at"
German "de-de"
German "de-li"
German "de-lu"
German "de-ch"
Greek "el"
Greek "el-gr"
Gujarati "gu"
Gujarati "gu-in"
Hebrew "he"
Hebrew "he-il"
Hindi "hi"
Hindi "hi-in"
Hungarian "hu"
Hungarian "hu-hu"
Icelandic "is"
Icelandic "is-is"
Indonesian "id"
Indonesian "id-id"
Italian "it"
Italian "it-it"
Italian "it-ch"
Japanese "ja"
Japanese "ja-jp"
Kannada "kn"
Kannada "kn-in"
Kazakh "kk"
Kazakh "kk-kz"
Konkani "kok"
Konkani "kok-in"
Korean "ko"
Korean "ko-kr"
Kyrgyz "ky"
Kyrgyz "ky-kz"
Latvian "lv"
Latvian "lv-lv"
Lithuanian "lt"
Lithuanian "lt-lt"
Macedonian "mk"
Macedonian "mk-mk"
Malay "ms"
Malay "ms-bn"
Malay "ms-my"
Marathi "mr"
Marathi "mr-in"
Mongolian "mn"
Mongolian "mn-mn"
Norwegian (Bokmål) "nb"
Norwegian (Bokmål) "nb-no"
Norwegian (Nynorsk) "nn"
Norwegian (Nynorsk) "nn-no"
Polish "pl"
Polish "pl-pl"
Portuguese "pt"
Portuguese "pt-br"
Portuguese "pt-pt"
Punjabi "pa"
Punjabi "pa-in"
Romanian "ro"
Romanian "ro-ro"
Russian "ru"
Russian "ru-ru"
Sanskrit "sa"
Sanskrit "sa-in"
Serbian (Cyrillic) "cy-sr"
Serbian (Cyrillic) "cy-sr-sp"
Serbian (Latin) "lt-sr"
Serbian (Latin) "lt-sr-sp"
Slovak "sk"
Slovak "sk-sk"
Slovenian "sl"
Slovenian "sl-si"
Spanish "es"
Spanish "es-ar"
Spanish "es-bo"
Spanish "es-cl"
Spanish "es-co"
Spanish "es-cr"
Spanish "es-do"
Spanish "es-ec"
Spanish "es-sv"
Spanish "es-gt"
Spanish "es-hn"
Spanish "es-mx"
Spanish "es-ni"
Spanish "es-pa"
Spanish "es-py"
Spanish "es-pe"
Spanish "es-pr"
Spanish "es-es"
Spanish "es-uy"
Spanish "es-ve"
Swahili "sw"
Swahili "sw-ke"
Swedish "sv"
Swedish "sv-fi"
Swedish "sv-se"
Syriac "syr"
Syriac "syr-sy"
Tamil "ta"
Tamil "ta-in"
Tatar "tt"
Tatar "tt-ru"
Telugu "te"
Telugu "te-in"
Thai "th"
Thai "th-th"
Turkish "tr"
Turkish "tr-tr"
Ukrainian "uk"
Ukrainian "uk-ua"
Urdu "ur"
Urdu "ur-pk"
Uzbek (Cyrillic) "cy-uz"
Uzbek (Cyrillic) "cy-uz-uz"
Uzbek (Latin) "lt-uz"
Uzbek (Latin) "lt-uz-uz"
Vietnamese "vi"
Vietnamese "vi-vn"