lfnetwork.com mark read register faq members calendar

Thread: how to create a new language
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 08-20-2006, 10:41 AM   #1
skywalker12
Lurker
 
Join Date: Aug 2006
Posts: 2
how to create a new language

How can i create a new language.
I have created a new folder in strings, and put all files in my language. But i cant select it ingame.
skywalker12 is offline   you may: quote & reply,
Old 08-20-2006, 11:49 AM   #2
Griswald
 
Join Date: Aug 2002
Location: ent->ps.get_loc();
Posts: 25
The reason it dosen't appear selectable is simply because the game dosen't have it in the UI selection list. If you open up assest1.pk3, look in /ui/setup.menu and /ui/jamp/setup.menu.

In /ui/jamp/setup.menu, you'll see:

Code:
			cvarStrList		
			{ 
				English   english
				@MENUS_LANG_FRENCH  francais
				Deutsch   deutsch
				"Espaņol"   espanol
			}
I'm not sure if you need to modify the game source for it though, as I personally don't really need to add any languages :X

--edit--
Looking back, thats for voice. The cvar in question for language though, is
"se_language", atleast, according to the UI files.


-- Griswald, RKR Project Co-Leader
Griswald is offline   you may: quote & reply,
Old 08-20-2006, 03:06 PM   #3
Slider744
Junior Member
 
Slider744's Avatar
 
Join Date: Dec 2003
Location: France
Posts: 260
it looks like the SDK of raven do not contain any function handling the different file configuration containning all the language variable used in the displayed text...

SO if the game.exe do not read dynamically the different folder containning the languages definition, your new language won't be read and loaded...

but you can overload a defined language

for exemple you take deutsch in all variable and modify the text with a text in your language...

then you select deutsch in the interface after having create a new pk3 containg the modified language file definition


******************************
Slider
JA+ MOD Author for Jedi Academy
the lastest version on

http://www.japlus.net/


******************************
Slider744 is offline   you may: quote & reply,
Old 08-20-2006, 04:14 PM   #4
skywalker12
Lurker
 
Join Date: Aug 2006
Posts: 2
yea thats a good idea, thanks to both of you. ill mod espanol
skywalker12 is offline   you may: quote & reply,
Old 08-20-2006, 04:40 PM   #5
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
also note, in order for the language changes to work, you need to always have your mod started like this:

jamp +set fs_game "yourmodfolder"

using the mods menu is just very bad. or even loading fs_game from the server without calling +set fs_game from the startup like above.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 08-20-2006, 04:55 PM   #6
Griswald
 
Join Date: Aug 2002
Location: ent->ps.get_loc();
Posts: 25
I strongly feel that the languages are dynamic, and changing the variable "se_language" to the directory name of your language (no special characters allowed), it should essentially work. Perhaps include in your autoexec.cfg file a "set se_language yourlanguagehere", or even in the shortcut? You shouldn't necessarily need to overwrite an existing Language.


-- Griswald, RKR Project Co-Leader
Griswald is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > how to create a new language

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:52 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.