file(GLOB translation_catalogs CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/*.gmo")
foreach(catalog IN LISTS translation_catalogs)
  get_filename_component(language "${catalog}" NAME_WE)
  install(FILES "${catalog}"
    DESTINATION "${CMAKE_INSTALL_LOCALEDIR}/${language}/LC_MESSAGES"
    RENAME prozgui.mo)
endforeach()
