« first day (2225 days earlier)      last day (1758 days later) » 

05:00
Good Morning All
@Shubhank hi bro how r u ?
am good
how are you
i m also good bro
bro localization pr help chahiye thi
btao
how to implement localization
in app and without restarting the app change the app language
how are you doing currently
05:07
currently i have read some of the tutorial links
and what i did is i have created a sample project and inside that i have taken a string file
okay
then ?
"title_text" = "желанный";
in string file i written that
when i change simlator language then i m able to see
change
but i want when i click a button inside app whole language will be change?
what is the code you have written
to show title_text
self.lblTitle.text = NSLocalizedString("title_text", comment: "")
yes there is another method
NSLocalizedString in which you can pass the language key yourself
05:23
ok what is that
check the docs for the method
NSLocalizedString
 
1 hour later…
06:33
done?
 
2 hours later…
08:27
why :p
bro tell me the step by step process so that i can implement in sample POC for localization
i have to convert my app to default English,French
@Shubhank
5
A: How can I change locale programmatically with Swift

mr.boyfoxUsable code in Swift 4: extension Bundle { private static var bundle: Bundle! public static func localizedBundle() -> Bundle! { if bundle == nil { let appLang = UserDefaults.standard.string(forKey: "app_lang") ?? "ru" let path = Bundle.main.path(forResour...

ok bro let me try given link
 
2 hours later…
10:34
@Shubhankhi
11:23
hi @Venkatesh

« first day (2225 days earlier)      last day (1758 days later) »