 Hi, I'm Jesper from the ST TouchDFX team. In this video I'm going to show you one of the new features of the TouchDFX 4.19 release, the improved text management system. For this I have opened a new application in the 4.19 designer. Let me add a background color and a text area. A text area has an associated property where you can change the text directly. Like this. But the underlying structure of the text is to be found in the text tab over here. Here is where you manage your text, make sure that it has the right typography and that all the translations are done correctly. This is in no way different than from previous versions of TouchDFX. What is different is that in the old version of TouchDFX, this was one long list of texts to be translated and managed. Now it is grouped and you can add groups. You can rearrange your texts to be included in a group. You can sort them, you can name them and do a lot of things. You can search your groups for texts or strings that you want to search for. These can be included both in the ID or in one of the translations. How you want to name your group if you want to use group at all is up to you. Here I can show you, I can add a new group, I can rename it to whatever I want and I can start adding texts here. The texts you add are resources as known from previous versions of TouchDFX. Resources is a text where you have an ID and thus you can reference these in a number of text areas on your canvas screen over here. If I have more texts, I can rearrange them so that they have the order that I want to use. And if I change the texts in one of them, and search, I'll see the one called, or include, Hello. The bottom one here, you see, says the ID is auto-generated. So this is actually the text that I associated with this text area here. So the ID says auto-generated, the text was Hello. So that's why I found that one when I searched. This notion of auto-generated is the thing we in previous version call single use texts. So single use text is a text that is only used by one text area and it is managed by the text area. So if I delete this text or this text area, that text and that translation will be deleted as well. Whereas if the text area has pointed at a resource, so one of the other texts I made here, then the resource would not be deleted because it could be referenced by other text areas. So those are managed by you as a programmer. So those you need to make sure you clean up if you have something that you do not need to be in your application or you do not use anymore. So auto-generated text IDs are for convenient and for text areas that you want to have control over the associated text. If you want to promote this, if you realize that, oh, I need to keep this, I want to have this as a permanent resource. I want it maybe to be referenced from other text area. You can simply go here and instead of it stating it is auto-generated, you can write a text here and it will be changed to that. So now, as we saw before, this is now called my resource instead. So you can notice that if I add some more text areas, a couple of those, then I will have some new auto-generated in the unsorted group here that is a fixed group where things added in this way will come. So I promoted this and I might want to say, so now this belongs to my group so I can move it there. So I can remove it from the unsorted bucket. But how you sort this and how you manage this is of course completely up to you. New languages are here just as you are used to. You can have them, you can copy values and so on. A new thing here is that you have control over the columns you see so you can actually hide the column or you can even go here and say which one you want to see. Navigation has also been improved in this sheet here so you can use arrow keys and you can F2 and then you can manipulate the text. And you have a right-click menu where you can do various things so you can copy a resource and so on. The typography tab here has also changed quite a bit. So now you have your list like this and you can configure your typography with these fields here. One big change for the typography is to be found in these default settings and the plus tab here. So I can have special override settings for various languages. So as you might know in the previous version you specify a typography that this row should use. So the font, the pixels and so on. Here you had the opportunity to override the settings for that typography. So for example in the case if you had Chinese as one of the languages where you did not have the Chinese characters in that font or for some reason you want for that column to use a different font then you could override it as a special thing up here. That's gone now. But what you can do instead is that in the typography list here you could say for, well it's not Chinese but let's say it is for this language here I want not to use the default thing here I have a different font that I want to use I want a different size and a different BPP special characters and so on is also applied for them. So instead of you have to make this correction for all the Chinese text that uses that typography where you typically want to override it for each time you use that typography now you can state it one place in the typography tab here and have the effect everywhere. So that should ease the process quite a lot. You still have one override possibility here as I showed so this is the alignment for this text. It can be all written so that for Chinese or Arabic it is right aligned for example instead of left. Coming back to the usage of text areas and text in this property pane over here if I want to not use an auto-generated ID so I want to use one of my resources I can search for it here and now this is also much more intuitive I have my groups I know where to look for my texts if not I can search here this one will search on the ID so if I have an idea on what I have called my resource then it's easy to find here and change. So that sums up some of the changes that we have done to the text management system in TouchGFX. Everything else the underlying structure so the XML file where we save all the texts have changed a little bit but is overall the same the conversion tool from XML to Excel sheets that you can use if you are sending your text to translators are the same. When you update to 4.19 the update step will be done automatically. There can be a few changes especially if you have used this feature of overriding typographies with size or BPP or fonts for a specific entry for a language then the conversion step will create a typography that has a setting that matches and if you have done very complex things as having different overrides settings for the same typography it will create multiple typographies to match this but this will be very rare and it should work just out of the box. So hope this has encouraged you to use the text management system in TouchGFX even more and hope you like it. It is based on a lot of feedback from users and partners so we hope that we have improved the overall quality of this for you and for other users of TouchGFX. So thank you for watching this video. I hope you enjoyed the changes we made. See you, bye bye.