PSA: Can't Categorize Font Terms

3 months 2 weeks ago #3692 by TheWanderingBen
Not sure if this is intended or a bug, but either way, folks should know to not put Font terms in a Category and expect them to work as Secondary Terms in the Localize component.

Basically, if a font is called MyCoolFont SDF, and term is of the format Font/MyCoolFont SDF, and you use it as a Secondary Term on the Localize component, the plugin will never find that font, and so the Localize component will change the translation, but not the font asset. This is a problem if you have languages with different glyphs.

I think this has to do with the way LanuageSourceData::GetTermData gets called, which is always with the default allowCategoryMismatch set to false. If it were me, I'd set the SecondaryTerms to allow that mismatch. But I haven't studied the code or use-cases much, so there could be a reason to keep the current functionality. It was just really confusing for a while! :)

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago #3698 by Frank
That's definitely a bug.
Will investigate and submit a fix ASAP!

Thanks for reporting that.

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds
Template by JoomlaShine