added /locale path management