This article is written with XCode & Swift in mind. With that being said, notions & ideas explored below can be applied to any programming language / IDE. I leave that part as an exercise to the reader ;)

guard let templateString = NSLocalizedString("hello", tableName: "Greetings", comment: "") else { print("Missing localization"); return }

Sounds familiar ?

Let’s face it: Localization sucks. It’s all String-based. It’s messy. And even with the best effort put into arranging your .strings files, you always end-up forgetting which key to use, or with duplicates all over the place.

Not only that, but it’s also…

Dorian Grolaux

iOS Engineer at App Annie —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store