Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to delete localization string tables (and others)

Discussion in 'Localization Tools' started by DallasP9124, Feb 4, 2022.

  1. DallasP9124

    DallasP9124

    Joined:
    Jul 15, 2020
    Posts:
    11
    I started using the localization package provided by unity and I already am having trouble managing string tables. I can't figure out how to delete a table through the UI. So I went to the assets created for the table and deleted them manually. Now I get a warning indicating that the table is obviously still being referenced by the chain of assets and dont really know what to do.

    The table's name was settings

    Collection settings is invalid and will be ignored because SharedTableData is null.
    UnityEditor.Localization.UI.LocalizationTablesWindow:OnEnable () (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Tables/LocalizationTablesWindow.cs:102)

    Looking in the documentation didn't tell me how to delete these assets.

    I looked in the Addressable Groups and did not see the old table in there.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Did you want to delete the whole collection or just a single language? There are at least 3 assets you need to delete if you want to delete the whole thing.
    Shared table data, collection asset and the table.
    Could you please file a bug report with the issues you are having so we can improve it?
    Table deletion is not an area we have a lot of support for.
     
  3. DallasP9124

    DallasP9124

    Joined:
    Jul 15, 2020
    Posts:
    11
    Hey Karl. I am talking about just the string table. So like I create a table, end up not wanting it anymore, then delete.

    Seems like bad design to not allow the deletion of a table as if Localization is an add only feature. I will file a bug to bring this to light.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    A single table can be removed through the collection editor. Select the collection asset and the option is in the inspector. Once it's removed you can delete it.