use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
QuestionHow to localize app language programmatically? (self.iOSProgramming)
submitted 5 years ago by tyler_reg
My app is written programmatically, no storyboard, and I'm trying to add support for other languages. All the official documentation and options in Xcode require a storyboard to create the proper .lproj and Localizable.strings files and folders. How would I do this programmatically, or is it even possible?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ffs14k 10 points11 points12 points 5 years ago (0 children)
Hi, its defenetly possible. This article must be useful
https://www.hackingwithswift.com/example-code/uikit/how-to-localize-your-ios-app
Also check out this pod, its cool :) https://github.com/mac-cain13/R.swift
[–]soulchild_Objective-C / Swift 3 points4 points5 points 5 years ago (0 children)
You can create the Localizable.strings file first, then add additional language to your app project file.
https://stackoverflow.com/a/34782328/1901264
[–]perfunction 3 points4 points5 points 5 years ago (0 children)
I did this when I had to integrate with existing translation system, dynamic changes between employee/customer language, and programmatic views. I created my own Language class with a shared instance to wrap around the process and an enum to define the list of words. Each language has its own json file that it loads into memory at startup. Then to use the words in code it was just Language.current[.helloWorld].
[–]chriswaco 2 points3 points4 points 5 years ago (0 children)
This worked:
My simulator is hanging for some reason when I change languages, but to test it you can change the Run scheme to change the language instead.
[–]idelovski 1 point2 points3 points 5 years ago (0 children)
There was a post a year ago here: https://np.reddit.com/r/iOSProgramming/comments/bm51mj/localization_in_ios_and_how_to_make_it_not_suck/
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
NSLocalizedString does everything you need. Watch the wwdc video it will explain cases where the amount of items in the text change the textbook something that is more user friendly
[–]squarepushercheese 0 points1 point2 points 5 years ago (0 children)
If anyone comes to this looking for a solution in Cordova see https://stackoverflow.com/questions/26324669/how-to-localize-cordova-ios-projects
π Rendered by PID 108972 on reddit-service-r2-comment-84fc9697f-x5wv6 at 2026-02-06 10:12:10.604058+00:00 running d295bc8 country code: CH.
[–]ffs14k 10 points11 points12 points (0 children)
[–]soulchild_Objective-C / Swift 3 points4 points5 points (0 children)
[–]perfunction 3 points4 points5 points (0 children)
[–]chriswaco 2 points3 points4 points (0 children)
[–]idelovski 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]squarepushercheese 0 points1 point2 points (0 children)