I was wondering if there was some possible way to maybe override the language being loaded in Localization for the modname_%language%.txt so that it loads a custom one. We wanted to add a gimmicky translation of our mod into Pirate and have it activated with a convar that we would query at the start and decide to unload the English file and load in the pirate one in its place, but I don't see where the modname_%language% file is even being loaded. I see ones for mp3player_%language%, chat_%language%, and closecaption_%language%.
I was thinking of trying a ILocalize::RemoveAll() and then manually reading all the needed localization files like valve_xxxx and etc. that would also need to be reloaded but it would be preferable to do it in cleaner way without needing to manually reload all the other localizations that we won't be modifying. (I don't see a Remove() with specific filename to remove the string tokens of unfortunately) Chris _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

