Test translation with locale given in options