Unity Localization bridge
With the Unity Localization package installed, SheetForge fills the package's String Table collections from your localization sheets. This page covers the sync, migration from existing tables, and the translation workflows around the sheet.
What the bridge maintains
SheetForge maintains one String Table collection per localization tab. The collection receives the keys, the values, and the smart/comment bits when those columns exist.
When the sync runs
The sync runs automatically, at the moment an import completes. It is one of the exits (codegen, bake, Export, Push and this sync). It has the same standing that Export and Push have.
To run the sync yourself, open ⚙ Settings in the Data Studio toolbar and go to its Unity Localization bridge section. The section has two sync buttons:
- Sync now, at the top of the section, syncs every localization sheet.
- Sync this sheet, below each sheet in the Localization sheets part, syncs that sheet alone.
In a project with several workbooks, a sync that you start yourself covers only the localization sheets of the open workbook.
Sync direction
The sync goes one way, from the sheet to the tables. The sheet is canonical. The tables are output.
Locale assets
| Locale | What the sync does |
|---|---|
In the sheet, with no matching Locale asset in the project | Creates the asset automatically and names it in the Console |
| Only in the project | Leaves it untouched and reports it as not covered by the sheet |
Metadata outside the sheet
Metadata that the sheet does not model is always preserved. Excluded flags and any other table metadata pass through every sync untouched. When the sheet has no comment column, comments pass through untouched too.
The Unity Localization bridge section
The Unity Localization bridge section of the Data Studio's ⚙ Settings dialog reports on the bridge and holds its actions: the manual sync, the orphan cleanup, the options, the translation export and import, and the migration of existing tables. The report is assembled when the section first comes into view.
The Tools ▸ SheetForge menu has no localization item. Open ⚙ Settings in the Data Studio toolbar and scroll to the section. Settings dialog lists the rest of the dialog.
| Part | What it holds |
|---|---|
| The top of the section | Whether the package is installed, Sync now and Refresh |
| Options | What the sync does with a key that disappears from the sheet |
| Localization sheets | For each sheet: what the next sync would change, the coverage per locale, the orphan keys, Sync this sheet, and the translation export and import |
| Bring existing tables into a sheet | The migration of an existing String Table collection |
Rename a key
Rename keys in the Data Studio, by editing the key cell in the grid. Rename a key has the steps. A rename there goes through the same rename machinery that every reference uses.
The bridge renames the table entry in place and preserves its internal id. A LocalizedString in a scene or prefab binds to that id, so it survives the rename.
A rename made outside the Studio, such as editing the sheet source directly in Google Sheets or Excel, is indistinguishable from deleting one key and adding another.
The bridge creates a fresh entry with a new id and treats the old entry as an orphan. Scene references to the old entry keep pointing at the orphan.
External edits to a table
External edits are asked about, never merged silently. The bridge stamps the tables it owns and remembers a fingerprint of the last sync.
If a table changed since that sync, the next sync stops and asks. A table changes when, for example, someone edits it in the Localization Tables window. Pulling into it with Unity's own Google Sheets extension changes it too.
The Localization tables changed outside SheetForge dialog offers two answers:
- Overwrite from sheets overwrites the table from the sheet.
- Stop and show differences aborts the sync and opens the difference report, which is the Unity Localization bridge section of ⚙ Settings.
There is no silent merge and no silent overwrite.
If you want to work on the text from two tools, route the second tool through the sheet instead. The translation export exists for that.
Orphan keys
A key that exists in the table but no longer in the sheet is an orphan. Orphans are preserved by default. Nothing is ever destroyed as a side effect.
An orphan is kept and listed in the orphan report. That report is the Localization sheets part of the Unity Localization bridge section of ⚙ Settings. Each sheet lists its orphans there, with a check box for each key.
Remove orphans
Removing orphans is an explicit cleanup action. You remove them per key, or all orphans of one sheet at once.
- In the Localization sheets part, tick the keys to remove. Select all ticks every orphan of that sheet.
- Press Delete selected keys.
- In the Delete unused keys dialog, press Delete them.
Delete orphans on sync
If you want the table to mirror the sheet exactly, switch to delete on sync. The choice is in the Options part of the Unity Localization bridge section, under When a key disappears from the sheet.
| Choice | What the sync does with an orphan |
|---|---|
| Keep it in the tables (recommended) | Keeps it. This is the default |
| Delete it from the tables | Deletes it |
Without the package
The Unity Localization package is optional. The supported package version is 1.5 or newer.
Without the package, localization sheets are complete sheets. All of these work in full:
- Authoring, validation and coverage
- Export, Push and xlsx
- The web app
- Key constants and
LocReffields
Every assembly and every line of generated code compiles without the package.
The one thing that waits for the package is the String Table sync exit. After an import, it shows an install notice once per session and stops. A sync that you start yourself shows the Unity Localization required dialog each time.
The top of the Unity Localization bridge section says whether the package is installed. Its Open Package Manager button opens the package's page in the Package Manager.
This is the same guidance pattern as Addressables. Likewise, SheetForge never installs the package programmatically.
Migrate existing tables into a sheet
If you already use Unity Localization, the reverse importer turns an existing String Table collection into a localization sheet. On screen it is the Bring existing tables into a sheet part of the Unity Localization bridge section.
- Open ⚙ Settings in the Data Studio toolbar and go to its Unity Localization bridge section.
- In Bring existing tables into a sheet, pick the collection under Collection.
- Type the name of the sheet under New sheet name. An empty name takes the name of the collection.
- Press Create the sheet.
The sheet is written straight into your import source and imported automatically. This is the same path that sheet creation takes. Review and edit the sheet afterwards like any other sheet.
When the sheet name matches a tab that another workbook owns, the sheet is written into that workbook. Any other name goes to the open workbook.
If that source cannot be written from the editor, the file lands next to your export output. A note tells you to move it.
Entry ids after migration
When the bridge later syncs that sheet back into the same collection, entry ids are inherited by key-name matching. Existing LocalizedString references in scenes and prefabs survive the migration unbroken.
Translation workflows
Coverage
Untranslated cells are reported, not refused. An empty locale cell is not an error.
Coverage is counted per locale: how many keys each locale has translated, and which keys are missing. Every exit stays open.
In the Unity editor, the Localization sheets part of the Unity Localization bridge section shows the count for each locale. It shows counts only, not the list of missing keys.
Text arrives incrementally. The sheet never blocks on an unfinished translation.
The locale lens
The locale lens toggles which locale columns are visible. Use it when you work in one language at a time.
In the Data Studio, open a localization sheet. The lens stands on the sheet's tool line, with one check box for each locale. The column menu carries the same lens: right-click a column header, and the Locales section at the end of the menu holds these lines:
- Show the source locale only
- Show every locale
- One line for each locale, the source locale included, which shows or hides the column of that locale
The Locales section appears when the sheet has two or more locale columns. Any locale column can be hidden, the source locale included, as long as one stays visible. Hiding the last visible one is refused.
The lens is a view setting. It hides columns the way Hide columns does, and it writes nothing to the sheet. It never touches the import fingerprint, codegen, or any output.
The lens works in both hosts, the Unity editor and the web app.
Export a translation workbook
To hand a language off to a translator, open the localization sheet in the Data Studio and choose Download ▾ ▸ Export translations… in the toolbar. The same action stands under each sheet in the Unity Localization bridge section of ⚙ Settings.
- Pick the locales to export. Every locale starts ticked.
- Press Export the selected locales….
- Choose where to save the file.
You get a translation workbook. It is an xlsx file of key, source text, a status column and one column for each locale you picked. It also holds the comment when the sheet has a comment column.
The name refers to the xlsx file. A translation workbook is not a SheetForge workbook, which is a settings asset.
An entry whose source text changed since the last export is marked outdated.
Translation export works in both hosts.
Re-import as a partial merge
When the file comes back, re-import it as a partial merge.
- Open the localization sheet that the file is for, and choose Download ▾ ▸ Import translations… in the Data Studio toolbar.
- Open the file.
- In the Merge translations dialog, press Merge.
The merge follows three rules:
- Rows are matched by key.
- Only the locale columns are written.
- Structure, other locales and everything else in the sheet stay untouched.
In the Data Studio, the merged cells are staged edits, and one Ctrl+Z takes the whole merge back. To write them to the source, press ↑ Send.
The partial merge works in both hosts.
Status column in the browser
The two hosts differ in the status column. The status memory lives in a machine-local file next to the Unity project. A translation workbook exported from the browser therefore always says new in its status column.
On re-import, the web app names the keys that were translated against older source text. It compares against the source text that the file itself carries. The Unity editor does not show that notice.
XLIFF and pseudo-locales
SheetForge deliberately does not re-implement XLIFF or pseudo-localization. The tables the bridge fills are ordinary Unity Localization tables. The package's own XLIFF export/import and pseudo-locale tooling work on them as on any project.
Authority runs one way, from the sheet to the table. Tool output written into the tables is an external edit that the next sync will ask about.
To keep translations in the source of truth, bring them back through the sheet with the translation workbook. Do not write them into the tables.
Limits of the bridge
- The bridge covers String Tables only. Asset tables are a known gap, planned for later.
- SheetForge ships no language-specific Smart Format helpers, such as one for Korean grammatical particles.
The smart column marks entries as Smart Strings. Formatters beyond what the package provides are yours to write, through the package's own extension points.
In the web app
A localization sheet is an ordinary sheet in the browser. All of these work in the web app at web.sheetforge.workers.dev:
- Authoring, validation and coverage
- The
LocRefpicker with inline source text - Minting
- The locale lens
- The translation workbook
Localization describes them from the side of the web app.
The String Table sync is the Unity editor's job. The browser has no Unity project to write tables into, so it runs no sync.
Next steps
- Localization sheets
The sheet shape,
LocRefcolumns and generated key constants. - UI language
The product UI's own 10 languages.
- SheetForge Web
The browser companion.
- Localization limits
The localization sheet boundaries in the limits list.