My UILabels using attributed strings are not translated when using the Storyboard/Xib - strings localization approach.
I know I can use code to set the attributed text at runtime but I would like to use the default mechanism like for all other controls which don't use attributed strings.
I found this thread which had a similar problem but for UITextViews: https://developer.apple.com/forums/thread/27475
The "problem" is that when I select my Xib file and localize it for another language the UILabel with the attributed text (the whole text has the same attributes) does not get into the localized strings file.
Why is this and how can I make this work?
I also asked this question on Stackoverflow: https://stackoverflow.com/q/64062535
I hope to get an official answer here in case it's not supported.
I know I can use code to set the attributed text at runtime but I would like to use the default mechanism like for all other controls which don't use attributed strings.
I found this thread which had a similar problem but for UITextViews: https://developer.apple.com/forums/thread/27475
The "problem" is that when I select my Xib file and localize it for another language the UILabel with the attributed text (the whole text has the same attributes) does not get into the localized strings file.
Why is this and how can I make this work?
I also asked this question on Stackoverflow: https://stackoverflow.com/q/64062535
I hope to get an official answer here in case it's not supported.