SageTV Localizaton Instructions 4/10/2007 Copyright 2007 SageTV, LLC. All rights reserved. THIS DOCUMENT IS NOT COMPLETE AND WILL BE UPDATED, BUT IT SHOULD BE ENOUGH TO GET THE JOB DONE FOR NOW Beginning with V2.1; SageTV has the ability to be localized into any language. This outline explains the steps required for this: 1. Determine the 2 letter language code for the language you wish to translate into. This is specified by ISO 639, which is included at the end of this document. 2. Open the Sage.jar file from your SageTV installation using Winzip. 3. Extract the SageTVCoreTranslations.properties file to your SageTV folder. 4. Rename the SageTVCoreTranslations.properties file you extracted to be SageTVCoreTranslations.properties to be SageTVCoreTranslations_xx.properties where 'xx' is the 2 letter language code from step 1. 5. Copy the SageTV3_i18n.properties file in your SageTV\STVs\SageTV3 folder and name it SageTV3_i18n_xx.properties where 'xx' is your 2 letter language code. Keep the file in the SageTV3 folder. NOTE: If you're using an alternate STV contact the STV developer about creating a translation source file to use. 5a. For SageTV7; use the SageTV7_i18n.properties file in your SageTV\STVs\SageTV7 folder and use SageTV7_i18n_xx.properties for the translation filename. The new file should be placed in the SageTV7 folder. 6. Edit the two properties file you've created so that what's on the right side of the = sign for all of the properties is the text in your target language. Some properties are simple text translations; while some are more complex messages. 7. In your Sage.properties (or SageClient.properties file) change the: ui/translation_language_code= property to be ui/translation_language_code=xx where 'xx' is the 2 letter language code from step 1. NOTE For double byte character sets: If you're using a double byte language for the translation, you need to transform the files to be compliant. The files should be saved in either UTF8 or UTF-16 encoding. You'll need to have the native2ascii tool to do the transformation; this tool is part of the JDK from Sun Microsystems. Here's the syntax for the native2ascii tool: For UTF8 encoded files: native2ascii -encoding UTF8 InputFilename OutputFilename For UTF-16 encoded files: native2ascii -encoding UTF-16 InputFilename OutputFilename APPENDIX A ISO 639 Information Technical contents of ISO 639:1988 (E/F) "Code for the representation of names of languages". Typed by Keld.Simonsen@dkuug.dk 1990-11-30 Minor corrections, 1992-09-08 by Keld Simonsen Sundanese corrected, 1992-11-11 by Keld Simonsen Telugu corrected, 1995-08-24 by Keld Simonsen Hebrew, Indonesian, Yiddish corrected 1995-10-10 by Michael Everson Inuktitut, Uighur, Zhuang added 1995-10-10 by Michael Everson Sinhalese corrected, 1995-10-10 by Michael Everson Faeroese corrected to Faroese, 1995-11-18 by Keld Simonsen Sangro corrected to Sangho, 1996-07-28 by Keld Simonsen Two-letter lower-case symbols are used. The Registration Authority for ISO 639 is Infoterm, Osterreichisches Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria. aa Afar ab Abkhazian af Afrikaans am Amharic ar Arabic as Assamese ay Aymara az Azerbaijani ba Bashkir be Byelorussian bg Bulgarian bh Bihari bi Bislama bn Bengali; Bangla bo Tibetan br Breton ca Catalan co Corsican cs Czech cy Welsh da Danish de German dz Bhutani el Greek en English eo Esperanto es Spanish et Estonian eu Basque fa Persian fi Finnish fj Fiji fo Faroese fr French fy Frisian ga Irish gd Scots Gaelic gl Galician gn Guarani gu Gujarati ha Hausa he Hebrew (formerly iw) hi Hindi hr Croatian hu Hungarian hy Armenian ia Interlingua id Indonesian (formerly in) ie Interlingue ik Inupiak is Icelandic it Italian iu Inuktitut ja Japanese jw Javanese ka Georgian kk Kazakh kl Greenlandic km Cambodian kn Kannada ko Korean ks Kashmiri ku Kurdish ky Kirghiz la Latin ln Lingala lo Laothian lt Lithuanian lv Latvian, Lettish mg Malagasy mi Maori mk Macedonian ml Malayalam mn Mongolian mo Moldavian mr Marathi ms Malay mt Maltese my Burmese na Nauru ne Nepali nl Dutch no Norwegian oc Occitan om (Afan) Oromo or Oriya pa Punjabi pl Polish ps Pashto, Pushto pt Portuguese qu Quechua rm Rhaeto-Romance rn Kirundi ro Romanian ru Russian rw Kinyarwanda sa Sanskrit sd Sindhi sg Sangho sh Serbo-Croatian si Sinhalese sk Slovak sl Slovenian sm Samoan sn Shona so Somali sq Albanian sr Serbian ss Siswati st Sesotho su Sundanese sv Swedish sw Swahili ta Tamil te Telugu tg Tajik th Thai ti Tigrinya tk Turkmen tl Tagalog tn Setswana to Tonga tr Turkish ts Tsonga tt Tatar tw Twi ug Uighur uk Ukrainian ur Urdu uz Uzbek vi Vietnamese vo Volapuk wo Wolof xh Xhosa yi Yiddish (formerly ji) yo Yoruba za Zhuang zh Chinese zu Zulu