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

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -