Improved translation

Discussion in 'Ideas and Suggestions' started by fylhtq7779, Jun 27, 2020.

  1. fylhtq7779

    fylhtq7779
    Expand Collapse

    Joined:
    Dec 23, 2015
    Messages:
    182
    Hi dear developers
    Please take this message seriously and read it to the end.
    This is my job for several days.

    I'll start with the fact that I have a mod that translates applications in BeamNG Drive from English into Russian
    And recently I found a way to implement the translation of applications in the game, just as the whole translation works in BeamNG
    When I have English, applications are in English
    When there is Russian, then applications are in Russian
    Etc
    It is very easy to do!
    And this will take the game to a new level.

    Here's how I did it with an example traffic application



    Video example




    First of all, I created a copy of the EN-US.json file and added the following lines to it:


    Then, in the HTML file of the traffic application, I replaced this line:


    To this line:



    Then, in the RU.json file, I added the same lines, but with a translation into Russian:



    And it's all, now the text in the application will change depending on the language in the game

    All you need to do is add the lines to the EN-US.json file and replace these lines in the HTML and JS application files and that's it
    It took me 15 minutes for one application

    This is what the lines in the JS application files look like, for example, the airspeed application:


    This method requires minor changes to the screens and JS files, but the result is worth it.

    Still need to translate the beginning of the game where it is warned about epilepsy:

    Honestly, it’s very stupid to make this warning only in English.
    Imagine : if I didn’t not know English and I had epilepsy, I’d not understand your message
    It took me 5 minutes





    Such a translation has almost no disadvantages and has a huge number of advantages
    Translators from other countries will only need to translate the lines from the EN-US.json file
    The game will become international, people who were afraid to play it due to the lack of the knowledge of a language can easily start playing BeamNG Drive
    I can officially declare that the Russian BeamNG Drive community likes this idea

    I hope our work does not remain ignored
    To make the game better, you need to add only 2 lines to the code
    Thank
     
    • Like Like x 1
  2. EveryGame

    EveryGame
    Expand Collapse

    Joined:
    Jul 31, 2019
    Messages:
    6
    Good Idea!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice