Language settings for back Button

Hey there,

I am quite new to SwiftUI and I am currently programming an app with several NavigationLinks. The app should be in German in the end, but I have no idea how I can translate the back buttons into other languages. Can someone help?

Thank you so much!

Laurin

Answered by Dirk-FU in 769402022

This seems to be a missing translation in iOS. It started in iOS 16, was fixed in iOS 17 betas and now unfortunately returned for 17.0.

You can add a Localizable.strings file to your project containing the following text:

"Back" = "Zurück";
Accepted Answer

This seems to be a missing translation in iOS. It started in iOS 16, was fixed in iOS 17 betas and now unfortunately returned for 17.0.

You can add a Localizable.strings file to your project containing the following text:

"Back" = "Zurück";

@Dirk-FU Thanks for your answer. What do I have to put into the code that it will work?

Laurin

Language settings for back Button
 
 
Q