#UPDATE: Fix the logic miss on desciding the default lang.
#DELETE: Delete the redundant test codes.