Results 1 to 4 of 4

Thread: [CoD2]Language Information

  1. #1
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts

    [CoD2]Language Information

    I'm having trouble finding any information about cod2 languages so i'm hoping someone can help fill the blanks.

    My analysis;

    You can use the cvar/dvar "loc_language" to detect which language the client is using.

    However this it is stored in an integer, with no way to know the actual language.

    There are fifteen languages (0-14).

    0 = English
    1 = Chinese?
    2 = Unknown
    3 = Unknown
    4 = Spanish
    5 = Unknown
    6 = Russian
    7 = Polish?
    8 = Unknown
    9 = Unknown
    10 = Unknown
    11 = Unknown
    12 = Unknown
    13 = Unknown
    14 = Czech?

    Digging through the .exe with a hex editor I managed to find these fifteen possible languages;
    English
    Czech (Added in 1.2 patch)
    Leet (Probably 1337 speak)
    Thai
    Chinese
    Japanese
    Taiwanese
    Korean
    Polish
    Russian
    British
    Spanish
    Italian
    German
    French

    So can anyone fill the unknowns?
    Last edited by filthy_freak_; 9th May 2015 at 17:13.

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Should be the same order as it is in the binary, the table lookup is just an index of it. Also fits with my CoD version, loc_language = 2, which fits with binary order.

    PHP Code:
        lang = [];
        
    lang[lang.size] = "english";
        
    lang[lang.size] = "french";
        
    lang[lang.size] = "german";
        
    lang[lang.size] = "italian";
        
    lang[lang.size] = "spanish";
        
    lang[lang.size] = "british";
        
    lang[lang.size] = "russian";
        
    lang[lang.size] = "polish";
        
    lang[lang.size] = "korean";
        
    lang[lang.size] = "taiwanese";
        
    lang[lang.size] = "japanese";
        
    lang[lang.size] = "chinese";
        
    lang[lang.size] = "thai";
        
    lang[lang.size] = "leet";
        
    lang[lang.size] = "czech"
    timescale 0.01

  3. The Following 2 Users Say Thank You to kung foo man For This Useful Post:

    filthy_freak_ (10th May 2015),Ni3ls (9th May 2015)

  4. #3
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Exactly what I needed, thanks!

  5. #4
    Private Paho's Avatar
    Join Date
    Feb 2014
    Location
    Russia
    Posts
    101
    Thanks
    43
    Thanked 48 Times in 37 Posts
    localizedstrings(69files):
    localized_*_iw00.iwd(15files)
    localized_*_iw09.iwd(48files)
    localized_*_iw10.iwd(italian,spanish)
    localized_*_iw11/12.iwd(russian & steam)
    English:
    localizedstrings_en.7z
    French:
    localizedstrings_fr.7z
    German:
    localizedstrings_ge.7z
    Italian:
    localizedstrings_it.7z
    Poland:
    localizedstrings_pl.7z
    Russian:
    localizedstrings_ru.7z
    Spanish:
    Attached Files Attached Files

  6. The Following 4 Users Say Thank You to Paho For This Useful Post:

    kubislav23 (17th July 2016),kung foo man (16th July 2016),maxdamage99 (23rd July 2016),raphael (26th May 2023)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •