Skip to main content

Allow text styling within string variable property

  • October 12, 2023
  • 3 replies
  • 1045 views

Anna_Foltman

We want to use string variables for translation handoffs.
It is common in our projects that we use long text elements, that have mixed styles (adding links, adding bold to key phrases). When we add variables to text, the font style is “flattened” when switching modes.
We can create text with HTML tags like “Hello <‘b1’>World<‘/b1’>” (b1=semibold equivalent of the font style used) so our devs know where to style the text, but it makes it difficult for us to evaluate visual aspects of our texts (like “Is the text not too busy? there’s to many bolded words”).

It would be great to have a tool that can do both: add font styles to strings, and render them at the same time.

Pablo_Sara
  • New Participant
  • October 31, 2023

Oh yes please!


Michael_Landis

Very much! I’m creating keys with a plugin at the moment and my texts in design look awful with placeholders and text styling, e.g., [%s:sourcesCount] sources


clickmon
  • New Member
  • January 24, 2025

This would be great.  I’m working on a project which needs some keywords to be bolded, italicizes or both.  The moment you add the styling, it breaks the string text link which defeats the purpose and usefulness of  variable function.

It would be great if you can copy and paste the text styling from a word doc into Figma.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings