add dual-language support to nandroid.c