SwiftUI with Localization from the start

Step 1: Add Localizations to your project info page

Step 2: Add Localizable.strings to your project

Step 3: Add locale into environment variable for ContentView()

Conclusion

References

--

--

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