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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -