Discuss the massively-multiplayer home defense game.
You are not logged in.
Pages: 1
Hello Jason,
I can translate The Castle Doctrine into Russian language.
Offline
You dont need to interact with Jason.
You can start translating right now.
Goto your \CastleDoctrine\Languages folder.
You will find a file there called English.txt
Open it in notepad. Translate all the quoted strings (should be like this: loginMessage "Вход в систему...")
Save as to "Russian.txt" in same folder.
Now open \CastleDoctrine\language.txt and change the text "English" to "Russian". Save.
Start game, and verify translation Went through. If thats case, upload Russian.txt to a server of your choice.
Link Russian.txt here in this thread. Done.
Offline
Offline
The game doesn't seem to actually have russian characters, you may need to change font_4_8.tga and font_8_16.tga and draw them.
Offline
which programs can I use?
Offline
Any image editing program (GIMP, mtPaint) can edit TGA files.
I believe the font file given uses the Latin1 character encoding.
You'd need to pick a Cyrillic character encoding, put the characters in the right spots in the font file, and then save your Russian.txt language file using the same encoding.
You also may want to consider translating the info.txt and subInfo.txt files in the gameElements folder.
Offline
Offline
I've made basic koi8-r tga(only letters) and languages files translation.
No items and human names translation yet and no keyboard layout switch.
Should be simular with other games, such as Sleep Is Death (keyboard switch is really important there)
You can get translation files here:
https://gitlab.com/morokov/castle-doctrine-ru
To install, copy all to the Castle Doctrine directory
ie ~/.steam/steam/steamapps/common/CastleDoctrine
Last edited by mv (2017-11-19 14:19:58)
Offline
got translation layout switch quick hack (worked for me on Debian/lxde)
https://gitlab.com/morokov/castle-doctrine-ru/raw/master/0001-quick-fix-for-layout-change.patch
to read switch page encoding to KOI-8R (F10 View/Text Encoding in Firefox)
items tools and names can be translated by adding to language file..
the only problem left is with tools and items with spaces (seems it needs another code edit)
Last edited by mv (2017-11-23 15:10:49)
Offline
with this patch it's possible to add translation for 'Empty Floor' and 'Exterior Wall':
https://gitlab.com/morokov/castle-doctrine-ru/raw/master/0001-working-draft-of-spaces-in-translation-keys.patch
now it will be helpful to have script which gets all object names and put it in file for translation
Offline
Pages: 1