开发者

Ignoring the users default language/locale and set an own?

开发者 https://www.devze.com 2023-01-20 02:56 出处:网络
is it possible to set a locale for the app with no regard to the users language? My motivation is that I don\'t 开发者_运维技巧want the automatically translated labels of some buttons.

is it possible to set a locale for the app with no regard to the users language? My motivation is that I don't 开发者_运维技巧want the automatically translated labels of some buttons.

Sincerely, Heinrich


Create the buttons with UIBarButton's

- (id)initWithTitle:(NSString *)title style:(UIBarButtonItemStyle)style target:(id)target action:(SEL)action

And define your own title / style to create your buttons.


If you don't want certain buttons to appear in the user's language, then do not translate the button into that language.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号