[Tutorial] Changing the Game's Language

Discussion in 'Support' started by RHY3756547, Feb 25, 2016.

  1. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    FreeSO is now at the point where it is possible to have support for multiple languages for both the User Interface (through UIText) and the objects (through .str.piff). Though this featureset is rather early in development, it's functional to an extent where you will definitely find the program more comfortable to use if English is not your first language.

    Unfortunately these changes have to be applied separately and are not yet distributed with the client. In future, this process will be much easier, and maybe even automated!

    UI Strings
    upload_2016-2-25_2-29-47.png
    Right now it is rather difficult to change the UI strings used ingame, but these are the best supported translations right now. There are two ways to do this:

    1. Replace the English text directory with the language of your choice. You can find this at "The Sims Online/TSOClient/gamedata/uitext/english.dir".
    2. Change your active UI language name in your configuration. This is much more difficult. After running the game once, place your translation of choice in "The Sims Online/TSOClient/gamedata/uitext/", (eg. french.dir) then browse to "%AppData%/../Local/FSO/". Search for files of type *.config, sort by modified date, and choose the one modified most recently. Open in notepad and add a setting like this for the language you added:
    HTML:
                <setting name="CurrentLang" serializeAs="String">
                    <value>English</value>
                </setting>

    Official translations are available here: (of course, we encourage any further contributions!)
    https://github.com/ZackCasey/FSOTranslations

    Some UI strings are currently hardcoded - especially FreeSO specific ones. These will be phased out one by one or dealt with when a localization system is implemented for FreeSO itself.

    Object Strings
    upload_2016-2-25_2-28-21.png

    So long as you have a set of patches to provide translated strings, you can change the language of FreeSO's Objects by running it with the parameter:
    Code:
    -lang1
    ...where 1 can be replaced with any "Language Code" of your choosing. This code will be remembered on future runs, until it is changed using this method.

    No translations are currently available, though a forum section will be opened for them (and a thread detailing the process of creation) shortly. They can generally be installed by adding them to your "FreeSO/Content/Patch/" folder, though it is not yet possible to combine multiple translations for the time being.

    Here are all of the currently supported Language Codes:
    Code:
    Default = 0, 
    EnglishUS = 1, 
    EnglishUK = 2, 
    French = 3, 
    German = 4, 
    Italian = 5, 
    Spanish = 6, 
    Dutch = 7,
    Danish = 8, 
    Swedish = 9, 
    Norwegian = 10, 
    Finish = 11, 
    Hebrew = 12, 
    Russian = 13, 
    Portuguese = 14, 
    Japanese = 15, 
    Polish = 16, 
    SimplifiedChinese = 17, 
    TraditionalChinese = 18, 
    Thai = 19, 
    Korean = 20
    WicCaesar, Hayran and PedrinhuBrr like this.
  2. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Why do we have UK and US English?
  3. Marvin732

    Marvin732 Active Member

    Different words
  4. Simhrique0990

    Simhrique0990 Active Member

    Okay, as I send the translation "Portuguese" ? in github(FSO Translations)
  5. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    In TS1 it changed Color to Colour, and Neighbourhood etc.

    There's not a reasonable place for object translations yet. You should make a thread on the Translations section in the Volcanic category for those.
    JWofles likes this.
  6. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Alright then
  7. -BloodFighter-

    -BloodFighter- Active Member

    Added a new folder in the directory uitext, containing different files for a different language. Also added the current lang setting in the most recent modified config file and changed the English to German, but the game is STILL in english. The name of the folder is the exact same as in the config file. Any idea what I could have possibly done wrong?
  8. zc456

    zc456 Well-Known Member

    I prefer UK English. Sounds more natural.
    LetsRaceBwoi likes this.
  9. Animation

    Animation New Member

    hello, I want to support this project with me.
    I can help Turkish version :)
  10. SimtrioGames

    SimtrioGames New Member

    I can help Polish version ;)
  11. Driesje44

    Driesje44 Active Member

    I restarted with the Dutch translation ;) But could someone explain this:
    [​IMG]
    SimEstates what? :')
  12. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    transl - short for translate?
  13. Rhys, The Sims had never used Indonesian before. So can I add a Indonesian translation language to FreeSO?
    WicCaesar likes this.
  14. Maritzestar

    Maritzestar New Member

    I'm having the same issue.

Share This Page