Hi everyone! I want to localize my swift application, which uses Storyboard, using String Catalogs. I have watched several tutorial videos about localization, however, it uses SwiftUI.
I have tried localizing my storyboard through .string and migrating it to String Catalogs and it worked. (Example codes are attached below)
But in the tutorials, String Catalogs extraction works when you build the project. But if you are using storyboard, I think it is not possible? or are there any other ways to extract the strings from storyboard using string catalogs directly and not using .strings and migration?
This also makes me wonder if the Vary by Plural will work with the method that I did.
Thank you so much in advance! Have a nice day ahead!
Sample Codes from .strings (storyboard):
/* Class = "UITextField"; placeholder = "Enter Password"; ObjectID = "08D-xr-4ke"; */ "08D-xr-4ke.placeholder" = "Enter Password";
/* Class = "UIButton"; configuration.title = "Login"; ObjectID = "2gQ-cX-5nH"; */ "2gQ-cX-5nH.configuration.title" = "Login";
Migrating it to String Catalogs:
key : 08D-xr-4ke.placeholder
English(en): Enter Password
comment: /* Class = "UIButton"; configuration.title = "Login"; ObjectID = "2gQ-cX-5nH"; */