Specifically, the file must be UNICODE 16 (Notepad.exe can save to this
format) and the line would actually be:

vgui::ilocalize()->AddFile( "resource/blackoutMOD_%language%.txt" );

The engine will substitute "english" in place of the %language%
substring.

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yahn Bernier
Sent: Tuesday, July 18, 2006 6:11 PM
To: [email protected]
Subject: RE: [hlcoders] Localization File

Do you call vgui::ilocalize()->AddFile( "blackoutMOD_%language%" );
anywhere in the client .dll?

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Schiff
Sent: Tuesday, July 18, 2006 5:59 PM
To: [email protected]
Subject: [hlcoders] Localization File

--
[ Picked text/plain from multipart/alternative ]
The mod's folder is called blackoutMOD and I have
resource/blackoutMOD_english.txt but when I use an entry from it on a
label,
it shows up the string name (i.e. #...)

--
ts2do
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to