localize-unity-project
Installation
SKILL.md
Important
- Use the unity cli (
unity command --format json) and theunity-cliandunity-pipelineskills for each step. - Before making changes, establish a baseline of the current behavior so you can tell whether a later result is actually caused by your change.
- Create a restore point you can roll back to if your changes fail.
- Do only what's asked. Don't change unrelated assets or files. Avoid long explanations.
- Never leave verification code in the user's script. Never build logging or detection they didn't ask for.
Terms
These names differ between the Editor UI, the package API and this skill:
- Table collection: the asset (
StringTableCollectionorAssetTableCollection) holding one table per locale plus the shared key list,SharedData. LocalizedTmpFont: the package type that references aTMP_FontAssetentry in an Asset Table.LocalizedFontAsset: this skill's component template (scripts/LocalizedFontAsset.cs), not a package type. It applies aLocalizedTmpFontto theTMP_Texton its GameObject.
1. Check the Localization package is installed
Before doing anything else, verify that the Localization package is installed. Many APIs in this skill will fail silently or throw confusing errors if the package isn't present.