Jump to content

Please unbind cockpit hint from cockpit language


Recommended Posts

Posted (edited)

Currently, mig-21bis's cockpit hint is controlled by avionics language in DCS -> Options.

Therefore, non-Russian players who choose 'native' for avionics language and just want Russian symbols for Russian HUD have to read Russian hint for MiG-21bis.

 

There are many temp ways to *solve* this RU hint issue by modifying lua files which consequently break IC.

 

So here, I suggest LNS to unbind the cockpit hint from cockpit language (avionics language), but bind it to DCS locale (lang.cfg):

 

1. move line 1-2 of clickabledata.lua to Hint_localizer.lua, since '_()' is not used in clickabledata.lua

local gettext = require("i_18n")
_ = gettext.translate

 

2. replace below:

country = "EN"
if  LockOn_Options.cockpit_language == "russian" then
   country = "RU"
end

 

by

 

lclang, country = gettext.get_locale()
** if RU in lang.cfg, then it will return ru, RU

 

Then, if a player is running DCS in RU, he will have RU hint, otherwise all EN hint

 

:):)

Edited by uboats

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Posted

Thank you for proposing a permanent solution. I've been kicked off of servers for changing the hint.lua manually. My ability to read Cyrillic letters (and therefore phonetically understanding some words) does not carry over enough to the more detailed tooltips. Having an English cockpit does not look right to me, therefore I live with trying to remember which switch does what.

[sIGPIC][/sIGPIC]

CPU - Intel 8088 @ 4.77 MHz; Memory - 128KB; 360KB double-sided

5 1/4" full-height floppy disk drive; 10MB Seagate ST-412 hard drive

JG-1 MiG-21bis Checklist

Posted

I share your pain. The tooltips should match the game language settings, not the cockpit settings. They are a help line after all... Flying a MiG with an English cockpit just ruins the sense of immersion to me, so every time there is an update I have to edit this bit of the Hit_Localizer file by hand:

 

country = "EN"

if LockOn_Options.cockpit_language == "russian" then

country = "EN"

end

 

A permanent fix would be great!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...