Search Unity

Change the string value from a key in a specific table (runtime)

Discussion in 'Localization Tools' started by d3cim0, Jun 9, 2022.

  1. d3cim0

    d3cim0

    Joined:
    Jun 6, 2018
    Posts:
    8
    Hi there,

    First of all, I apologize in advance if I'm duplicating a previously created thread.

    I've attached an image to explain the situation much better, since I'd like to know how to change via script and at runtime the value of a string for a specific key in a table for all the locales.

    Thanks in advance!
     

    Attached Files:

    Last edited: Jun 9, 2022
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
  3. d3cim0

    d3cim0

    Joined:
    Jun 6, 2018
    Posts:
    8
    Thanks for your answer!

    Before adding this post, I was checking out different solutions and the script you addressed me to was one of them. This was a good alternative to adding new entries to a table at runtime. However, I would like to edit an entry already created rather than create new ones, in the same way that you can edit your entries via editor while the game is in play mode.
     
    Last edited: Jun 10, 2022
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    You can edit existing entries this way. We also have some features to help with this in 1.4.0 later in the year.
     
  5. d3cim0

    d3cim0

    Joined:
    Jun 6, 2018
    Posts:
    8
    Thanks for your information, mate, I will use alternatives until a new update comes later in the year. Awesome news by the way. =)
     
    karl_jones likes this.