Re: [hlcoders] Localization File

2006-07-18 Thread Aaron Schiff
--
[ Picked text/plain from multipart/alternative ]
Changing it to unicode fixed it

--
ts2do
--

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



RE: [hlcoders] Localization File

2006-07-18 Thread Yahn Bernier
Yes, it'll add resource/modname_%language%.txt for you

Let me know if you still can't get it to work.

Yahn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Schiff
Sent: Tuesday, July 18, 2006 7:37 PM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Localization File

--
[ Picked text/plain from multipart/alternative ]
I shouldn't have to call it...as far as I can tell, it's added it by
default
before


--
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



Re: [hlcoders] Localization File

2006-07-18 Thread Aaron Schiff
--
[ Picked text/plain from multipart/alternative ]
I shouldn't have to call it...as far as I can tell, it's added it by default
before


--
ts2do
--

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



RE: [hlcoders] Localization File

2006-07-18 Thread Yahn Bernier
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: hlcoders@list.valvesoftware.com
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: hlcoders@list.valvesoftware.com
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



Re: [hlcoders] Localization File

2006-07-18 Thread Jonathan Murphy
--
[ Picked text/plain from multipart/alternative ]
I had this problem and it is likely the same, ensure you are saving the file
in Unicode encoding (in the Save As options under Notepad).

On 7/19/06, Aaron Schiff <[EMAIL PROTECTED]> wrote:
>
> --
> [ 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
>
>


--
Lead Programmer for Resistance and Liberation
www.resistanceandliberation.com
--

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



RE: [hlcoders] Localization File

2006-07-18 Thread Yahn Bernier
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: hlcoders@list.valvesoftware.com
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



[hlcoders] Localization File

2006-07-18 Thread Aaron Schiff
--
[ 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