O
O
Oleg Zhvankov2017-04-23 16:04:18
Objective-C
Oleg Zhvankov, 2017-04-23 16:04:18

How to change the language (locale) (ios(obj-c)) for a specific interface element?

Good evening, dear colleagues,
I encountered the problem of a "quick" language change for a certain interface element.
changing the locale for the entire application is understandable and feasible, advice is needed with the locale of the element.
the locales themselves are prepared and when you switch the whole app everything is ok.
thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MANIAK_dobrii, 2017-04-27
@MANIAK_dobrii

In the same way as "for the whole application" - to implement your own system of internationalization.
I don't know any officially supported ways to get into the internationalization system, only hacks. Therefore, I recommend not only not to use hacks for changing the language, but also, if it is essential to switch languages ​​from the application, to implement your own mechanisms for selecting localized resources and determining regional features. Even better, rethink the requirements and use the built-in internationalization tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question