Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reference one string from another string in Localizable.strings

Tags:

xcode

ios

I would like to reference a string from another string in my Localizable.strings file, like we do in android's strings.xml file as below

<string name="app_name">My App</string>   
<string name="activity_title">@string/app_name</string>

Any help will be greatly appreciated. I tried looking for the documentation and also stackoverflow, but couldnt get anything out of it.

like image 816
Kesava Avatar asked Sep 19 '25 12:09

Kesava


1 Answers

iOS Localizable.strings is not as flexible as Android's strings.xml. You cannot do this from plist, only from code.

like image 184
Jelly Avatar answered Sep 22 '25 11:09

Jelly