Search Unity

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,281
    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.