Replace DOM with SQLite and support multi language.