Two languages in sqlite database - Android -


i have simple database - 1 table 6 collumns. 3 of them want have in 2 languages.

is possible automatically ? add language prefix collumn , choose language(_en,_pl) user use ? work ?

i must have in 1 database, because copy users device.

i can' t find information it, help.

no, isn't how sqlite dbs work android's localization features. can strings.xml (for example) creating...

/res/values/strings.xml /res/values-pl/strings.xml 

...and on databases , queries work on absolute column names.

the best way of doing can think of identify local language , use abbreviation suffix or prefix when building queries etc.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -