Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-23 Thread jetscope
Something else to add to the confusion :-) In vgui_int.cpp, I commented out the line g_pVGuiLocalize-AddFile( resource/hl2mp_%language%.txt, GAME );, and added one to specifically load my mod's localization file - it still doesn't work. Regards, Radimir

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-23 Thread Yorg Kuijs
Nor do I then in my own mods, the _english.txt works fine for me, isn't gameinfo_path the mod directory? Anyway I've tried to help him on the Steam coding forums already and referred him to try here. Would it be an option to make a new testmod and test out if you can get the file working

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-22 Thread Skillet
Make sure the file is saved as UTF-16 and it's in the scripts\ directory. On Fri, Jan 22, 2010 at 12:10 PM, jetscope jetsc...@gmail.com wrote: I tried to add in some custom strings to my mod, but it doesn't recognize the custom language file. The filename matches the mod's directory name down

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-22 Thread Olly
platform_english.txt already exists as part of the Steam Platform files. Might be conflicting somehow. Try renaming the file and the directory 2010/1/22 jetscope jetsc...@gmail.com I tried to add in some custom strings to my mod, but it doesn't recognize the custom language file. The filename

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-22 Thread Olly
Just for the record, it should be inside the resource folder, not scripts. 2010/1/22 Skillet skillet5...@gmail.com Make sure the file is saved as UTF-16 and it's in the scripts\ directory. On Fri, Jan 22, 2010 at 12:10 PM, jetscope jetsc...@gmail.com wrote: I tried to add in some custom

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-22 Thread Skillet
Right, sorry. On Fri, Jan 22, 2010 at 7:16 PM, Olly oli...@gmail.com wrote: Just for the record, it should be inside the resource folder, not scripts. 2010/1/22 Skillet skillet5...@gmail.com Make sure the file is saved as UTF-16 and it's in the scripts\ directory. On Fri, Jan 22, 2010

Re: [hlcoders] Mod doesn't recognize custom translation file

2010-01-22 Thread jetscope
Okay, I tried saving the file while specifying the encoding this time; I also changed the mod's name to something else. It still doesn't work. I should also note that the mod correctly uses any other custom files in the resource/ folder, such as ClientScheme.res and gameui_english.txt. I also