View Single Post
Author Message
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-13-2015 , 22:40   How to get client's game language ?
Reply With Quote #1

Hey guys,

I'm recently wondering how to get a client's game language.

I'm totally aware of GetClientLanguage and cl_language but they do not return the client's game language, but the client's Steam language. For instance, if I have my Steam in japanese and my game in german; both methods will return japanese.

It may be not available, as it seems that the game language option is only available in CSS/CSGO/TF2 (and probably some others).

Red

EDIT : https://mxr.alliedmods.net/sourcemod...anager.cpp#509 ; doesn't look good; everything seems to be based off cl_language
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 03-13-2015 at 22:49.
RedSword is offline