This is an unofficial translation repo for game Traitors in Salem.
Please feel free to ask questions or submit pull requests.
-
Choose your language and download the latest
.rar
pack from here -
Extract to
steamapps\common\Traitors in Salem\
-
Download and install BepInEX
-
Launch game for once then close
-
Download the latest
TiS_TranslationReplacer.dll
in releases toTraitors in Salem\BepInEx\plugins
- (Optional) Download
FontAsset-SIMYOU
in releases toTraitors in Salem\TownOfSalem_Data\StreamingAssets
- Some languages require additional font asset to display their characters
- (Optional) Download
-
Launch game again then close
-
Download
StringTable.{lang_code}.xml
from this repo (i.e.StringTable.zh-CN.xml
for Simplified Chinese)- You can check language codes here
-
Put
StringTable.{lang_code}.xml
intoTraitors in Salem\TraitorsInSalem_Data\StreamingAssets\Translation\{game_version}\
-
Open
Traitors in Salem\BepInEx\config\TiS-TranslationReplacer.cfg
with notepad -
Make sure the
Language
settings in[General]
section has the same value as {lang_code}
Before contributing, a GitHub account is required - you can sign up for one here. If you wish to contribute from your desktop (i.e. using a local text editor), a Git client is required. We recommend GitHub Desktop, which provides a GUI and is easier for novice users to use. However, any Git client will work - it is ultimately a matter of personal preference. For help with GitHub Desktop, refer to the Help section here. If you wish to contribute directly through GitHub, please see the relevant section below.
- Create fork of this repository
- Scroll to the top of this page and click 'Fork'. Doing so will add a copy of this repo to your GitHub account.
- Clone the forked repository
- Log into your GitHub account in GitHub Desktop. On the home screen, you will see a list of your repositories. Select the forked repo, and then click
Clone <yourusername>/TraitorsInSalem-Translation
- doing so will download the repo onto your computer. If you are using Git Bash or a similar CLI client, refer to this guide.
- Log into your GitHub account in GitHub Desktop. On the home screen, you will see a list of your repositories. Select the forked repo, and then click
- Open a file and edit/add what you want to change with a text editor
- If the file for your language doesn't exist, copy
StringTable.en-US.xml
and rename it with Microsofts Language Codes
- If the file for your language doesn't exist, copy
- Commit the modified files
- Please include a meaningful commit describing exact changes that were made. This is helpful to us when reviewing Pull Requests and commit history.
- Only commit changes to files you've added/edited. Don't commit changes to
StringTable.en-US.xml
- Usually most GUI clients, such as GitHub desktop will only commit modified files.
- Push your commit(s) to GitHub
- When changes are committed, only the files on disk (i.e. in the cloned repo) are modified. By pushing these commits, these changes are also reflected in the forked repository on GitHub. This is necessary for the next step:
- Open a Pull Request (see below).
- Open a desired file and click "Edit this file".
- This will automatically create a fork of this repo to your account. Any changes made to files will only be reflected in the forked repo. Learn more about forking on GitHub here
- Make any desired changes.
- Commit your changes with a meaningful message.
- Please include a meaningful commit message describing the exact changes that were made. This is helpful to us when reviewing Pull Requests and commit history.
- Only commit changes to files you've edited. Don't commit changes to
StringTable.en-US.xml
- Open a Pull Request (see below).
To merge your modified fork with the master, a Pull Request must be made. Please ensure that you have committed and pushed all desired changes before opening a Pull Request.
- Return to this repo and click the New pull request button, located at the top of the page.
- On the next page, click compare across forks.
- Select the base and head forks
- The base fork is the repository that you wish to merge changes into (i.e. this one!) and the head (or compare) fork is the repository that contains the said changes (i.e. your fork). Ensure that both the base and compare fields are set to master.
- In the event that you created further forks of this repository, please refer to this guide for further guidance.
- Create your Pull Request.
- Ensure that the 'Allow edits from maintainers' is selected.
- Write a meaningful title and message for your pull request described the changes that have been made.