Skip to main content

Localization (Multilingual)

SG Patcher has a localization system. This system changes key phrases depending on the language of the system.

Default Language Sheet

You can download an example localization file for English, follow steps:

  1. Go to the "Advanced" tab.
  2. Push on "Save File (English)" button and choose "loc" folder.image-1590933032324.png

Edit Localization Sheet

Open the sample localization file. You will see xml code with an enumeration of keys and values.

<?xml version="1.0" encoding="utf-16"?>
<LocalizeSheet xmlns:xsd="" xmlns:xsi="">
      <Value>Check updates...</Value>
      <Value>Check integrity...</Value>
      <Value>No updates required.</Value>

You can only change values. Change the values for the language you need and save the file with the appropriate name(ex. English.xml) in the "loc" folder.

The file contains values with auxiliary "{0}" or "{1}". These code inserts are necessary for the system to output dynamic parameters. If your implementation does not need dynamic parameters, then you can not use the constructions "{0}" or "{1}" leaving just the text.

  <Value>Downloading file - {0} - {1}%...</Value>

If you do not want to use dynamic parameters, remove all inclusions "{}" from the value. You can not delete only one inclusion in a value!