autodetect translation with resource