Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question How can I find all Assets with a reference to a LocalizedString?

Discussion in 'Localization Tools' started by sourenpapazian, Jan 18, 2023.

  1. sourenpapazian

    sourenpapazian

    Joined:
    Aug 15, 2020
    Posts:
    5
    Is there a way to search for all assets that have a reference to a certain LocalizedString in the editor?
    Either with a tool or an editor script.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,570
    We don't have an official tool for finding localized strings in a project, but I have created a script that can accomplish this task. You can find the script on this GitHub Gist link: https://gist.github.com/karljj1/f34a483b035415418f8b7b3021d62640. Feel free to use it as is or use it as a guide for creating your own tool.