Localize only the font?

More
8 years 1 month ago #1900 by vallcrist
Hello there,

A common use case I have in several projects is a text element that has dynamic content that's displayed in languages that require different fonts.

If the text wasn't dynamic, I could just use the normal behavior of a Localize component with Primary being the content key and Secondary being the font key. However since the content is dynamic I DO NOT want the primary tab. I would only like for the font asset to be localized, this way I can fill whatever dynamic text I need in the right font.

If I leave the Primary tab empty it leads to buggy behaviors (random text popping up some times), if I change the Primary tab to change the font asset it doesnt seem to work.

What's the correct way of doing it?

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

More
8 years 1 month ago #1901 by Frank
Replied by Frank on topic Localize only the font?
Hi,
When not specifying the term, the localize component skips localizing the label's text. However, sometimes it happened that it also tried to infer the Term from the label's text if there was a matching term.

To avoid this issue, I just added a new term option: "<none>"



When you select that term from the popup, the Localize component skips the localization and NEVER tries to infer it!

The change is available in I2 Localization 2.6.9a3. I will be uploading it to the beta folder later today.

Hope that helps!
Frank

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
Attachments:

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

More
8 years 1 month ago #1902 by Frank
Replied by Frank on topic Localize only the font?
I2 Localization 2.6.9a3 is now in the beta folder.

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.

More
8 years 1 month ago #1903 by vallcrist
Replied by vallcrist on topic Localize only the font?
Awesome,

I've just requested access to the beta folder.

Thanks for the quick response and fix, frank. :)

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

More
8 years 4 weeks ago #1904 by Frank
Replied by Frank on topic Localize only the font?

I've just requested access to the beta folder.


I just sent you an invite.

Hope that helps,
Frank

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.

More
8 years 4 weeks ago #1905 by vallcrist
Replied by vallcrist on topic Localize only the font?
Hi frank!

Great work, it works just as I need it to now.

One slight issue, this shows up now: prntscr.com/dan07u

It's not a big issue, but it might be something worth fixing before the live release.

Thanks again!

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

Time to create page: 0.251 seconds
Template by JoomlaShine