Steps to reproduce:
- Open https://docs.unity3d.com/Packages/com.unity.localization@1.5/manual/Pseudo-Localization.html and read the property table under "Set up a Pseudo-Locale Asset"
- Note the table lists six properties: Name, Source Locale, Code, Metadata, Pseudo-Localization Methods and Pseudo-Localization Preview
- Read the "Code" row, which states "This field auto-populates with the language code of the selected Source Locale"
- Create a new project and install the Localization package via "Window > Package Manager"
- Open "Edit > Project Settings > Localization" and create the Localization Settings asset if prompted
- Click "Add Locale", tick "Lithuanian (Lithuania)" and click "Add Locales" to create a Locale asset
- Select the Locale asset and note its "Locale Code" field reads lt-LT
- Select "Assets > Create > Localization > Pseudo-Locale" and save the asset
- Select the Pseudo-Locale asset and confirm the Inspector shows no "Code" field
- Click the "Source Locale" object field and pick the Lithuanian (Lithuania) Locale asset created in step 6
- Read every field label in the Pseudo-Locale Inspector and compare the list against the table from step 2
- Compare the Inspector against the screenshot on the manual page captioned "A default Pseudo-Locale Asset"
Actual results: The property table does not describe the Inspector. Three mismatches:
- A documented field that does not exist. The table lists "Code" and describes it as a field that auto-populates from the Source Locale. There is no "Code" field in the Inspector. Where it would sit, the Inspector draws the "Source Locale" object field. The only code-like string visible on screen is lt-LT inside the Source Locale object field, and that is part of the referenced asset's name, not a code value.
- A documented field under the wrong name. The table calls the first property "Name". The Inspector labels it "Locale Name".
- Five fields the table omits entirely, all present in the Inspector between "Source Locale" and "Metadata":
| Inspector field |
In the manual's table |
| Culture Info |
not listed |
| Use Custom Formatter |
not listed |
| Custom Formatter Code |
not listed |
| Formatting Culture Info, with Currency, Date/Time and Number |
not listed |
| Sort Order |
not listed |
Expected results: The property table lists the properties the Inspector shows, under the labels the Inspector uses. If the code is derived from the Source Locale and deliberately not displayed, the page says so instead of presenting it as a field.
Reproducible with version: 1.5.13(6000.6.0f1)
Tested on (OS): MacBook Pro - Tahoe 26.6.2