PDA

View Full Version : Help Admim Menu


Chokitu
11-11-2014, 16:33
Where do I translate the stuff inside like Burn to Set fire( I wanna translate to my language)
And where do I change the order?

Bacardi
11-12-2014, 06:15
Where do I translate the stuff inside like Burn to Set fire( I wanna translate to my language)
And where do I change the order?

example SM base plugin "Fun Commands" add burn command in Admin Menu.

This plugin use main translation file (english)
...addons\sourcemod\translations\funcommands. phrases.txt
phrases for other language are located in sub folder named by country code
...addons\sourcemod\translations\fr\funcomman ds.phrases.txt

if you missing those SM base plugins translation folders+files, download released version of SM pack and copy translations files in your server.
And make sure this file have more than one language in list
"Languages"
{
"en" "English"
"l0l" "1337speak" // 1337speak
"ar" "Arabic" // Arabic
"pt" "Brazilian" // Brazilian Portuguese
"bg" "Bulgarian" // Bulgarian
"cze" "Czech" // Czech
"da" "Danish" // Danish
"nl" "Dutch" // Dutch
"fi" "Finnish" // Finnish
"fr" "French" // French
"de" "German" // German
"el" "Greek" // Greek
"he" "Hebrew" // Hebrew
"hu" "Hungarian" // Hungarian
"it" "Italian" // Italian
"jp" "Japanese" // Japanese
"ko" "KoreanA" // Korean
"ko" "Korean" // Korean
"lv" "Latvian" // Latvian
"lt" "Lithuanian" // Lithuanian
"no" "Norwegian" // Norwegian
"pl" "Polish" // Polish
"pt_p" "Portuguese" // Portuguese
"ro" "Romanian" // Romanian
"ru" "Russian" // Russian
"chi" "SChinese" // Chinese (Simplified)
"sk" "Slovak" // Slovak
"es" "Spanish" // Spanish
"sv" "Swedish" // Swedish
"zho" "TChinese" // Chinese (Traditional)
"th" "Thai" // Thai
"tr" "Turkish" // Turkish
}

to see translated phrases for your language, set your own game to that language.
you can also hit in your console
cl_language French
and connect/reconnect to your server

SM translation not work properly in CSGO game, because game itself. player cl_language not work.
You need find and use plugin for this.

------------------------

https://wiki.alliedmods.net/Admin_Menu_Configuration_%28SourceMod%29
to change order, look
...addons\sourcemod\configs\adminmenu_sorting .txt
/**
* The default sorting is designed to look familiar to Mani's admin menu.
* You may re-order items here for your own menu. Any items not explicitly
* sorted will be sorted by their final translated phrases for each given client.
*/

"Menu"
{
"PlayerCommands"
{
"item" "sm_slay"
"item" "sm_slap"
"item" "sm_kick"
"item" "sm_ban"
"item" "sm_gag"
"item" "sm_burn"
"item" "sm_beacon"
"item" "sm_freeze"
"item" "sm_timebomb"
"item" "sm_firebomb"
"item" "sm_freezebomb"
}

"ServerCommands"
{
"item" "sm_map"
"item" "sm_execcfg"
"item" "sm_reloadadmins"
}

"VotingCommands"
{
"item" "sm_cancelvote"
"item" "sm_votemap"
"item" "sm_votekick"
"item" "sm_voteban"
}
}
and move that line in different place, but it need to stay inside "PlayerCommands" {} tags

Powerlord
11-12-2014, 17:11
SM translation not work properly in CSGO game, because game itself. player cl_language not work.
You need find and use plugin for this.

I thought the SM devs fixed that.

Bacardi
11-12-2014, 17:18
I thought the SM devs fixed that.
I live in the past, SM 1.6.1
I stopped updating my games and test server with my 3G mobile connection, haven't played games in long time.

maybe devs have fixed

Mathias.
11-12-2014, 18:28
it dosnt change the fact that I am not able to change my game language in cs:go, it just dosnt do anything, nothing to do with SM though. just steam download few files and than when I join the game it still in english.

Bacardi
11-13-2014, 04:28
https://github.com/alliedmodders/sourcemod/pull/124

Chokitu
11-16-2014, 08:54
It didn't work
cl_language Portuguese
Right?

Bacardi
11-16-2014, 10:17
It didn't work
cl_language Portuguese
Right?
Well what I looked, there is no "Portuguese" translation included in SM pack (anymore)
Someone need to create those. :|

Finnish language also.

Portuguese(Brazil) works however.
https://forums.alliedmods.net/attachment.php?attachmentid=139900&stc=1&d=1416150853

Chokitu
11-16-2014, 11:27
So I use
cl_language Portuguese(Brazil)

Chokitu
11-16-2014, 11:28
Btw add me in skype chokitu3 I liked u Hahah