Tutorial Scripting Zoo Tycoon 2 Archived

Language Coding

Published
15/11/2026
History
History
Reading time
8 min read
Views
5 views
Comments
0 comments
Like
Originally published by CougertheShark on ZT2 Designing Centre in November 2010.
On this page

Introduction

Note

Note from ZooBerry: Originally, this tutorial used yellow highlighting to indicate where the reader must replace text in the code. Since we can’t do that here (no text colors), I replaced the yellow highlighting with [[ ]] bracket symbols to indicate what must be replaced.

Language Coding is making the game work in a different language such as Spanish, English, Dutch, or German

Info

the most commonly used code is english, the code for english is 1033


The Codes

to make a Language code you must name it the correct code and place it within the Lang Folder

the codes are

Language Code
English 1033
Spanish 3082
Dutch 1043
German 1031
French 1036
Italian 1040
Swedish 1053
Portugese 1046
Chinese 1028
Japanese 1041
Korean 1042

than copy the string file within the code file of the folder of the original code and paste it into the new folder named the same as the code

the fild should be .xml and be called

Codename_Strings.xml

Note

(please note the codename doesnt change by language)


Coding

now I will code the accual string file

now weather you are translating an animal to your language or making an animal a language other than your own you will need a translator,

Tip

I DO NOT recommend google translate due to bad punctuation instead I use Word Monkey

I will now be translating my tokay gecko to spanish

here is the enlish code

<ZT2Strings>
<entityname>
  <!--animal names-->
    <GeckoTokay>[[Tokay Gecko]]</GeckoTokay>
    <GeckoTokay_stt>[[Tokay Gecko]]</GeckoTokay_stt>
    <GeckoTokay_lower>[[Tokay Gecko]]</GeckoTokay_lower>
    <GeckoTokay_ltt>
      <color r="255" g="248" b="178">
        <b>[[Tokay Gecko]]</b>
      </color>
      <br/>
      [[Click to select and then place the Tokay Gecko, the world's Second Largest Gecko.]]
  </GeckoTokay_ltt>
    <!--gift names-->
    <GeckoTokay_Gift>[[Tokay Gecko Toy]]</GeckoTokay_Gift>
    <GeckoTokay_Gift_stt>[[Tokay Gecko toy]]</GeckoTokay_Gift_stt>
    <GeckoTokay_Gift_lower>[[the Tokay Gecko toy]]</GeckoTokay_Gift_lower>
    <GeckoTokay_Gift_ltt>
      <color r="255" g="248" b="178">
        <b>[[Tokay Gecko toy]]</b>
      </color>
      <br/>[[Guests who enjoy watching the Tokay Gecko will buy this gift.]]    </GeckoTokay_Gift_ltt>
</entityname>
<zoopedia_geckotokay>
<entry>[[Tokay Gecko]]</entry>
<text>
  <cell pady="0" width="1000"/>
  <p/>
  <cell width="260"/>
  <cell width="640" height="320" bgimg="ui/zoopedia/topCellBg.dds">
   <cell width="600" padx="20" pady="20">

        <cell width="284">
      <cell width="96" bgimg="ui/zoopedia/littleBox-128.tga">
       <img src="entities/units/animals/GeckoTokay/GeckoTokay_Adult_M_icon.dds" sx="0" sy="0" sw="64" sh="64" height="96" width="96"/>
      </cell>
      <cell width="16">
       <img src="ui/zoopedia/icon_male.dds" sx="0" sy="0" sw="64" sh="64" width="16" height="16"/>
      </cell>
      <cell width="16">
       <img src="ui/zoopedia/icon_female.dds" sx="0" sy="0" sw="64" sh="64" width="16" height="16"/>
      </cell>
      <cell width="156"/>
          <br/>
          <cell width="32" pady="0">
            <img src="ui/zoopedia/LowRisk.dds" sx="0" sy="0" sw="64" sh="64" width="32" height="32"/>
          </cell>
          <cell width="224" padx="10" pady="0">
            <color r="255" g="255" b="255">
            Conservation Status:
            <br/>
              <color r="100" g="50" b="50">
            [[Low Risk]]            </color>
            </color>
          </cell>
        </cell>

    <cell width="128">
     <color r="255" g="255" b="255">[[Rain Forest]]<br/></color>
     <img src="ui/icon_biomes/icon_wetlands.dds" sx="0" sy="0" sw="128" sh="128" width="96" height="96"/>
    </cell>
    <cell width="128">
     <color r="255" g="255" b="255">

[[Asia]]<br/></color>
     <img src="ui/icon_maplocations/Rainforest_Asia.dds" sx="0" sy="0" sw="256" sh="256" width="96" height="96"/>
    </cell>
    <br/>
    <cell width="284" pady="10">
     <color r="255" g="255" b="255">Class: Reptilia <i>(Reptilia)</i><br/>Order: Squamata <i>(Squamata)</i><br/>Family: Gekkonidae <i></i><br/>Genus: <i>Gekko</i><br/>Species: <i>M. gecko</i>
     </color>
    </cell>
    <cell width="256" pady="10">
     <img src="UI/zoopedia/biome/tropicalrainforest_zoopedia_biomebrush.dds" sx="0" sy="0" sw="256" sh="85"/>
    </cell>
   </cell>
  </cell>
  <p/>
  <p/>
  <cell width="260"/>
  <cell width="300">
   <cell width="64">
    <img src="ui/zoopedia/fact-icon64.tga" sx="0" sy="0" sw="64" sh="64"/>
   </cell>
   <cell width="176">
    <color r="255" g="255" b="255">
     <font name="arial" size="12" shadowx="2" shadowy="1" shadowa="50">[[Fun Tokay Gecko Facts]]</font>
    </color>
   </cell>
   <p/>
   <cell width="280" bgimg="ui/zoopedia/factBG.tga" padx="10">
    <p/>
    <cell width="32" pady="10">
     <img src="ui/zoopedia/fact-bullet.tga" sx="0" sy="0" sw="32" sh="32"/>
    </cell>
    <cell width="202" pady="10">
     <color r="255" g="255" b="255">[[its Binomial name is Gekko gecko]]
</color>
    </cell>
<cell width="32" pady="10">
  <img src="ui/zoopedia/fact-bullet.tga" sx="0" sy="0" sw="32" sh="32"/>
</cell>
    <cell width="202" pady="10">
     <color r="255" g="255" b="255">[[Tokays are renowned for their loud vocalizations]]</color>
    </cell>
<cell width="32" pady="10">
  <img src="ui/zoopedia/fact-bullet.tga" sx="0" sy="0" sw="32" sh="32"/>
</cell>
    <cell width="202" pady="10">
     <color r="255" g="255" b="255">[[The Tokay is also considered the "pitbull" of the Gecko world]] </color>
    </cell>
  </cell>
  </cell>
  <cell width="340">
   <color r="255" g="248" b="178">
    [[To unlock the Tokay Gecko in challenge or campaign games, you must earn a 3 zoo fame rating for your zoo.]]   </color>
   <p>[[The Tokay Gecko (Gekko gecko) is a nocturnal arboreal gecko, ranging from northeast India and Bangladesh, throughout Southeast Asia, Philippines to Indonesia and western New Guinea. Its native habitat is rainforest trees and cliffs, and it also frequently adapts to rural human habitations, roaming walls and ceilings at night in search of insect prey. Increasing urbanization is reducing its range. In the late 1980s and early 1990s it was introduced into Hawaii, Florida, Texas, Belize, and several Caribbean islands, where it can be considered an invasive species. The Tokay Gecko is known as a Tuko or Toko in the Philippines for its characteristic vocalizations where people have mixed feelings about it ranging from terror of the mistaken belief that its feet can tear your skin off to great love and admiration for its entertaining vocalizations. In the Philippines most people respect it and value it because it eats dangerous pests such as scorpions and giant centipedes.]]</p>

   <p>[[The Tokay Gecko is the second largest Gecko species, attaining lengths of about 3040 cm (1115 inches) for males, and 2030 cm (711 inches) for females, with weights of 150300g (510 oz). They are distinctive in appearance, with a bluish or greyish body, sporting spots ranging from light yellow to bright red. The male is more brightly coloured than the female. They have large eyes with a vertical slit pupil. Eyes are brown to greenish brown and can be orange or yellow.

Males are very territorial, and will attack other male Tokays as well as other Gecko species, as well as anything else in their territory. They are solitary and only meet during the mating season. Females lay clutches of one or two hard shelled eggs which are guarded until they hatch.[1] Tokay Geckos feed on insects and small vertebrates.]]</p>

   <p>[[The typical lifespan is 710 years, however in captivity some Tokays have been known to live over 18 years.]]</p>

   <p>[[The Tokay is also considered the "pitbull" of the Gecko world due to the fact that when they bite, they often won't let go for a few minutes and rarely up to an hour or more, and generally difficult to remove without causing harm to the Gecko. One way of getting a Tokay to release its hold is to submerge the animal in water or settle it down, which will encourage the lizard to let go, without causing it any harm or undue stress. A less stressful method is to simply put a drop of vinegar on the gecko's nose. This is sometimes enough to get them to let go. For this reason, it is considered to be best as an ornamental animal for experienced reptile owners.]]</p>




  </cell>
  <p/>
  <cell width="260"/>
  <cell width="620">
   [[The Tokay Gecko was made by CougertheShark]] <color r="255" g="231" b="135">CougertheShar</color> , [[zoopedia info in courtesy of]]<color r="0" g="0" b="0">[[Wikipedia]]</color>
  </cell>
</text>
</zoopedia_geckotokay>
</ZT2Strings>

Note

The words wrapped in double square brackets [[like this]] are the ones that must be translated. (In the original post these were shown in yellow text.) When you paste in your translation, replace the brackets too, so [[Tokay Gecko]] becomes just your translated text with no [[ ]] left behind.


Translating

to translate copy the line or word to be translated and copy it go to the translator and select

  1. translate LANGUAGE to LANGUAGE
  2. than paste into the top box and click GO
  3. than copy the words in the bottom box
  4. than go back to your strings file
  5. outline the line you wish to replace
  6. and right click>Paste
  7. and that line is translated

Tip

now continue until you have translated all of the lines above that are marked with [[ ]] and than paste

Thats all there is to it so translate away

Comments 0

Log in to join the conversation.

No comments yet.

Loading the history…
Tutorial Archived

Easy Coding Tutorial

by Hendrix

Learn to code, organize, and zip custom animals for Zoo Tycoon 2.

  • Zoo Tycoon 2
  • Animals
  • Scripting
Reading time
3 min
Comments
0
Tutorial Archived

Hygeine Coding and Invisible Poop

by Ghost

Learn to disable animal cleaning and make animal waste invisible and odorless.

  • Zoo Tycoon 2
  • Animals
  • Scripting
Reading time
2 min
Comments
0
Tutorial Archived

Coding Skin Variants and Rarity

by Danny Elfmaniac

Learn to add more animal skin variants and control how frequently each variant appears.

  • Zoo Tycoon 2
  • Animals
  • Scripting
Reading time
3 min
Comments
0

Modal Title