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

Feature Request Smart string automation

Discussion in 'Localization Tools' started by mattimus, Jun 4, 2023.

  1. mattimus

    mattimus

    Joined:
    Mar 8, 2008
    Posts:
    576
    CSV tables do not seem to have a field for whether or not the entry is smart. After building a text database in an external application and importing it, users have to go through the entire database and manually mark entries as Smart. It would be really helpful for the csv to have an optional field for whether or not the entry is smart.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,820
  3. mattimus

    mattimus

    Joined:
    Mar 8, 2008
    Posts:
    576
    I was looking at this as an option yesterday and couldn't get the example working. The example script is missing all the using statements and I couldn't track everything down, specifically the CsvWriter and CsvReader.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,820
    CsvWriter and CsvReader are part of a third-party library we use. You can access them by adding Unity.Localization.ThirdParty.Editor.dll to your asmdef.
    All package code examples can be found in full inside the package. They also include a configured asmdef to show how to use third party etc.

    upload_2023-6-5_17-36-33.png