Skip to main content
unsigned_char_array
Lead III
November 1, 2024
Question

Feature request: make columns sortable in Texts tab

  • November 1, 2024
  • 6 replies
  • 1116 views

I have a small application, but I have over a 100 texts. Quite a few are duplicates. But even without duplicates it's a lot of scrolling
If I want to change the translation of a word I would need to scroll through the list manually. It's easier if I could sort or even search a column for a text if I wanted to change the translation of a text. Or if I could import/export the table in CSV format. Also I cannot see the screen or widget the text is used in in this table. It would be nice to see the location of the text (I know I can manually move them to groups, but that is a hassle).
So my question is: can you make the columns sortable?

Another question I have is:  is it possible to have multiple occurrences of the same text without duplicates in Texts table? Can I just give two text fields the same ID? This is not to save FLASH, but to make managing the translations easier.

And finally an undo feature might be useful. Right now if I accidentally delete a row I lose all the information and it cannot be retrieved.

    This topic has been closed for replies.

    6 replies

    GaetanGodart
    ST Employee
    November 1, 2024

    Hello @unsigned_char_array ,

     

    We will discuss this with the team.
    I will keep you updated.

     

    Regards,

    Gaetan GodartSoftware engineer at ST (TouchGFX)
    GaetanGodart
    ST Employee
    December 10, 2024

    Hello @unsigned_char_array ,

     

    We have not included a way to sort the text by name because it depends on the language but we will add the feature in a future release.

    As of now, we have ways of finding a text.
    First, you can use the search bar but you can also group texts together to manage them and find them easily.

    I hope this is enough for you.

     

    Regards,

    Gaetan GodartSoftware engineer at ST (TouchGFX)
    unsigned_char_array
    Lead III
    December 10, 2024

    Search does help. Thanks for the suggestion.

    But that doesn't address my other points such as undo, finding location and allowing multiple occurance.

     

    "Kudo posts if you have the same problem and kudo replies if the solution works.Click ""Accept as Solution"" if a reply solved your problem. If no solution was posted please answer with your own."
    GaetanGodart
    ST Employee
    December 12, 2024

    Hello @unsigned_char_array ,

     

    1) Undo
    An undo feature is definitely something we will consider for future release. Thank you for your feedback.

     

    2) Finding location
    I am not sure what you mean by "finding the location of the text".
    You also say "I can move them to groups" so you are talking about finding them in Designer, but in that case, that is what the search field is for.

     

    3) Multiple occurrences
    "Can I just give two text fields the same ID?"
    I am not sure what you want to do but you say it is to manage translation easier.
    So is it because you use the same text in multiple places, for instance, on every screen you have a "Settings" button so for each screen there is a text for the settings and whenever you want to add an extra language, you have to add it to every text like so :

    GaetanGodart_0-1734011938566.png

    If that is the case, you could simply set the correct text and translation for the first screen, keep the text area as "new text" for the other occurrences of that same text and set the text at screen startup by using the snprintf() and TypedText() function and referring to text of the first screen : using snprintf() and TypedText() 

     

    Regards,

    Gaetan GodartSoftware engineer at ST (TouchGFX)