amara2lang: refactor, let pass locale code as param