add support for translation directory dirname instead of hardcoded "translations" to make it flexible