ios - I would like to localize my constants. Constants are defined and declared the usual way: -
extern nsstring * const kstringname; nsstring * const kstringname = @"whatever...";
how make localizable? can not work...
nsstring * const kstringname = nslocalizedstring(@"whatever...", @"whatever...");
answer in question already. constant can not localized, because made constant string @ compile time.
don't use constants.
Comments
Post a Comment