private function get_inactive_translation_service($translation_service_id)
 {
     $cache_key = $translation_service_id;
     $cache_group = 'get_inactive_translation_service';
     $cache_found = false;
     $service = wp_cache_get($cache_key, $cache_group, false, $cache_found);
     if (!$cache_found) {
         try {
             $service = TranslationProxy_Service::get_service($translation_service_id);
         } catch (TranslationProxy_Api_Error $ex) {
             $service = false;
         }
         if (!$service) {
             $service = new stdClass();
             $service->name = __('(inactive and unknown service)', 'wpml-translation-management');
         }
         wp_cache_set($cache_key, $service, $cache_group);
     }
     return $service;
 }
 private function icl_project_hash_key()
 {
     $icl_service = TranslationProxy_Service::get_service($this->get_icl_service_id());
     return TranslationProxy_Project::generate_service_index($icl_service);
 }