HowTo: Add your language to Obsidian!

Archived Source Engine and Obsidian Tutorials.
Post Reply
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

HowTo: Add your language to Obsidian!

Post by Neico »

We think it's about time to give people the chance to get their language into Obsidian Conflict, so here we go:

First of... i will give everyone who makes a translation (only one per language) SVN Write Access (for more informations about how, see the SVN Thread) to the translation area for that langugae, also you will get listed on the Credits for helping us :O (since we can't speak all languages)

first of you can get the translations from: svn://neic0.de/oc/branches/translations (user: anonsvn pw: anonsvn)


now you will get all the translation folders (and it's files if there is already a translation) and the *_template.txt files which contain everything that is needed to be translated (the rest is in the GCFs etc. so we don't really need it)

for example the mp3player_template.txt looks like:

Code: Select all

"lang"	{
	"Language"		"<template>"
	"Tokens"	{
		"MP3PlayerTitle"			"<translate>"
		"[english]MP3PlayerTitle"	"Valve MP3 Player"
		
		"AddDirectory"				"<translate>"
		"[english]AddDirectory"		"Add Directory..."
		
		"AddGameSongs"				"<translate>"
		"[english]AddGameSongs"		"Add Game Songs"
		
		"RefreshDb"					"<translate>"
		"[english]RefreshDb"		"Refresh directories"
		
		"PlaylistAdd"				"<translate>"
		"[english]PlaylistAdd"		"Add to playlist"
		
		"PlayListRemove"			"<translate>"
		"[english]PlayListRemove"	"Remove from playlist"
		
		"PlayListClear"				"<translate>"
		"[english]PlayListClear"	"Clear playlist"
		
		"PlayListLoad"				"<translate>"
		"[english]PlayListLoad"		"Load playlist..."
		
		"PlayListSave"				"<translate>"
		"[english]PlayListSave"		"Save playlist..."
		
		"MP3Menu"					"<translate>"
		"[english]MP3Menu"			"Options"
		
		"Play"						"<translate>"
		"[english]Play"				"Play"
		
		"Stop"						"<translate>"
		"[english]Stop"				"Stop"
		
		"Next"						"<translate>"
		"[english]Next"				"Next"
		
		"Prev"						"<translate>"
		"[english]Prev"				"Prev"
		
		"Mute"						"<translate>"
		"[english]Mute"				"Mute"
		
		"Shuffle"					"<translate>"
		"[english]Shuffle"			"Shuffle"
		
		"VolumeLabel"				"<translate>"
		"[english]VolumeLabel"		"Volume:"
		
		"NoSong"					"<translate>"
		"[english]NoSong"			"<None>"
		
		"PlayListTab"				"<translate>"
		"[english]PlayListTab"		"Playlist"
		
		"FileListTab"				"<translate>"
		"[english]FileListTab"		"Files"
		
		"PlaySong"					"<translate>"
		"[english]PlaySong"			"Play song"
	}
}
the templates have a specific format...

the filename always need to have this format: mp3player_<language>.txt
(in our example it is mp3player_ but there are many others...)
the <language> and the <template> in the file need to replaced with the language name for example: if you make a german translation those placeholders needs to be replaced with german

this file has a very nice and easy format since there isn't much in there, but it always has the same format, first the translated text, then the orginal (english) one

you need to replace <translate> with the translated text of the english text in the goal language

i would like it that you only change that and leave the rest where it is (makes it easier for me to port it into the mod)

when you are finished Rar or Zip the files together and send them to me via a PM, i will decide then if it's ok and get you then on the rest... (you may get asked for other translations too like the text for the installer from me, i count on you that you will also do those when i ask for it :O)

This should be everything for now... if you have any questions about it, just ask :D
Image
sgae
FUCK ALL
Posts: 457
Joined: Wed Jan 17, 2007 7:15 pm

Post by sgae »

you can upload it in filefront or rapid shit please...

i don't wanna to instal svn tortoise for a freaking .txt files, to translate them and that...
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

Post by Neico »

no freehoster... i hate those

http://neic0.de/obsidian/
Image
sgae
FUCK ALL
Posts: 457
Joined: Wed Jan 17, 2007 7:15 pm

Post by sgae »

Neico wrote:no freehoster... i hate those

http://neic0.de/obsidian/
ty, only 1 more question

gameui_template.txt 12-Aug-2008 14:43 9.1K
mp3player_template.txt 12-Aug-2008 14:43 4.8K
obsidian_template.txt 12-Aug-2008 14:44 17K
valve_template.txt 12-Aug-2008 14:44 7.4K

this files i need right?

thanks you =)
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

Post by Neico »

yup, you will need to get newer ones via svn, since i don't feel like to keep both up2date (there shouldn't be any change for them in the near future anyways)
Image
MaestraFénix
Team Member
Team Member
Posts: 2470
Joined: Mon May 10, 2010 11:50 am
Location: Spain
Contact:

Re: HowTo: Add your language to Obsidian!

Post by MaestraFénix »

The SVN repository is Offline (it says that denegates my pettition). Can fix it?
Click on my photo to add me into your friends in Steam
Image
Steam photos | Steam videos

Image
User avatar
Andrax17
npc_combine_elite
npc_combine_elite
Posts: 451
Joined: Wed May 05, 2010 7:11 pm
Location: Finland
Contact:

Re: HowTo: Add your language to Obsidian!

Post by Andrax17 »

Maestro Fénix wrote:The SVN repository is Offline (it says that denegates my pettition). Can fix it?
This thread is like 3 years old.....
Neic0 said this in one of the translation applications
Neico wrote:problem is that I didn't work on the translation part in ages and is outdated, and with the Steam release will other stuff from Steamworks add to that so it's pretty useless to bother with it right now,
Basically the whole repository is outdated. If you really want to translate or something, go to the resource folder and use the already made translations (and just replace those translations with your own)

The files that you need to translate are "obsidian_english, gameui_english and valve_english"
But when the game goes steamworks, the translations will need some updating or something like that.
MaestraFénix
Team Member
Team Member
Posts: 2470
Joined: Mon May 10, 2010 11:50 am
Location: Spain
Contact:

Re: HowTo: Add your language to Obsidian!

Post by MaestraFénix »

Ok. I´ll see what i can do.
Click on my photo to add me into your friends in Steam
Image
Steam photos | Steam videos

Image
Post Reply