Reputation: 164
I have my infoPlist.strings
with my localizable strings. I want to add on my info.plist
the resource I added. How do I accomplish that?
On Infoplist.strings
:
"NSAppleMusicUsageDescription" = "My description";
On Info.plist
:
NSPhotoLibraryUsageDescription - $(NSPhotoLibraryUsageDescription)
NSAppleMusicUsageDescription - $(NSAppleMusicUsageDescription)
Or changing $
for @
is not working either...
Thank you
Upvotes: 3
Views: 4273
Reputation: 476
STEP-I : On
Info.plist
put the default value
STEP-II : Create
Infoplist.strings
file and localize it to all supported languages
STEP-III : On each
Infoplist.strings
file put localized values to every key you want to localize its messages
The application uses the Info.plist key-value as a default value if it didn't find a specific language file. so, you can put English value in the Info.plist file and translate other languages in specific localizable file
Upvotes: 6