nice tutorial!! QQ: How can use this to display i18n error message? private var emailError = "error_email_required", when the error displayed it did not pickup the value? any insights?
Thanks for watching.When you declare the variable. It will treat as plain Stting. In this case you need to explicitly use localized keyword to ask compiler for localized value
This is exactly what I was looking for to build in my project. Thank you and looking forward for the part 2 of localization video 😃👍
Thanks... Part 2 is on the way. 😊
nice tutorial!! QQ: How can use this to display i18n error message? private var emailError = "error_email_required", when the error displayed it did not pickup the value? any insights?
Thanks for watching.When you declare the variable. It will treat as plain Stting. In this case you need to explicitly use localized keyword to ask compiler for localized value
@@AppDeveloperPoint how i can initialize the variable with the value from the key? thanks
private var emailError = NSLocalizedString("error_email_required", comment: "")
@@AppDeveloperPoint Thanks works like a charm!
Thanks. Do subscribe and share channel among your ios circle 😊
can we use string catelog and in app setting to change localisation?