Code refactoring trans fr