2024-11-01 02:38 AM - edited 2024-11-01 03:49 AM
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.
2024-11-01 04:03 AM
Hello @unsigned_char_array ,
We will discuss this with the team.
I will keep you updated.
Regards,
2024-12-10 06:18 AM - edited 2024-12-10 06:59 AM
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,
2024-12-10 07:00 AM
Search does help. Thanks for the suggestion.
But that doesn't address my other points such as undo, finding location and allowing multiple occurance.
2024-12-12 06:03 AM
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 :
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,
2024-12-12 07:05 AM - edited 2024-12-12 07:10 AM
@GaetanGodart wrote:1) Undo
An undo feature is definitely something we will consider for future release. Thank you for your feedback.
great to hear.
@GaetanGodart wrote:
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.
I mean find their location in Canvas. I have dozens of screens and hundreds of texts. If I need to jump to that screen where that text is used I would need to go to each screen. So screenname and text object name and optionally x and y location. Right now the reference is a one-way reference from text field to text tab in case you use an id.
@GaetanGodart wrote: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 :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()
So I cannot use the same translation row in different screens. Or I would need to programmatically copy a text, but that doesn't show in the preview. I hoped I could just enter the same id in different widgets, but that didn't work.
2024-12-12 07:51 AM
2) Finding lcoation
Do you have a preference on how to find an element in Designer?
Would a search area to filter by element name be good?
This way, only the elements containing the text would show on the left bar.
Example if you typed "textArea" in the search bar:
3) Multiple occurrences
So now, if you type the id of a text that already exist, you get an error, because the ID fileds only lets you choose the name of the ID, but for every single textArea, a new ID is created.
Your issue would be fixed if by entering an ID that already exist, it doesn't create a new text but automatically re-use the already existing text/textID.
Regards,