Skip to content

Localization

Alongside Built-in Languages, Steam Inventory Scanner supports custom user-made Localization.
Localization files are stored in the Languages Folder, within the main Directory.

Creating a new Localization file

In order to localize the application, you should first generate a sample Localization file from within the Application.
This is an English localization file in XML format. Simply Edit the strings within the File to match the Desired Language.

Generating and Editing the Sample Localization File

  • Within the Main Window, Click Options -> Language -> Generate Language Sample
  • A new File is created within the Languages Directory of the Application
  • Open "sample.xml" in any Text-Editor
  • Modify the contents by translating from English to the desired Language
  • Save File the File
  • Restart the Application

Your Localization should now appear as a sub-item within the Language menu.

Modifying the file

Most entries in the Localization file are well described using the format : location_type_name.
For example:

  <frmMain_chk_TradingCards>Trading Cards</frmMain_chk_TradingCards>

From that line we can conclude that the item named TradingCards is located on Main Window and is of type Checkbox.
This can help you while Localizing the Application as you can look at the program and realize what the line is referring to.
Make sure that you only modify the Inner text. In the case of the above sample "Trading Cards", both prefix and suffix must remain the way they are!
Here are some clarifications of descriptions and types :

  • verID - Leave as it is generated, an ID for the file format version
  • lngName - Name of your Language
  • frm - Form, a Window
  • chk - Checkbox
  • lbl - Label
  • btn - Button
  • msg - Message Box or other message
  • olv - List, usually reffers to Columns within List
  • grp - Groupbox

Modify the file Carefully

While modifying the sample Localization file, keep in mind that XML syntax must remain unchanged.
Any change will cause an Exception and the file won't be loaded.
We also recommend using a Text editor with Syntax Highlighting, to help reduce the chance of creating issues.


Last update: May 4, 2020