D
D
Dmax992020-11-20 11:46:04
Android
Dmax99, 2020-11-20 11:46:04

How to pull the category name from SQLLite in the English version of the application?

Hello!
The application pulls the name from the string in the category_name database and no matter how many translations the application has, on any translation the application takes the name from this string.
How to do it correctly, in the English version of the application, take the name from category_name_en ? Or how to do it right, I just don’t understand how it’s better with two lines or with one but ...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Ku kuruza, 2020-11-30
@kykyruza

category_name | language
------------------------------
News | en
News | en
News | ua

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question