iPhoneï¼MacOSXã®ã¢ããªã±ã¼ã·ã§ã³ã¯ï¼Localizable.stringãã¡ã¤ã«ã¨ï¼APIã®NSLocalizedStrings()ã使ããã¨ã§ç°¡åã«ãã¼ã©ã¤ãºã§ããï¼ ãã¨ãã°ï¼ã½ã¼ã¹ã³ã¼ãä¸ã§ä»¥ä¸ã®ããã«æ¸ãï¼ NSString* message = NSLocalizedStrings( @"key" , @"comment" ); ãã³ãã«ã®ãªã½ã¼ã¹ãã¡ã¤ã«ã以ä¸ã®ããã«ãã¦ããï¼ --- Japanese.lproj/Localizable.strings "key" = "ãã¼"; --- English.lproj/Localizable.strings "key" = "Key"; ãããããã¨ã§ï¼å¤æ°messageã«ã¯ï¼å®è¡æã®è¨èªç°å¢ã«åºã¥ãã¦ï¼æååãå ¥åãããï¼ ã½ã¼ã¹ã³ã¼ãã3ãã¡ã¤ã«ãããã ã¨ï¼ãã®NSLocalizedStringsã®æãåºããç°¡
{{#tags}}- {{label}}
{{/tags}}