I have created a Localizable.strings file in Xcode to handle translating my iOS app into several different languages. I have the following code at one point in the app:
Text("\(tasks.count) Tasks")
In other parts of the code where the string is simply "Tasks", I am able to translate this into Spanish relatively easily using the following localizable.string:
"Tasks" = "Tareas";
This does not work when I try to translate the "(tasks.count) Tasks". The 'Tasks' never gets converted. I tried the following localizable.string:
"%@ Tasks" = "%@ Tareas";
That also didn't work. Has anyone run into a similar problem? How did you fix this issue?
Thanks -