Romit M.
Romit M.

Reputation: 898

Update Localizable.strings file Runtime in iPhone

I want to update or replace Localizable.strings Runtime. i have .strings files on server. so if any one can update .strings files on server. then also i need to update value or replace into bundle.

or

can i read .strings file form server directly? and make all static string localized.

Upvotes: 0

Views: 1084

Answers (1)

Trausti Thor
Trausti Thor

Reputation: 3774

Sure you can. You have to roll your own.

If you look at the NSLocalizableString macro, you can make your own like :

RMLocalizableString that instead of pointing to the resources, points to a file you have downloaded in your documentation folder. But of course you have to make sure the file is actually there.

Upvotes: 1

Related Questions