Poly Bridge 2

Poly Bridge 2

Not enough ratings
The Poly Bridge 2 Community Translation Pipeline
By ice9
This guide will help you create a translation for any language for use in Poly Bridge 2.
   
Award
Favorite
Favorited
Unfavorite
Translation Guide Steps
Step 1: Download SteamCmd. This will be used to upload your translation file to Steam Workshop.
https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD

Step 2: Make a copy of the PB2 Community Translation google spreadsheet using File > Make a copy.
https://docs.google.com/spreadsheets/d/19-GUSG2FLa_S5mBXAwwXjI3UcXPwDWU5bFwTAJ_SNN0/edit?usp=sharing

Step 3: Enter the new language name at the top of Column D, and translate each row

Step 4: Download your google spreadsheet as a CSV file (File > Download > Comma Separated Values)

Step 5: Test your language pack locally by copying your CSV file to:

C:\Users\<username>\AppData\LocalLow\Dry Cactus\Poly Bridge 2\LanguageTest

Step 6a: Create text file to define what gets uploaded to Steam Workshop

Create a new plain text file (for example Notepad on Windows, TextEdit on OSX).
NOTE: If using TextEdit, go to Edit>Substitutions and disable Smart Quotes

Copy/Paste the following into the file:
"workshopitem"
{
"appid" "1062160"
"visibility" "0"
"title" "YOUR_TITLE"
"description" "YOUR_DESCRIPTION"
"previewfile" "FULL_PATH_TO_PREVIEW_IMAGE"
"contentfolder" "FULL_PATH_TO_CSV"
}

YOUR_TITLE: Title seen on the Steam Workshop page.
YOUR_DESCRIPTION: Description seen on the Steam Workshop page.
FULL_PATH_TO_PREVIEW_IMAGE: Full path of a JPG or PNG shown on the Steam Workshop page.
FULL_PATH_TO_CSV: Full path of the CSV file.

Example:
"workshopitem"
{
"appid" "1062160"
"visibility" "0"
"title" "Finnish Language Pack"
"description" "Finnish Language by Ice9"
"previewfile" "C:\Workshop\finnish.jpg"
"contentfolder" "C:\Workshop\finnish.csv"
}

IMPORTANT: PATH_TO_PREVIEW_IMAGE and PATH_TO_CSV cannot contain spaces.

Save the text file with a .vdf extension in the same directory as your CSV file. For example: finnish.vdf

Step 6b: Upload to Steam

Windows:
Open a command prompt and navigate to the directory with your CSV and .vdf file.

Type the following:
C:\steamcmd\steamcmd.exe +login STEAM_USERNAME STEAM_PASSWORD +workshop_build_item FULL_PATH_VDF_FILENAME +quit

OSX:
Open a terminal and navigate to the directory with your CSV and .vdf file.

Type the following:
~/steamcmd/steamcmd.sh +login STEAM_USERNAME STEAM_PASSWORD +workshop_build_item VDF_FILENAME +quit

For both platforms:
STEAM_USERNAME: Steam account name (not display name)
STEAM_PASSWORD: Steam account password
FULL_PATH_VDF_FILENAME : full path to VDF file (e.g., C:\upload\finnish.vdf)

You may be asked to enter a Steam Guard after entering the steamcmd command. A code will be emailed to you that you will need to enter to proceed.

Step 6c: Updating a Translation

If you need to make changes after the initial upload, open the same .vdf file used in the initial upload and update any fields if needed.

You can add an optional “changenote” field at the end as shown below.

You will also see a publishedfieldid that was automatically added after the initial upload. Do not edit this line.

"workshopitem"
{
"appid" "1062160"
"visibility" "0"
"title" “YOUR_TITLE”
"description" "YOUR_DESCRIPTION"
"previewfile" "PATH_TO_PREVIEW_IMAGE"
"contentfolder" "PATH_TO_CSV"
“publishedfieldid” “DO_NOT_EDIT”
“changenote” “What changed with this update”
}

Follow Step #6b again to upload an updated translation to Steam.

Contact support@drycactus.com for any questions.
2 Comments
presto311 1 May, 2023 @ 3:44pm 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░
▀█▌░░░▄░▀█▀░▀ ░░░COPY AND PASTE HIM SO HE TAKE OVER STEAM
░░░░░░░▄▄▐▌▄▄░░░░
░░░░░░░▀█▄░░░░░░░
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░
░░░░░░█░░░░░░░░█░ dont leave bob
ursaroshan 19 Aug, 2022 @ 3:17am 
perfect