sbhhbs
sbhhbs

Reputation: 625

IBDesignable localisable strings

I'm using Xcode's export for localisation feature, and I have a custom IBDesignable UIControl with a IBInspectable string. I'm wondering if there's a way to include this string to the exported .xliff file.

Upvotes: 1

Views: 216

Answers (1)

sbhhbs
sbhhbs

Reputation: 625

In the User Defined Runtime Attribute, you can set the type to localized string. And this allow the string to be included in the exported file. However, I haven't found a way to make the field default to localized string type, so you'll need to change the type every time by yourself.

Upvotes: 2

Related Questions