Game Launcher - Documentation
  • Documentation
  • Changelog
  • 🎛️Features comparison
  • Getting-started
    • ❓How it works
    • 🌀Introduction
    • 👉Installation
      • [TIP] Make your host files visible
  • Game Launcher
    • ☁️Cloud Management
    • ⬜Patch Manager App
      • CLI Commands
    • ✳️Enterprise Edition | Multi-games
      • How it works
      • Adding games
  • 🖼️Launcher Integrations
    • 🌌Flat Window Template
      • Deploy for MacOS
        • Create a self-signed certificate
      • 📽️Set a background video
    • 🙎Login & Register Integration
    • 📩Notifications Integration
    • 👾Crypto & NFT Game Launcher
  • 📃Creating Launcher Version
    • 1️⃣1. Deploy your Launcher
    • 2️⃣2. Move your Launcher
    • 3️⃣3. Create your patch
    • 4️⃣4. Upload your files to your server
    • 🥳Testing and Deploying to your users
  • 📔Creating App Version
    • 1️⃣1 & 2. Build your App
    • 3️⃣3. Create your patch
    • 4️⃣4. Upload your files to your server
  • ❕How to show News and Alerts
    • 📰Show your News or Changelog
    • ⚠️Show an Alert
  • Publishing Essentials
    • Hosting
    • App Signing
  • Utilities
    • Launch Arguments
  • 🎨Customization
    • 🆒Set your own Logo
    • 🖼️Set your own Background color
    • 🪟Change Window Transparency
    • 🔤Change Launcher Executable Name
    • 🌀Set an Application Icon
    • 🅰️Customize News Fonts
    • 🌌Set a Splash Screen
  • ⚒️Extending the Launcher
    • 🇺🇸Adding a new language
    • ↪️Using other UI Template
  • 💵Make money with us
    • Creating your template and selling it
Powered by GitBook
On this page
  1. Extending the Launcher

Adding a new language

You can add a new language to your launcher [PRO version only]

PreviousSet a Splash ScreenNextUsing other UI Template

Last updated 5 months ago

Applications required

  • Game Launcher PRO Edition

  • Visual Studio Community (2022)

Add a new language in the code

  1. In Visual Studio Solution Explorer, open Localization.cs under GameLauncherCore project

You can search for the ISOCode for your new language here:

  1. Duplicate the SetLanguage_EN_US function and change the name to your ISOCode

Example: English (United Kingdom) | en-gb We duplicated the SetLanguageEN_US function and changed the name to SetLanguage_EN_GB

  1. Now translate every string to your new language

  2. In the SetLanguage function, add another else if using your language ISOCode.

  1. In Views folder locate SettingsWindow.xaml.cs search for GetSelectedLanguageIndex and add your language ISOCods

  1. Duplicate the code from SetLanguage_en_US_MouseDown function And place a correct name to the function, and also change the string of the language.

  1. In SettingsWindow.xaml search for comboBoxUILanguage element and search for the items and add a new one for your language. Remember to change the PreviewMouseDown refering to the above function.

That's all!

Now run your Launcher and change the language to the new one!

⚒️
🇺🇸
https://www.andiamo.co.uk/resources/iso-language-codes/
Recently created SetLanguage function in Localization.cs
SetLanguage function in Localization.cs
Placing new correct values