fix yaml path issue : relative vs absolute + refactoring gettext methods