Insurgency

Insurgency

Advanced options, loadout/preset
 This topic has been pinned, so it's probably important
Linothorax  [developer] 21 Jan, 2018 @ 9:23am
[MOD] Translation
All buttons should have a key assigned to them so you can create translations for the them.

Following new keys got added, inside gameui_english.txt :
// GLOBAL "GLOBAL_BTN_NEWPLAYER" "New player help" "GLOBAL_BTN_NEWPLAYER_TIP" "Hints for people who didn't have time to play the tutorial ..." // INVENTORY "INVENTORY_BTN_SORT" "Sort" "INVENTORY_BTN_SORT_TIP" "Sort alphabetical, cost ascending and cost descending" "INVENTORY_BTN_SWITCH_TEAM" "Switch Team" "INVENTORY_BTN_SWITCH_TEAM_TIP" "Switch Team" "INVENTORY_BTN_RIFLEMAN" "Rilfeman/Fighter" "INVENTORY_BTN_RIFLEMAN_TIP" "Rilfeman/Fighter" "INVENTORY_BTN_SUPPORT" "Support/Gunner" "INVENTORY_BTN_SUPPORT_TIP" "Support/Gunner" "INVENTORY_BTN_RECON" "Recon/Striker" "INVENTORY_BTN_RECON_TIP" "Recon/Striker" "INVENTORY_BTN_BREACHER" "Breacher/Bomber" "INVENTORY_BTN_BREACHER_TIP" "Breacher/Bomber" "INVENTORY_BTN_MARKSMAN" "Marksman/Scout" "INVENTORY_BTN_MARKSMAN_TIP" "Marksman/Scout" "INVENTORY_BTN_SNIPER" "Sniper" "INVENTORY_BTN_SNIPER_TIP" "Sniper" "INVENTORY_BTN_SPECIALIST" "Specialist" "INVENTORY_BTN_SPECIALIST_TIP" "Specialist" "INVENTORY_BTN_INIT" "Init Loadout" "INVENTORY_BTN_INIT_TIP" "Load CFG if you don't know how to create a autoexec" // SQUAD "SQUAD_BTN_TRACKS" "Toggle Tracks" "SQUAD_BTN_TRACKS_TIP" "Toggle the player tracks" "SQUAD_BTN_LOCK" "Toggle View" "SQUAD_BTN_LOCK_TIP" "Toggle overview lock, change only visible on tacticalmap" "SQUAD_BTN_AREA" "Toggle Area" "SQUAD_BTN_AREA_TIP" "Toggles visiblility of enemy/friend area." "SQUAD_BTN_FOCUS" "Toggle Focus Box" "SQUAD_BTN_FOCUS_TIP" "Toggle alpha of focus box 0, 50, 150 and 240" "SQUAD_BTN_MAP" "Map Alpha" "SQUAD_BTN_MAP_TIP" "Increment alpha of map from 0.0 to 1.0 step 0.1" "SQUAD_BTN_GRID" "Toggle Grid" "SQUAD_BTN_GRID_TIP" "Show or hide grid overlay" "SQUAD_BTN_ZOOM" "Zoom Map" "SQUAD_BTN_ZOOM_TIP" "Increment zoom from 1 to 3.5 step 0.5" // SCOREBOARD "SCORE_LBL_MENU" "Quickmenu" "SCORE_LBL_MISC" "Misc." "SCORE_LBL_CHAT" "Chat-Shortcuts" // SCORE MENU "SCORE_MENU_BTN_RESUPPLY" "Resupply" "SCORE_MENU_BTN_RESUPPLY_TIP" "Resupply" "SCORE_MENU_BTN_STATUS" "Status" "SCORE_MENU_BTN_STATUS_TIP" "Status" // SCORE MISC "SCORE_MISC_BTN_NOCLIP" "Toggle Noclip" "SCORE_MISC_BTN_NOCLIP_TIP" "Toggle Noclip" "SCORE_MISC_BTN_AMMO" "Give ammo 50" "SCORE_MISC_BTN_AMMO_TIP" "Give ammo 50" // SCORE CHAT "SCORE_CHAT_BTN_THANKS" "Thanks!" "SCORE_CHAT_BTN_THANKS_TIP" "Thanks!" "SCORE_CHAT_BTN_MEDIC" "Medic!" "SCORE_CHAT_BTN_MEDIC_TIP" "Medic!" "SCORE_CHAT_BTN_SORRY" "Sorry!" "SCORE_CHAT_BTN_SORRY_TIP" "Sorry!" "SCORE_CHAT_BTN_COVER" "Cover!" "SCORE_CHAT_BTN_COVER_TIP" "Cover!" "SCORE_CHAT_BTN_MEDIC_OWN" "I need Medic!" "SCORE_CHAT_BTN_MEDIC_OWN_TIP" "You need Medic!" "SCORE_CHAT_BTN_BACK" "Enemy behind!" "SCORE_CHAT_BTN_BACK_TIP" "Enemy behind!" // Mainmenu "MENU_LBL_PLAYER" "Player Options" "MENU_LBL_SERVER" "Server-Host Options" "MENU_LBL_MODDING" "Modding Options" "MENU_PLAYER_BTN_FOV" "FOV" "MENU_PLAYER_BTN_FOV_TIP" "Increments fov from 75.0 to 110.0 step 5.0" "MENU_PLAYER_BTN_FPS" "FPS ON/OFF" "MENU_PLAYER_BTN_FPS_TIP" "FPS ON/OFF" "MENU_PLAYER_BTN_ADSWFOV" "ADS Weapon FOV" "MENU_PLAYER_BTN_ADSWFOV_TIP" "Increment ADS Weapon FOV from 0.7 to 1.3 step 0.1" "MENU_PLAYER_BTN_CONSOLE" "Open Console" "MENU_PLAYER_BTN_CONSOLE_TIP" "Open Console" "MENU_PLAYER_BTN_COMPASS" "Compass ON/OFF" "MENU_PLAYER_BTN_COMPASS_TIP" "Toggle compass to show always" "MENU_PLAYER_BTN_ADSFOV" "ADS FOV ON/OFF" "MENU_PLAYER_BTN_ADSFOV_TIP" "Toggle aim down sights scale" "MENU_PLAYER_BTN_FIREMODE" "Firemode ON/OFF" "MENU_PLAYER_BTN_FIREMODE_TIP" "Toggle firemode to show always" "MENU_PLAYER_BTN_SAVE" "Save CFG" "MENU_PLAYER_BTN_SAVE_TIP" "Writes all changes to disk - set inside cfgFromUI.cfg" "MENU_PLAYER_BTN_STARTDEMO" "Start demo" "MENU_PLAYER_BTN_STARTDEMO_TIP" "Start demo" "MENU_PLAYER_BTN_STOPDEMO" "Stop demo" "MENU_PLAYER_BTN_STOPDEMO_TIP" "Stops current running recording" "MENU_PLAYER_BTN_PLAYDEMO" "Play demo" "MENU_PLAYER_BTN_PLAYDEMO_TIP" "Replays recorded demofile" "MENU_PLAYER_BTN_CHATLIMIT" "Chat limit" "MENU_PLAYER_BTN_CHATLIMIT_TIP" "Changes time needed to clear chat window 0.0s 5.0s 12.0" "MENU_PLAYER_BTN_SCREENMODE" "Screenshotmode" "MENU_PLAYER_BTN_SCREENMODE_TIP" "Clears screen so you can do nice screenshots" "MENU_PLAYER_BTN_LOG" "Start log" "MENU_PLAYER_BTN_LOG_TIP" "Starts to log console output to file cUI_LogReport.txt" "MENU_SERVER_BTN_SCRAMBLE" "Scramble teams" "MENU_SERVER_BTN_SCRAMBLE_TIP" "Scramble teams, will restart round" "MENU_SERVER_BTN_SWITCH" "Switch Teams" "MENU_SERVER_BTN_SWITCH_TIP" "Switch teams, will restart round" "MENU_SERVER_BTN_RGAME" "Restart game 5s" "MENU_SERVER_BTN_RGAME_TIP" "Restart game after 5 seconds" "MENU_SERVER_BTN_RRound" "Restart round 5s" "MENU_SERVER_BTN_RRound_TIP" "Restart round after 5 seconds" "MENU_SERVER_BTN_RTIME" "Roundtime inc 120s" "MENU_SERVER_BTN_RTIME_TIP" "Increment roundtime from 0.0s to 3600.0s step 120.0s" "MENU_SERVER_BTN_RLIMIT" "Round limit" "MENU_SERVER_BTN_RLIMIT_TIP" "Increment max rounds from 2.0 to 20.0 step 2.0" "MENU_SERVER_BTN_GLIMIT" "Game limit" "MENU_SERVER_BTN_GLIMIT_TIP" "Increment max games from 1.0 to 5.0 step 1.0" "MENU_SERVER_BTN_BOTS" "Toggle Bots" "MENU_SERVER_BTN_BOTS_TIP" "Set quota to 0 or 8 and does restart round itself" "MENU_SERVER_BTN_HELP" "Show help" "MENU_SERVER_BTN_HELP_TIP" "Show mod help" "MENU_SERVER_BTN_VERSION" "Check Version" "MENU_SERVER_BTN_VERSION_TIP" "Check if there is a update for the workshop item available" "MENU_MODDING_BTN_SND" "Restart SND" "MENU_MODDING_BTN_SND_TIP" "Restart sound-system" "MENU_MODDING_BTN_HUD" "Reload HUD" "MENU_MODDING_BTN_HUD_TIP" "Reload hud schemes" "MENU_MODDING_BTN_SOUNDHUD" "Refresh VIDEO/AUDIO" "MENU_MODDING_BTN_SOUNDHUD_TIP" "Reload hud, restart audio and reinit video settings - helpful if changed screenres" "MENU_MODDING_BTN_CFG" "Custom CFG" "MENU_MODDING_BTN_CFG_TIP" "Tries to execute custom CFG" "MENU_MODDING_BTN_CHEATS" "Toggle Cheats" "MENU_MODDING_BTN_CHEATS_TIP" "Toggle Cheats" "MENU_MODDING_BTN_THIRD" "Thirdperson" "MENU_MODDING_BTN_THIRD_TIP" "Change to thirdperson" "MENU_MODDING_BTN_FIRST" "Firstperson" "MENU_MODDING_BTN_FIRST_TIP" "Change to firstperson" "MENU_MODDING_BTN_NOCLIP" "Toggle Noclip" "MENU_MODDING_BTN_NOCLIP_TIP" "Toggle Noclip" "MENU_MODDING_BTN_AMMO" "Give Ammo 50" "MENU_MODDING_BTN_AMMO_TIP" "Gives ammo of equipped item" "MENU_MODDING_BTN_PHYSTIME" "Phys Timescale" "MENU_MODDING_BTN_PHYSTIME_TIP" "Increment Phys Timescale from 0.001 to 1.5 step 0.010" "MENU_MODDING_BTN_PARTTIME" "Particle Timescale" "MENU_MODDING_BTN_PARTTIME_TIP" "Increments particle timescale from 0.001 to 1.000 step 0.010" "MENU_MODDING_BTN_HOSTTIME" "Host Timescale" "MENU_MODDING_BTN_HOSTTIME_TIP" "Increments host timescale from 0.5 to 5.00 step 1.00" "MENU_MODDING_BTN_RESETTIME" "Reset Timescales" "MENU_MODDING_BTN_RESETTIME_TIP" "Resets all timescales to 1.0" "MENU_MODDING_BTN_POS" "Show position" "MENU_MODDING_BTN_POS_TIP" "Show current position in the top left." "MENU_MODDING_BTN_WHMODEL" "View objects" "MENU_MODDING_BTN_WHMODEL_TIP" "Shows objects through wall" "MENU_MODDING_BTN_TEXRELOAD" "Reload Texture" "MENU_MODDING_BTN_TEXRELOAD_TIP" "Reloads all textures" "MENU_MODDING_BTN_MATRELOAD" "Reload Materials" "MENU_MODDING_BTN_MATRELOAD_TIP" "Reloads all materials"

Now edit file for your language i.e. gameui_french.txt and add the values above at the bottom inside the token area:
example below
"Tokens" { [...] // GLOBAL "GLOBAL_BTN_NEWPLAYER" "New player help" [...] "MENU_MODDING_BTN_MATRELOAD_TIP" "Reloads all materials" }
Once you have done that edit the values for the keys i.e.:
"GLOBAL_BTN_NEWPLAYER" "Nouveau joueur aide"


Same concept for subtitles, subtitles_english.txt, key values are:
// INVENTORY "#INVENTORY.SORT1" "<clr:255,0,0>Sort alphabetical" "#INVENTORY.SORT2" "<clr:255,0,0>Sort cost ascending" "#INVENTORY.SORT3" "<clr:255,0,0>Sort cost descending" "#INVENTORY.TEAMSEC" "<clr:255,0,0>Team set to security" "#INVENTORY.TEAMINS" "<clr:255,0,0>Team set to insurgent" "#INVENTORY.INIT" "<clr:255,0,0>Initialization completed" "#INVENTORY.RILFEMAN1" "<clr:255,0,0>-=Rifleman 1 loaded=-" "#INVENTORY.RILFEMAN2" "<clr:255,0,0>-=Rifleman 2 loaded=-" "#INVENTORY.RILFEMAN3" "<clr:255,0,0>-=Rifleman 3 loaded=-" "#INVENTORY.FIGHTER1" "<clr:255,0,0>-=Fighter 1 loaded=-" "#INVENTORY.FIGHTER2" "<clr:255,0,0>-=Fighter 2 loaded=-" "#INVENTORY.FIGHTER3" "<clr:255,0,0>-=Fighter 3 loaded=-" "#INVENTORY.RECON1" "<clr:255,0,0>-=Recon 1 loaded=-" "#INVENTORY.RECON2" "<clr:255,0,0>-=Recon 2 loaded=-" "#INVENTORY.RECON3" "<clr:255,0,0>-=Recon 3 loaded=-" "#INVENTORY.STRIKER1" "<clr:255,0,0>-=Striker 1 loaded=-" "#INVENTORY.STRIKER2" "<clr:255,0,0>-=Striker 2 loaded=-" "#INVENTORY.STRIKER3" "<clr:255,0,0>-=Striker 3 loaded=-" "#INVENTORY.MARKSMAN1" "<clr:255,0,0>-=Marksman 1 loaded=-" "#INVENTORY.MARKSMAN2" "<clr:255,0,0>-=Marksman 2 loaded=-" "#INVENTORY.MARKSMAN3" "<clr:255,0,0>-=Marksman 3 loaded=-" "#INVENTORY.SCOUT1" "<clr:255,0,0>-=Scout 1 loaded=-" "#INVENTORY.SCOUT2" "<clr:255,0,0>-=Scout 2 loaded=-" "#INVENTORY.SCOUT3" "<clr:255,0,0>-=Scout 3 loaded=-" "#INVENTORY.SSPECIALIST1" "<clr:255,0,0>-=Specialist 1 loaded=-" "#INVENTORY.SSPECIALIST2" "<clr:255,0,0>-=Specialist 2 loaded=-" "#INVENTORY.SSPECIALIST3" "<clr:255,0,0>-=Specialist 3 loaded=-" "#INVENTORY.ISPECIALIST1" "<clr:255,0,0>-=Specialist 1 loaded=-" "#INVENTORY.ISPECIALIST2" "<clr:255,0,0>-=Specialist 2 loaded=-" "#INVENTORY.ISPECIALIST3" "<clr:255,0,0>-=Specialist 3 loaded=-" "#INVENTORY.SSNIPER1" "<clr:255,0,0>-=Sniper 1 loaded=-" "#INVENTORY.SSNIPER2" "<clr:255,0,0>-=Sniper 2 loaded=-" "#INVENTORY.SSNIPER3" "<clr:255,0,0>-=Sniper 3 loaded=-" "#INVENTORY.ISNIPER1" "<clr:255,0,0>-=Sniper 1 loaded=-" "#INVENTORY.ISNIPER2" "<clr:255,0,0>-=Sniper 2 loaded=-" "#INVENTORY.ISNIPER3" "<clr:255,0,0>-=Sniper 3 loaded=-" "#INVENTORY.BREACHER1" "<clr:255,0,0>-=Breacher 1 loaded=-" "#INVENTORY.BREACHER2" "<clr:255,0,0>-=Breacher 2 loaded=-" "#INVENTORY.BREACHER3" "<clr:255,0,0>-=Breacher 3 loaded=-" "#INVENTORY.BOMBER1" "<clr:255,0,0>-=Bomber 1 loaded=-" "#INVENTORY.BOMBER2" "<clr:255,0,0>-=Bomber 2 loaded=-" "#INVENTORY.BOMBER3" "<clr:255,0,0>-=Bomber 3 loaded=-" "#INVENTORY.SUPPORT1" "<clr:255,0,0>-=Support 1 loaded=-" "#INVENTORY.SUPPORT2" "<clr:255,0,0>-=Support 2 loaded=-" "#INVENTORY.SUPPORT3" "<clr:255,0,0>-=Support 3 loaded=-" "#INVENTORY.GUNNER1" "<clr:255,0,0>-=Gunner 1 loaded=-" "#INVENTORY.GUNNER2" "<clr:255,0,0>-=Gunner 2 loaded=-" "#INVENTORY.GUNNER3" "<clr:255,0,0>-=Gunner 3 loaded=-" // SQUAD "#SQUAD.TRACKS.ON" "<clr:255,0,0>Tracks turned on" "#SQUAD.TRACKS.OFF" "<clr:255,0,0>Tracks turned off" "#SQUAD.LOCKED.ON" "<clr:255,0,0>Mapview locked" "#SQUAD.LOCKED.OFF" "<clr:255,0,0>Mapview unlocked" "#SQUAD.AREA.ON" "<clr:255,0,0>Area visible" "#SQUAD.AREA.OFF" "<clr:255,0,0>Area not visible" "#SQUAD.GRID.ON" "<clr:255,0,0>Grid visible" "#SQUAD.GRID.OFF" "<clr:255,0,0>Grid not visible" // SCOREBOARD "#SCOREBOARD.RESUPPLY" "<clr:255,0,0>Resupply" "#SCOREBOARD.NOCLIP.ON" "<clr:255,0,0>Noclip turned on" "#SCOREBOARD.NOCLIP.OFF" "<clr:255,0,0>Noclip turned off" "#SCOREBOARD.AMMO" "<clr:255,0,0>You got some free ammo, woah!"

Open the file for your language and add it to it, as reference open the file from the workshopitem.
Once you have the translation for the subtitles done you need to compile them, how?
Download the source sdk 2013 multiplayer (Library -> Tools -> Source SDK BASE 2013 Multiplayer), done? Open the bin folder from the sdk where you installed it i.e. \steamapps\common\Source SDK Base 2013 Multiplayer\bin\
Now you just drag and drop the subtitles_yourlang.txt onto the captioncompiler.exe this will compile the file and create it inside the source folder.

The help text might be a bit harder to do, for me the console just didn't want to show 'special' characters only question marks.
Help files can be found here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1240978893
Download them look into them change the text pretty easy.

Once you are done with your translation pack all the translation files and upload it to the workshop, now bind this workshop item to yours, this way I can change thing on the 'core' item but the translation are still taken from your item.

Once you have done a translation make sure to write it down here, so I can add it to a list with 'trusted' Items for others to see.
CFG files can do some annoying things...
Last edited by Linothorax; 21 Jan, 2018 @ 9:38am
< >
Showing 1-2 of 2 comments
OOCH 21 Jan, 2018 @ 4:54pm 
okay , i have already done some of them.
help text is hard to display on console. just leave them in english.
maybe i will post them on our own community
Last edited by OOCH; 21 Jan, 2018 @ 5:01pm
OOCH 22 Jan, 2018 @ 3:52am 
Originally posted by Lino:
Once you have the translation for the subtitles done you need to compile them, how?
Download the source sdk 2013 multiplayer (Library -> Tools -> Source SDK BASE 2013 Multiplayer), done? Open the bin folder from the sdk where you installed it i.e. \steamapps\common\Source SDK Base 2013 Multiplayer\bin\
Now you just drag and drop the subtitles_yourlang.txt onto the captioncompiler.exe this will compile the file and create it inside the source folder.

ummmm. maybe you forget something. before "drag and drop the subtitles_yourlang.txt onto the captioncompiler.exe", we should move the subtitles_yourlang.txt to "insurgency2\insurgency\resource" first, then we drag it onto the 'captioncompiler.exe', so we should keep 2 folders windows at same time in order to drag.
Last edited by OOCH; 22 Jan, 2018 @ 4:24am
< >
Showing 1-2 of 2 comments
Per page: 1530 50