This is my dbhelper code,i created 4 different language TABLE. Can i use the localization method on this 4 table? It will be like "values, values-zh, values-hi" , once the user select the language, the TABLE will according to selected language to select table??
private static final String TABLE = "PLANT";
private static final String K_ID = "ID";
private static final String K_NAME = "NAME";
private static final String K_BEN = "BENEFIT";
//column of chinese table
private static final String TABLE_ZH = "PLANT_ZH";
private static final String K_ID_ZH = "ID_ZH";
private static final String K_NAME_ZH = "NAME_ZH";
private static final String K_BEN_ZH = "BENEFIT_ZH";
//column of india table
private static final String TABLE_HI = "PLANT_HI";
private static final String K_ID_HI = "ID_HI";
private static final String K_NAME_HI = "NAME_HI";
private static final String K_BEN_HI = "BENEFIT_HI";
//column of malay table
private static final String TABLE_MS = "PLANT_MS";
private static final String K_ID_MS = "ID_MS";
private static final String K_NAME_MS = "NAME_MS";
private static final String K_BEN_MS = "BENEFIT_MS";
Aucun commentaire:
Enregistrer un commentaire