I'm not sure of a better way to do this in a localized way, but it would be much more useful for you to write HTML in your own .html file and read the contents of this file into NSMutableStringan object when you need it.
You can do this using
+ (id)stringWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error
If you use this method, you need to call mutableCopyin the returned string so that you can replace the string later. Do not forget that with the help of a mutableCopynew object will be returned NSMutableString, for which you will be responsible for the release, when you finish with it.
Then you can use
- (NSUInteger)replaceOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSStringCompareOptions)opts range:(NSRange)searchRange
To replace placeholders with your content.
, HTML WYSIWYG IDE . , .