Translations

From Ultronomicon
Revision as of 12:46, 19 August 2005 by Svdb (talk | contribs) (Keep list in alphabetic order)
Jump to navigation Jump to search

General information

Current status

The resource system is suitable for creating language packs. An add-on package can be created to override any content file.

The game works with UTF-8 encoded UNICODE characters. The currently available characters are mostly the ASCII characters. The various translation projects use their own characters where needed. Eventually, we will want to have shared font packs.

Currently, all text is in simple text files. Eventually, we'll move to a richer XML-based file format. A conversion tool will be created to convert existing material.

Some text still is hard-coded in the game. This will change at some point in the future.

Currently, only left-to-right writing systems are supported.

Support for non-ascii input in text fields is not present yet.


Using language packs

A language pack can be used like any other add-on package.


Creating language packs

Language packs are normal add-on packages, which means they will be a .zip file (renamed to .uqm), with in it a directory structure which overrides the files in the default content.

Text files

The game expects all of its text files to be in UTF-8 format.

The subtitle files can be found in comm/<race>/<race>.txt in the content tree.

The melee strings for the various ships can be found in the <race>/<race>.txt files.

The text displayed for planetary exploration finds is contained in the ipanims/*.txt files.

The file lbm/starcon.txt contains various other game strings.

The file slides/intro/intro.txt contains the text for the intro sequence, as used by the DOS version of Star Control II. The files slides/ending/victory1.txt, slides/ending/victory2.txt and slides/ending/final.txt contain the text for the victory slides.

Hard-coded strings

There are several places in the game where strings are used that are hard-coded in the source code. Most of those are error strings you may never see, but some are actually important in the game. For now, it would be best to ignore these strings, and translate them when these strings are no longer hard-coded. If you do translate them at this time, you would need to distribute game binaries of your own.

Fonts

If you need additional characters you will need to add appropriate entries to the font dirs slides/slides.fon/, ipanims/lander.fon/, lbm/micro.fon/, lbm/tiny.fon/, lbm/player.fon/, lbm/starcon.fon/ and comm/<race>/<race>.fon/. The number of the file is the UNICODE character code.

Images

Some game images include text. A full translation would need modified versions of those. [Insert list of relevant files here].

Speech

If you want to dub the actual speech, you'll need to create new versions of the .ogg files in comm/<race>/ in the content dir. You'll also need to create new .ts files for synchronisation with the subtitles. See Tools below.

Documentation

The game comes with several documentation files. In particular the game manual would be a good candidate for translation.


Tools

The Russion translation project created a program to make editing the UQM fonts easy. It's available here.

Unix-like systems will have a program iconv which can be used to easilly change the encoding of a text file (from latin1 to UTF-8 for instance).

A tool for generating the time stamps used to synchronise the speech with the subtitles is available in the official CVS tree of the The Ur-Quan Masters project, in the tools module. [1]


Translation projects

German

Home page: http://sc2de.berlios.de/

Project site: http://developer.berlios.de/projects/sc2de/

Download: http://developer.berlios.de/project/showfiles.php?group_id=818

CVS tree: http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sc2de/Sternkontrolle/

Forum threads: [2], [3], [4]

Status: almost complete

Finnish

Project site: http://www.kyamk.fi/~vi3dhepe/uqm-fin/index.html

Forum thread: [5]

Status: almost complete

Japanese

There currently is no Japanese translation project underway, but the original 3DO version was also released in Japanese. We have a copy, and if the copyrights allow it, we may be able to add Japanese speech files without much problems.

Bugzilla entry: #605

Status: 0% complete

Polish

Main site: http://uqm.prv.pl (for now, contact arael@tenbit.pl)

Forum threads: [6]

Status: just started

Portuguese

The project has already been started. Plans are to do both a Brazilian and Portuguese version. A call for contributors has been made. Contact nightshadow if interested.

Project Site: http://pt-masters.net/

Forum threads: [7],[8], [9]

Status: Just Started

Russian

Main site: http://cs.ozerki.net/zap/sc2-rus/

Forum threads: [10], [11], [12]

Status:

Spanish

Main site: http://www.custom-creations.org/~starsite/UQM-spa/

Forum threads: [13] [14]

Status: just started