def get_translation_project_dir(language, project, file_style, make_dirs=False):
 if (file_style == 'gnu'):
  return project.get_real_path()
 else:
  return get_language_dir(project, language, file_style, make_dirs)

def get_translation_project_dir ( language , project , file_style , make_dirs = False ) : if ( file_style == 'gnu' ) : return project . get_real_path ( ) else : return get_language_dir ( project , language , file_style , make_dirs )
returns the base directory containing translations files for the project .