R
R
Ruslan Kochnev2017-09-28 16:04:21
Android
Ruslan Kochnev, 2017-09-28 16:04:21

How to implement a logo change when changing the language?

In general, the essence is this, there is an application in 2 languages. The language is selected from the system language, that is, if the system is Russian - the application is in Russian, in the English system - the application is in English. There is a curtain menu with a picture-logo on top. And there are 2 logo pictures, in Russian and English. How to implement a logo change in this menu to match the language?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2017-09-28
@Luc1fer99

just like string localization. drawable-ru, drawable-en.
I hope this is humanly done, out of the box, and not with crutches.

A
Alex McOwkin, 2017-09-28
@phpist85

Drive language into session or cookie.
and where the logo is displayed, do you check
echo ($lang = 'ru' ) ? 'image_en.png' : 'image_en.png' ;
as an option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question