Webinar Youtube link

Hi there,

When can we expect the recording of 17 December Webinar?

Thanks

Soon hopefully. I’m just waiting for it to be uploaded.

1 Like

Here is the link

3 Likes

awesome :slight_smile:

1 Like

The “global variables” that are used to substitute values in localized strings is a brilliant idea! I often needed such functionality, but it never occurred to me that such global replacement table would solve this. Very clever!

1 Like

The localized property variants is a great idea! It’ll will make a lot of the common use cases really easy.

I wonder would be possible to have a component that “syncs groups” of text to a common specified value. For example say you have a menu list of items, you change the language and one of the items is too width so the font size needs to be reduced slightly (as in your example). It would be nice for example to have an easy way tell every item in the list to resize to the smallest font size within the group to keep consistency. In your example you know ahead of time you need to reduce it so you could do this, but there are multiple cases where you won’t know ahead of time. tldr (every component in this group will sync their specified property/value to this other property/value/rule set)

Another example I’ve thought about is say you’ve a dynamically sized string that can be anything from 5-20 characters. For example you let the player name their save files. In non-english languages to prevent overflow a common thing that’s done is reducing the character spacing depending on the character count. It’d be nice to have overflow options like this.

While you could program custom solutions for these I have done localization for multiple games and these are common issues to make menus look nice across multiple languages, so I thought I should mention it since it seems in the same spirit of what you’re trying to achieve.

1 Like

Hmm I’m not entirely sure if you would need localized properties for this use case. you could always do this with a script that responds to language changes. Its a bit like having a group best fit option.

Can you provide more details about this? Do you have an example so I can better understand?

Sorry. You’re probably right about that!

Sure! I think this is also a similar case as above. Now that I have thought about it a bit more I guess what I’m getting at is a lot of the tweaking solutions to handle overflow could be automated if you already know the limits.

  1. you have a button with a set size. in the default language everything has enough space.
  2. someone changes the language and now it overflows
  3. we use character spacing to control the overflow (rather than resize). it would be nice to automate this since you know the width limit of the button.



Ah, I see. So a bit like the Best fit option but changing the spacing instead of size. Ill bring it up with the TMP developer and see what they think.

2 Likes

The TMP dev said there is an option that changes the width of characters as a % … it is the WD option in the auto size options. There is also a line spacing adjustment option. Before point size is adjusted in auto-size, these two options are considered first. Ie. as a last resort, auto-size adjusts the point size which is more visually impactful than changing the width of the characters while maintaining the same point size or adjusting the line spacing (slightly).
To test the WD% … try something like 10000000. with value of 50%

Does that work for you?

1 Like

Yes that sounds like exactly what I was talking about. Sorry, I should have checked the documentation more closely. I didn’t mean for you to do the searching for me. Thanks for following up and helping!

1 Like

Hi @karl_jones
As localization package has progressed a lot since this video, So is there any recent video with updated content?
Thanks

No, there’s nothing at the moment. We have up to date docs About Localization | Localization | 1.4.5

I did put a talk forward for unite this year but they didn’t accept me :frowning:
Hopefully next year!

1 Like

Keeping my flingers crossed for next Unite :slight_smile:

1 Like